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 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 are able to 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 . 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 using the Int4 IFTT test case execution API wrapper.

...

  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 from for which test cases should be executed.

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

    • Test Run Name - an  an optional Test Run Name , so helps you can 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 deferent 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 in order to execute all the the testcases 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 . 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 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”. On this optional screen you You will find all the important essential test execution information that you populated on in the previous step on this optional screen. (please 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. After you are done you just Later, execute the wrapper once more , time by hitting hitting F8 the or the execute button on  on the screen.

  5. Last but not least, after 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 on of the execution of test cases execution.

...

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