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 how you can find the absolute value of the number in qtp?
Hi ,Can any one pleas explain how to test splash objects using QTP?
how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods
1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?
How to create Reusable and Multiple Actions?
how could i download qtp in which i get add-in support for 'oracle' is there any way to get it? i finding but not getting pls help me out :)
How many types of Automation frameworks are there in UFT? Describe them.
What are the different types of recovery operation?
i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?
What ate the Technologies supported by QTP?
Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji
What is the difference between local and shared object repository in qtp?
What is QTP and the use of QTP in TD?
you are recording on "WINDOW 1", say it has a link if you click on that, that leads you to "WINDOW 2". If you do any manipulations on "WINDOW 2" that are automatically updated in to "WINDOW 1". But "WINDOW 1" is currently invisible. But the updations in "WINDOW 1" must also be recorded as a script in QTP. The best Example is if you update your resume in JOB STREET portal it actually happens in other window, but the previous window is automatically updated. Now does QTP help you in this types of situations? Any body can answer this question. please..... Siva
Have you faced any problems with object repository?