Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

There are some cases in test integration where some tools are not able to 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 are able to 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 how to use the Int4 IFTT test case execution API wrapper.

Step by step

  1. Run the transaction /INT4/IFTT_RUN_API_WRAP.

    Int4 IFTT Test Case Execution API Wrapper

    On the selection screen you have the following fields:

    • Scenario ID - you can provide multiple Scenario IDs from 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, so you can identify your test execution

    • 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 deferent environment than specified at folder or test case level

    • Include Subfolder - when using the wrapper by Scenario ID you can also mark this checkbox in order to execute all the the testcases 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 execute immediately the test cases or in case of the “Use Container“ checkbox selection an additional screen for Container population will open.

  3. Optional step “Container”. On this optional screen you will find all the important test execution information that you populated on the previous step (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 Variables with Values for distinct Test Case IDs.

    Int4 IFTT Test Case Execution API Wrapper - Container

  4. After you are done you just execute the wrapper once more, by hitting F8 the execute button on the screen.

  5. Last but not least, 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

Int4 IFTT Test Case Execution API Wrapper - Results

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

Int4 IFTT Test Execution Report