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 / shiva kumar dokka
if it is a windows based application, then it will be in
this way :
x= Window("Windowname").winedit("editboxname").Getvisibletext
msgbox x (or)
if it is webbased application then :
x =
Browser("Browsername").Page("Pagename").Webedit("Webeditboxname").GetROProperty("value")
msgbox x
| Is This Answer Correct ? | 29 Yes | 8 No |
Post New Answer View All Answers
Explain features of the latest version of qtp/ uft 12.1?
Why qtp the best testing tool?
If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?
What is the registration process and examination fees?
In QA Testing when do you use Loadrunner vs QTP? What are the main differences between those two tools? Explain the purpose with real world scenario examples...In advance thank you!!!
Explain building blocks of the bpt framework ?
Can we record an application running on a remote machine using qtp?
i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api
We stored into the objects OR and then write the scripting
in my application,validation message has in japanise language.how to validate this message is appears properly or not
What is the synchronization point in qtp?
There is an built in window application in qtp9.1,i.e.Flight4.0.i want to implement the recovery maneger on it.How can i do this?
What are the common defects found in your project? (in qtp interview)
How to use conditional loops in qtp ?
Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.