if i want to check text on the status bar how to test is
i need the report also after getting the result weather it
is matched or not?
Answer Posted / praveen
We can use getvisibletext method to capture the text on the
status bar. Store the capture text in a variable.
syntax: Variable=object type("Object Name").getvisibletext()
By using following conditional statement in the script we
can check the text and report if is success or not.
If variable= "text" Then
reporter.reportevent micpass, "Text Captured", "Same"
else
reporter.reportevent micfail, "Text Captured", "different"
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
What are the ways you can synchronize?
How do I lauch my test website using code from qtp in different environmet, uat and PPTE?
in qtp 3 sheets is there in data table like global, action1, action2. I want to check the rows and columns in action2. how can check using script?
hi i have 4 yrs exp in manual and automation testing using QTP i need sample resumes plz can u send this mail id pbre1980@gmail.com
If I am scripting Web-based Surveys using QTP that open up differently but at the exact same point require a username and password can I automate that username and password for all the surveys some how using QTP?
What is a programmatic description?
Define Canvas view of UFT?
Explain the concept of object repository and how quicktest professional recognises objects?
What is the difference between per-action and shared?
Hi. I have completed B.TECH(CS) , But I will go to "SECURITY CONSOLE OPERATING" [C.C CAMERA abservation]. IF interviwer asks " Why you choose this job ?" What we will say? urgent.........................urgent...........
Hi , I am facing issue QTP 10.0 with oracle ERP 11i .When QTP opens,click sub links on ERP ,FORM is not opening getting unexpected Internet explorer error message with send or don't send report.So unable to work with forms using QTP.
What is Port testing. Whhen will you perform?
How does qtp identify gui object?
How did you use regular expressions in QTP and also in WR?
How many types of actions are there in quicktest professional (qtp)?