HOW CAN WE GET THE VALUE OF TEXT BOX IN QTP? can you give me
sample script for this where there is some condition. like
if "text" THEN msgbox() else endif
Answer Posted / a.thirumalareddy@gmail.com
systemutil.Run "iexplore.exe", "newtours.demoaut.com"
getValue=Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").WebEdit("userName").GetROProperty("name")
msgbox getValue
If name<>userName Then
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").WebEdit("userName").Set "thirumala"
Else
Reporter.ReportEvent micfail, "check edit box existancy", "Edit box is not existed"
End If
| Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
How you debug your script?
if anyone has idea of the interview procedure in covansys, plz send me a mail?
Explain different checkpoints in qtp.
how to post xml data from QTP scripts to any application?
what is ODC and GDC?
I used child objects to get the no of weblist present in the weblist.now i need to select the items present in each weblist ?How to do so
Hi friends did any budy attend accenture system test for qtp? if any budy pls drop questions.not only accenture any other mnc company which you attended system test(QTP)?it may helpful to others also
Explain the concept of how quicktest professional (qtp) identifies object?
How to break the object spy ?
i need qtp tutorial. pls send it to sridhar.k151@g mail.com
What are the types of data tables in qtp?
How did you use regular expressions in QTP and also in WR?
Is it possible to use two instances of UFT on the same machine? If not why?
Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??
Explain the concept of how quicktest professional identifies object?