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
Explain the check points in quicktest professional?
If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?
Can we write winrunner language i.e TSL in QTP tool?
Explain the concept of how quicktest professional (qtp) identifies object?
tell me abt a time when u had to go above &beyind the call of duty to get the job done
How to handle dynamic objects in quicktest professional?
Plz Explain AUTOMATION REFERENCE MODEL?
i can done the project with QTP in that time i can say how many members in my team size?
How do you configure QTP AND Test director?
I want to grow as a Automation Engineer,Kindly help me in clearing my interview that what interviewer looks for as a Automation Engineer. I am having three years of experience in testing.
Explain the parameter in qtp?
How the exception handling can be done using quicktest professional?
when I was doing the web testing with QTP using with standard checkpoint the Object selection -checkpoint properties dialog box not displaying pages and links hierarchical order. Could you please tell me. thanks
I want to write some certification courses, so friends could you guide me? which certification is best and how to write exam and what tutorials need to be studied,what to do first, I am working on automation tool QTP 9.2
How to build scripts that access data from external sources?