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
Describe function procedure in vbscript.
Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..
How to Upgrade or support firefox 2.0 version on QTP 9.0? I have installed QTP 9.0 and installed firefox 2.0. But in REcord and Run Settings, it shows firefox 1.5 in Web tab for browser selection.
What are the recording modes in qtp?
Is it possible to call win runner script in qtp?
who QTP recognizes the object stored in object repository?
How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?
How can you close the second opened browser?
How will you declare a variable in qtp?
To retrive the test data which tool vl use and whats basis u vl write test data? its urgent
How to do the scripting. Are there any inbuilt functions in QTP? What is the difference between them? How to handle script issues?
What do you mean by iteration?
What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz
How can you send user defined messages to test report?
hi i have completed my b.tech in cse stream. now i am working in an organisation in testing department. i want do sap course but i dnt know which module will boost my career can anyone suggest me which is good for my career