Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Iterating, DataTable
#4
Not Solved
Hi Ankur,
Ok sorry for not being clear. I am doing regression testing on 4 urls and I have several actions in my test suite. And I use this peace of code in the Driver action:

Code:
' Driver action(Local sheet)  has 4 urls, IE are started 4 times and all actions are performed 4 times
SystemUtil.Run "iexplore",DataTable("FEs",dtLocalSheet)


The Driver sheet in the Datatable has 4 rows with different urls. So because of the code above tests are being iterated 4 times. My dilemma is that I want to perform one step say MsgBox "Hi welcome ...." only in the first iteration. But now any new steps or actions I put in any were are being executed 4 times. I hope this is relevantly clear Big Grin

Btw. why doesn't the <code> tag work Sad

Regards,
Mukesh L.

Hi Rajeshwar,

Yes I have it on "Run on all rows", and that Runaction seems to be the solution to my dilemma. I will try it out and update the result here. Thanks for the help Wink

Regards,
Mukesh L.
Reply


Messages In This Thread
Iterating, DataTable - by Mukesh.Laxmidhar - 11-11-2010, 02:28 PM
RE: Iterating, DataTable - by A.Saini - 11-11-2010, 06:26 PM
RE: Iterating, DataTable - by Mukesh.Laxmidhar - 11-12-2010, 01:49 PM
RE: Iterating, DataTable - by rajeshwar - 11-11-2010, 10:28 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)