Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
With Running Multiple Iteration and Actions
#1
Not Solved Rolleyes 
Ankur buddy,
Here is the scenario:
I have 10 Iterations from GlobalSheet with 3 Actions, but I want to run Action1 for 10 Iterations and then proceed to next 2Action for 10 Iterations from the GlobalSheet. Rolleyes Need Help Thanks in Advance..
Reply
#2
Not Solved
one way would be to make use of Local Sheet (if possible)
Reply
#3
Not Solved
Niranjan,Thanks I could not use the Local Sheet as the data set was also used by other Actions. So I did the following which act as reference for anyone else facing the same kind of problem..:

Code:
[b]Dim row_count[/b]
[b]row_count[/b] = DataTable.GetSheet("Global").GetRowCount
[b]For[/b] I = 1 to row_count
[b]SystemUtil.Run[/b] "C:\Program Files\Internet Explorer\iexplore.exe", "http://"
[b]DataTable.SetCurrentRow (I)[/b]
[b]Browser[/b]("Term Life").Page("Term Life_18").WebEdit("PayCCNumber").Set "1234567890124568"
[b]Next[/b]
[b]Browser[/b]("TD Insurance - Term Life").Page("TD Insurance - Term Life_12").Sync

The above set of code runs through the data set from Global and then moves to the next Action.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Exclamation Running test with datatable multiple times QTPuser430 1 3,892 10-18-2011, 10:55 AM
Last Post: Ankesh
  After running about 70-80 transactions QTP and the browser hangs and stops running. pram 11 10,280 08-28-2009, 06:21 PM
Last Post: basanth27
  Running QTP scripts(in batch) through Quality Center When further reusable actions ar ritugoyal 5 7,844 07-11-2009, 11:52 AM
Last Post: ritugoyal
  Call to COPY of Actions from QC8.2 (file system) to QTP 9.5 not copying the actions govqa 0 2,412 05-13-2009, 01:44 PM
Last Post: govqa
  Running multiple QTP test sets from QC lakshjai 3 7,487 12-16-2008, 11:28 PM
Last Post: JohnBoy

Forum Jump:


Users browsing this thread: 1 Guest(s)