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.