You mean in the settings or in the script? How do I do that?
On Thu, Dec 5, 2013 at 10:03 AM, Ganesh muralidharan <[email protected]>wrote: > Try with setcurrentrow then the script should loop through each row. > > > On Wed, Dec 4, 2013 at 7:58 PM, george <[email protected]> wrote: > >> Ganesh, >> No i have 100 rows of data.Example: >> >> questionName >> question_1 >> question_2 >> question_3.... >> >> when script runs, only question_1 added; >> script is not getting row 2 data for question_2, 3 and etc.... >> >> >> >> >> On Wednesday, December 4, 2013 5:26:21 PM UTC-5, Ganesh muralidharan >> wrote: >> >>> Does your global sheet contain only 1 row? >>> >>> >>> On Wed, Dec 4, 2013 at 4:02 PM, george <[email protected]> wrote: >>> >>>> Ok Guys, >>>> >>>> I am facing another chalange and need your help. >>>> Like i said before, i have application that creates form, adds >>>> section(s) and creates/adds question(s) to this sections of the form. >>>> >>>> My goal is to create One Form with 1 section and 100 questions to start >>>> with. >>>> Question name needs to be unique and I am using datable from action >>>> sheet which has 100 rows of data. >>>> But QTP only runs one row and stops >>>> I need to continue on all rows. >>>> I tried Settings>Run>Run on All Rows and Run from row 1 to row 100, but >>>> it still stops >>>> >>>> Her eis the sample. >>>> Please send me the script solution: >>>> >>>> thanks so much >>>> >>>> >>>> '***********************adding a question**************** >>>> For i = 1 To 100 Step 1 >>>> >>>> With Browser("name:=.*").Page("title:=.*") >>>> >>>> >>>> .webbutton("name:=Add Question", "index:=0").click >>>> .webedit("name:=questionName", "index:=1").Set datatable.Value ( >>>> "questionName","Action1") '(Unique) >>>> .webedit("name:=questiontext").Set "question description" '(not Unique) >>>> .webbutton("name:=Add","index:=1").click >>>> msgbox "question is added" >>>> >>>> End with >>>> >>>> Next >>>> >>>> >>>> -- >>>> -- >>>> You received this message because you are subscribed to the Google >>>> "QTP - HP Quick Test Professional - Automated Software Testing" >>>> group. >>>> To post to this group, send email to [email protected] >>>> >>>> To unsubscribe from this group, send email to >>>> [email protected] >>>> >>>> For more options, visit this group at >>>> http://groups.google.com/group/MercuryQTP?hl=en >>>> >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "QTP - HP Quick Test Professional - Automated Software Testing" >>>> group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> >>>> For more options, visit https://groups.google.com/groups/opt_out. >>>> >>> >>> >>> >>> -- >>> Regards, >>> >>> >>> Ganesh Muralidharan >>> 'God Never Forgets' >>> >> -- >> -- >> You received this message because you are subscribed to the Google >> "QTP - HP Quick Test Professional - Automated Software Testing" >> group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/MercuryQTP?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "QTP - HP Quick Test Professional - Automated Software Testing" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> >> For more options, visit https://groups.google.com/groups/opt_out. >> > > > > -- > Regards, > > > Ganesh Muralidharan > 'God Never Forgets' > > -- > -- > You received this message because you are subscribed to the Google > "QTP - HP Quick Test Professional - Automated Software Testing" > group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/MercuryQTP?hl=en > > --- > You received this message because you are subscribed to a topic in the > Google Groups "QTP - HP Quick Test Professional - Automated Software > Testing" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/mercuryqtp/yA_t3DTNGzM/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups "QTP - HP Quick Test Professional - Automated Software Testing" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
