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
Explain about the quicktest professional (qtp) automation object model?
Explain xml checkpoints.
when a test case is written how u test using qtp
What is the syntax for how to call one script from another?
Hai anyone please "Explain about Framework in QTP?"
Can we access the java methods in qtp. Because my requirement is to access the swt(for eclipse an it is java code) methods in qtp is it possible?
How we can import data from database?
How to write business scripts using object repository with different scenarios
hi frinds i need help .i have 4 + yrs exp in testing and nearly 2 yrs exp in QTP and QC .currently iam working north fast 2 yrs iam looking for job in south is there any openings plz letme know my mail id is pbre1980@gmail.com
What are the types of object repositories? Which one is you are using?
can i compare two databases using QTP ?
how can we do the frame work in qtp
i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com
If the objects hierarchy is changing from build to build, then how you will handle that condition?
1.Write a CRITICAL test cases for calculator ? 2.What is the difference b/w FRS and SRS documents ? 3.What is Component ? 4.What is object ? 5.what is the difference b/w static and dynamic descriptive programming ?