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 / gavaskar reddy
a=inputbox("text")
msgbox a
if (a=true) then
msgbox "pass"
else
msgbox "fail"
| Is This Answer Correct ? | 4 Yes | 11 No |
Post New Answer View All Answers
what is command for executing files?
If I change the property value at runtime is it effect is object repository?
What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.
How to use the object spy in quicktest professional (qtp) 8.0 version?
Hi, I am using OutputCheckPoint and I am storing the value in the data table. The stored value for column:bedroom:"Bed:4" The another value for column:bathroom:"Bath:2 Full,1 Partial" I need only the no 4 from the first column. I need only the no 2,1 from the second column. I used split array,but it also show array(0) has the value"bed:4" ..... Even though I highlight only 4,It is seleting the full value "bed 4".How can I get only the nos Thank you Uma
how to find that a file has been completely downloaded or not? I told that "download Complete" pop up. but he told the tool doesn't recognize the pop up
How can i get the image text that changes dynamically? Here i have used "GetROProperty", but it's not working. I used like Ex:Browser("webmail").Page("inbox").image ("captchaimage).getroproperty("innertext/text/value")
What is action?
How to test fly out menu in qtp?
What is the difference in testing a client-server application and a web application?
In qtp is it possible to check broken links of a page?
Explain how qtp identifies object?
How to analyzing test results using quicktest professional (qtp)?
What are some test assets and related extensions of qtp?
Shall we add Local Repository to shared object repository,if yes,how we add