Can you paste the complete code. Also the for loop from you earlier was For i = 1 To 3 step 1
On Thu, Dec 5, 2013 at 5:23 PM, George Popkhadze <[email protected]>wrote: > Yes i tried everything, but no luck > > Sent from my iPhone > > On Dec 5, 2013, at 17:58, Ganesh muralidharan <[email protected]> wrote: > > did you change the script iteration settings? > > > > On Thu, Dec 5, 2013 at 4:22 PM, george <[email protected]> wrote: > >> I think we are getting closer. :) >> I tried with 3 rows first to work around. For i = 1 To 3 >> >> First time it run, question 1 was added, second time it tried to add the >> seme question so it produced duplicate error, the 3rd time it looped and >> the second row value was added, which is good. >> >> I though it would work like row 1, row 2, and 3 >> >> Now I am puzzled? >> >> >> >> >> >> On Thursday, December 5, 2013 12:39:05 PM UTC-5, Ganesh muralidharan >> wrote: >> >>> For i = 1 To 100 >>> >>> 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 >>> datatable.GetSheet ("Action1").SetCurrentRow (i) >>> Next >>> >>> >>> On Thu, Dec 5, 2013 at 11:35 AM, george <[email protected]> wrote: >>> >>>> Ganesh, >>>> >>>> I tried the following examples below, but still not picking up from row >>>> 2 and after... >>>> >>>> 1. datatable.GetSheet ("Global").SetCurrentRow (2) >>>> >>>> 2. datatable.GetSheet ("Global").SetCurrentRow (i + 1) >>>> >>>> can you send me script sample? >>>> >>>> thanks >>>> >>>> On Thursday, December 5, 2013 12:02:19 PM UTC-5, Ganesh muralidharan >>>> wrote: >>>> >>>>> [image: Inline image 1] >>>>> >>>>> >>>>> On Thu, Dec 5, 2013 at 10:48 AM, George Popkhadze >>>>> <[email protected]>wrote: >>>>> >>>>>> 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/to >>>>>>> pic/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. >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> 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 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. > -- 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.
