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?
Answers were Sorted based on User's Feedback
Answer / chsn
Use getroproperty to get text of the status bar
Use reportevent to report the text
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / 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 |
Plz give the vb script for the following scenerio I have faced one issues while doing test in QTP. I have described the scenario below. 1. I have to test web application.In that i want to select from the drop down values in the application. 2. Suppose Drop down has 5 value "A,B,C,D,E".I would like to give value from data table of QTP. 3. For every iliteration it should select A,then B and so on
How to do the scripting. Is there any inbuilt functions in QTP as in QTP-S. Whatz the difference between them? how to handle script issues?
What environment does qtp run in?
What is diff between SDLC AND STLC?
How to add a page checkpoint to your test?
How many types of recording facility are available in quicktest professional (qtp)?
can we use QTP for load testing instead of load runner?
does qtp runs on internet explorer 7.0
what is difference between analog and low level recording
Please give me the steps to carry out datadriven in QTP8.2
Please explain how to open with notepad of saved html file by right click option using QTP
which is the easiest way you can send the QTP test results to Client if he want to see the screenshots when the results are failed?