Quantcast
Channel: Micro Focus QTP (UFT) Forums - All Forums
Viewing all articles
Browse latest Browse all 1653

Loops in actions

$
0
0
I searched but could not find a simple solution.
The question is this,

I want to loop after the logon an action until the datasheet is all done. So once logon en then do some steps over and over again.

Code:
Wait (8)
Logon action
Wait (2)

Dim record_count
record_count = DataTable.GetSheet("Action1").GetRowCount
For i = 1 to  record_count
DataTable.GetSheet("Action1").SetNextRow

here are my actions

NEXT

If i run it is will redo the whole action with logging in... It needs to loop only the action after logging in

Viewing all articles
Browse latest Browse all 1653

Trending Articles