please write a script to find the text in a application.
Note: i dont know the location of that text where it is
located. just like negative testing.
Answer Posted / gangadhar reddy
a=Dialog( ).GetTextLocation("OK",x1,y1,x2,y2)
msgbox a
if a=True then
msgbox "text found"
else
msgbox "text does not found "
end if
'OK=text string to be found on app
'x1,y1,x2,y2 are the coordinates
try this once you get the result
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
i need to add 1000 users in a domain i written the script for that and it is running successfuly but the problem is that my system is not the user of that domain in which i have to add users so for adding users in that domain i have to install qtp on that another system, can anybody suggest me the way to add those users from my system ultimately i want to know how to access remote computer through script
What are benefits of qtp?
How to build scripts that access data from external sources?
How to do the scripting. Are there any inbuilt functions in QTP? What is the difference between them? How to handle script issues?
What is the use of text output value in quicktest professional (qtp)?
what testplan contents and what test strategy contents,what is the diff b/w them
What is debugging? How you debug your script?
Tell me about your project? please help me how to tell about insurance project
Where can I find and view run-time data table?
PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME
how to test load test and block box testing an a web based application pls give ans briefly
what is keyword driven testing in qtp?n how is it useful?
Where should i find checkpoint and virtual objects's Object properties and values in the QTP 9.2 Means where checkpoints or virtual objects related data will store If i want to get the runtime object properties how can i use Getroproperties on Checkpoints
hi guys, pls tell me for testing institution training hub, hitech city is best or not?
What is the expert view?