简体   繁体   中英

Is it possible to link two test scripts in IBM Mobile Test Workbench

For example we have an application with a login page.
We recorded two flows: one for transaction of amount, and another for checking the account statement.

In both the flows login page is common. It will be easy if we can generate a separate test script for login and refer it in the beginning of any flow.

My question is: is there any way so that we can link or refer a test script(recording) to run with any other test script(recording)?

Yes there is a way out for this.

  1. Create a compound test
  2. Add the below scripts in a sequential order in compound test
    a. Add Login script
    b. Add Transaction amount script
    c. Add Login script
    d. Add Checking Acc statement script
  3. Create a transaction for 2a. and 2b.
  4. Create a transaction for 2c. and 2d.
  5. Run the compound test

Let's say your Login screen is changed to include new feature, you need to change only the Login script. The change is reflected in Login screen in all transactions.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM