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
how to create flat file datasubmission in qtp
What is the difference between a Function and Action in QTP?
If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?
Suggest and Define a solution for an application whose objects are not recognized by UFT?
Brief the process of testing with UFT?
How to test the login page in different ways in automation testing and i need code?
Whether qtp 9.0 supports Test director8.0
I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.
Will down time for server and content maintenance/upgrades be allowed? how much?
How will you test a stapler?
please give me the code for doing retesting of gmail login page using functions so the function has to give the value
How to import a test case present in ".xls" file to TD under a Test set?
any body plz send health care domain project to me with explanation any two modules on that project. mail_id: ranjith_99reddy@yahoo.co.in
How to Test the mainframe application?
I am sathish , i want to test the Application of JIL.org ,Mobile Emulator ,by using QTP10.0. I am trying to do testing on that Application , but Child Objects are not identified by the QTP. Please can any one help me