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 |
how do u prepare Test Environment ?
what is Supplemental Objects ?
How many types of Recordings are there in QTP and what are they?
7 Answers Dangote, First Indian Corporation,
what is the difference between link and hyperlink?
What are SetToProperty, SetRoProperty, GetToProperty scripting?
if we made any changes in shared object repository how it reflects of others like our team members?
Write code for ,We have a web table with rows and columns like EmpID EName Action 1 ABC Edit Delete 2 XYZ Edit Delete 3 PQR Edit Delete In the above Table the last column has two links we have to click first link based up on EmpID =2
what is aregular expression?
How can we disable popup blocker?
What is the script for database check point, bitmapchek point, regular expression ?
Suppose i have given 10 test cases all the test cases should be automated?
What is the extension of script and object repositary files?