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
what r the main attributes of test automation?
What is quicktest professional window?
Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?
Can any suggest me what is exposure testing?
Can UFT be connected to Quality Center? If ‘Yes’ brief the process or steps.
I have created 3 actions in test action1, action2, action3 but I want run action 1,action 3,action2 how can you change in the actions in keyword view?
am not having intrest in coding lang like c c++ java etc can i choose Testing tools as my carrier and please suggest me which tool is good (suitable for me)
can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?
Explain the concept of object repository & how qtp recognizes objects?
how to prepared for first for the first interview?
what type of run time errors you get while you ar edoing rpg program?
What are parameterizing tests?
What is the differences between image check point and bit map check point?
Have you faced any problems with object repository?
Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji