If your script iteration settings is set for run on each row it should be automatically moving to each rows data. If that is not working setcurrentrow can be used. You can check in qtp help for the syntax.
On Sun, Nov 24, 2013 at 11:39 AM, george p <[email protected]> wrote: > Thanks Again, Ganesh. > Now that i have created form by using value from QTP datasheet, how can I > repeat this several times with different values for form names? > > .WebEdit("name:=name", "index:=0").Set datatable.Value ("ColumnName", > "Global") > > > please show me this with the script if you can > > thanks > > On Saturday, November 23, 2013 6:03:49 PM UTC-5, Ganesh muralidharan wrote: > >> Use the Datatable.value syntax and choose which column and which data to >> pick, >> >> >> On Sat, Nov 23, 2013 at 3:11 PM, george p <[email protected]> wrote: >> >>> QTP setting already set to run on all rows >>> >>> My datasheet has values in 3 rows for first column. >>> >>> now how can i tell QTP to take data from action or global sheet? >>> >>> Normally for recorded script, i used to parametrize this step in keyword >>> view, but my keyword view shows a Statement for setting FORM name >>> and i cant parametrize that. >>> >>> >>> On Saturday, November 23, 2013 3:16:11 PM UTC-5, Ganesh muralidharan >>> wrote: >>> >>>> If you datasheet contains the data for each iteration then you could >>>> change qtp settings to run on all rows. >>>> >>>> >>>> On Sat, Nov 23, 2013 at 2:03 PM, george p <[email protected]> wrote: >>>> >>>>> >>>>> Hi guys, >>>>> >>>>> I have the script that creates the form and displays successful >>>>> message. >>>>> >>>>> '_______________________________________________________ >>>>> >>>>> with Browser("title:=.*").Page("title:=.*") >>>>> .link("name:=formmanager", "index:=1").click >>>>> .link("text:=Select a Study","index:=0").Click >>>>> .link("name:=01 - STUDY", "index:=0").Click >>>>> .link("name:=Manage Forms").click >>>>> .link("name:=Create Form").click >>>>> >>>>> .WebEdit("name:=form name", "index:=0").Set "FormTitle" >>>>> >>>>> .WebEdit("name:=description", "index:=0").set "FormDescription" >>>>> >>>>> .webbutton("name:=Save").click >>>>> >>>>> End with >>>>> >>>>> >>>>> With Browser("title:=.*").Page("title:=.*") >>>>> If .WebElement("innertext:=.*has been added successfully\.*", >>>>> "index:=1").Exist(5) Then >>>>> Reporter.ReportEvent micPass, "Yes", "The Form has been >>>>> created on PROFORMS study" >>>>> Else >>>>> .link("name:=Dashboard").Click >>>>> msgbox "The Form is not created" >>>>> End If >>>>> End With >>>>> '_________________________________________________ >>>>> >>>>> Now I want to loop this several times by using global or action sheet. >>>>> Form name will be provided from the qtp datasheet >>>>> I dont have object repository and want to do this with only >>>>> descriptive programing. >>>>> >>>>> please advice or send a scipt. >>>>> >>>>> Thanks >>>>> >>>>> -- >>>>> -- >>>>> 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 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.
