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



if i want to check text on the status bar how to test is i need the report also after getting the r..

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

if i want to check text on the status bar how to test is i need the report also after getting the r..

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

Post New Answer

More QTP Interview Questions

how do u prepare Test Environment ?

1 Answers  


what is Supplemental Objects ?

0 Answers  


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?

2 Answers  


What are SetToProperty, SetRoProperty, GetToProperty scripting?

4 Answers  


if we made any changes in shared object repository how it reflects of others like our team members?

2 Answers   CTS,


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

2 Answers  


what is aregular expression?

4 Answers   UHG,


How can we disable popup blocker?

1 Answers  


What is the script for database check point, bitmapchek point, regular expression ?

1 Answers  


Suppose i have given 10 test cases all the test cases should be automated?

3 Answers   NTT Data,


What is the extension of script and object repositary files?

2 Answers  


Categories