05-17-2016, 10:48 AM
Hello
Script is like below
Window("A").WinButton("Y").Click
Dim i
For i= 1 To 16 Step 1
Window("A").Dialog(B").WinEdit("C").Set DataTable("Column1", dtLocalSheet)
wait(1)
Window("A").Dialog("B").WinEdit("C").Set DataTable("Column2", dtLocalSheet)
wait(1)
Window("A").Dialog("B").WinButton("D").Click
Next
Window("A").Dialog("B").WinButton("E").Click
In above script i am taking input from datatable and i need to take 16 entries from 16 rows.
Above script is in single action. i cant use multiple actions(i would have called mupltiple iteration for multiple action but have to use one action only)
How to make it work?
Regards
Amit
Script is like below
Window("A").WinButton("Y").Click
Dim i
For i= 1 To 16 Step 1
Window("A").Dialog(B").WinEdit("C").Set DataTable("Column1", dtLocalSheet)
wait(1)
Window("A").Dialog("B").WinEdit("C").Set DataTable("Column2", dtLocalSheet)
wait(1)
Window("A").Dialog("B").WinButton("D").Click
Next
Window("A").Dialog("B").WinButton("E").Click
In above script i am taking input from datatable and i need to take 16 entries from 16 rows.
Above script is in single action. i cant use multiple actions(i would have called mupltiple iteration for multiple action but have to use one action only)
How to make it work?
Regards
Amit