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.