Re: Create n users using UFT
I am going to prepare a script which can generate more than 100 users and now I test it using 2 users in my scripts.
I create two rows in global datasheet and put down some control parameters:
endRow = DataTable.GetRowCount /* no. of row = 2 */
For begin =1 to endRow
/* Create user according to the spreadsheet */
When I run the test script, I found that UFT did go through the spreadsheet from row 1 to 2. However, it runs again to go through the spreadsheet from row 1 to 2.
In the report, I do see two scenario and each scenario go over 2 rows.
I want to know how to control UFT to go through the spreadsheet by one time only.