04-09-2013, 09:53 AM
Go to File->Settings->Run and select "Run on all rows" radio button. This is the default setting though.
QTP not performing iterations based on local data sheet
|
04-09-2013, 09:53 AM
Go to File->Settings->Run and select "Run on all rows" radio button. This is the default setting though.
04-09-2013, 10:59 PM
hi Ravi,
this is just a query related to the global sheet. I have given three sets of data in the global sheet for which I need the flight application to launch with the credentials and then exit and the same action should repeat for 3 times. But when I run that the script just gets executed once. If the test runs in accordance to the number of rows in the Global Sheet then why did the test run only for 1 row?
04-10-2013, 12:08 AM
It runs according to the number of active rows because the default setting is "run on all rows".
It will not run for all rows if the default setting is altered though you have other rows active.In your case, it is probably set to "run one iteration only".Please keep me posted if it is not clear yet.
04-10-2013, 12:45 AM
hi Ravi,
Thanks for the reply. I changed the settings and made it to run on all rows. then also it is not getting executed for 3 times. do I need to change any more settings? Thanks, Mridul
04-10-2013, 06:43 AM
Could you please click on view-->Test Flow and let me know how many actions you see there? If there is more than one action, right click on the action where your code is written --->click "Action call properties" and then select "Run on all iterations" radio button.
If this doesn't help,Please attach a screen shot showing the qtp tool with test flow panel and code
11-05-2014, 12:18 PM
Instead of using the statements from recording and parameterizing them we can use descriptive programming statements
Eg :- Code: Browser("micclass:=Browser").Page("micclass:=Page").WebEdit("name:=username").Set DataTable("username", Action1)
11-09-2015, 12:45 PM
Code: DataTable.ImportSheet "C:\book.xls", "Sheet name"
01-25-2016, 03:16 PM
Hi Mridul,
Select Test Settings->Run->Run on all rows Thanks, Arun
01-25-2016, 04:32 PM
Hi Mridul,
If you have already tried the above suggested "Run on all Rows" option. Please try below code . it should work. Code: iCounter=dataTable.getsheet("Action1").getrowcount Thanks, Arun |
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Repeat iterations Until New Value Is Seen in Column1 | shayk1985 | 1 | 1,703 |
07-05-2018, 05:52 PM Last Post: Ankur |
|
UFT Datatable iterations | Studymode | 2 | 3,744 |
12-12-2017, 11:10 PM Last Post: Studymode |
|
UFT 14.01 - identifying wpf objects. but not performing action. | chinmoyee | 1 | 2,464 |
11-15-2017, 03:42 PM Last Post: Ankur |
|
Reading data from excel sheet | serenediva | 1 | 9,530 |
03-03-2017, 10:07 AM Last Post: vinod123 |
|
QTP-Re-executing script after completion of all iterations | JwalantBhatt0602 | 1 | 2,677 |
03-24-2016, 12:37 AM Last Post: JwalantBhatt0602 |