Document toolboxDocument toolbox

Screen wrapper for the Int4 Suite test case execution API

There are some cases in test integration where some tools cannot use APIs for test case execution (e.g., Worksoft). For that reason, the Int4 IFTT wrapper for test case API execution has been implemented. Using this wrapper, you can execute multiple test cases at once, based on test case IDs or scenario IDs.
Please note that the purpose of creating this wrapper was the automation of test case execution. That means that you can record the execution of the wrapper and then re-run it by a robot autonomously.


Please find below a detailed step-by-step instruction on using the Int4 IFTT test case execution API wrapper.

Step by step

  1. Run the transaction /INT4/IFTT_RUN_API_WRAP.

    On the selection screen, you have the following fields:

    • Scenario ID - you can provide multiple Scenario IDs for which test cases should be executed.

    • Test Case ID - you can provide multiple Test Case IDs to be executed.

    • Test Run Name -  an optional Test Run Name helps you to identify your test execution.

    • Merge with existing test run - you can merge execution results with existing test run ( identified by Test Run Name).

    • Test Run Date - additional parameter for test run date determination.

    • Test Run Time - additional parameter for test run time determination.

    • Environment - in case you want to execute the test cases on a different environment than specified at folder or test case level.

    • Include Subfolder - when using the wrapper by Scenario ID, you can also mark this checkbox to execute all the test cases under the subfolders of the specified Scenario IDs.

    • Use Container - selecting this checkbox allows you to populate a list of Variables with Values for any wanted test cases. The Container population will open once you execute the wrapper.

  2. Once you have populated the selection screen, you can execute the wrapper. Based on your selections, the wrapper will run the test cases immediately, or, in the case of the “Use Container“ checkbox selection, an additional screen for the Container population will open.

  3. Optional step “Container”. You will find all the essential test execution information you populated in the previous step on this optional screen. (Please note that for Scenarios and Test cases, only a single value is displayed on this screen). You can insert any number of needed rows to the Container table, specifying a list of specifying a list of Variables with Values for distinct Test Case IDs.

    Int4 IFTT Test Case Execution API Wrapper - Container

     

  4. Later, execute the wrapper once more time by hitting F8 or the execute button on the screen.

  5. After the test execution finishes you get a Results report with the following information.

    • Total number of test cases

    • Number of Passed test cases

    • Number of Failed test cases

    • Test run report link

You can always use the Test run report link to get a detailed view of the execution of test cases.

Please note that the Execution date and time are based on the additional parameters populated on the wrapper selection screen.

© 2017 - 2022 Int4 AG All rights reserved