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 |
What is Data driven Testing Frame work.Anybody can expain it in Detail.. Pls anybody can give the answer.. Thanks in advance...
write a script for get the following result: username password frm the string1="A=username" string2="B=password"
When we r doing data driven test with chkpts, i want to insert formulae in data sheet but i didn't get. How we wil do that plz. explain in detail.
How to find a window is minimized or not
What are the limitations in using Virtual objects?
What is All object and Local object in Object Repositary? Explain me please.
what is difference between normal mode and fast mode?
Give a comment on Regular Expressions using QTP?
Consider a scenario where there are two action sheets say action 1 and action 2. Can Action 1 take values from action 2 data sheet or vice versa. If so, how?
How many types of recording facility are available in quicktest professional?
what is the script(qtp) to export and import the datas from MSaccess to Excel sheet.if anybody know plz tell me.
Where to use function or action?