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