Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to run multiple iterations only on a set of lines in script
#1
Not Solved
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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Test Set Run automatically Santhosh311 0 2,425 04-14-2016, 06:06 PM
Last Post: Santhosh311
  Comapre txt file with different number of lines anushreebehura 0 1,740 06-02-2015, 06:28 PM
Last Post: anushreebehura
  Script required to run any app as administrator kalyan_srirangam 0 2,628 09-02-2013, 08:18 PM
Last Post: kalyan_srirangam
  Dynamically run QTP script on multiple servers arpan 8 7,049 06-21-2013, 06:34 PM
Last Post: arpan
MyBB Spliting multiple lines cherrycheran 4 3,468 04-11-2013, 09:54 PM
Last Post: v4victory

Forum Jump:


Users browsing this thread: 1 Guest(s)