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

1 Folders in VSS 2 In navigation script there are 100 script i want to run first 50 and 37th script also not needed to run how to do this 3 What is navigation script,Driver script, business script what we are loaded in this script 4 use of resource tab 5 Difference between verification and validation give real scenario example 6 file scripting object when to use it 7 what are the problems you are faced while testing web application 8 difference between expert view and keyword view 9 difference between QTP 8.2 and QTP 9.2 navigation frame work please answer these questions from real time working people as early as possible

0 Answers  


Discuss quicktest professional environment?

0 Answers  


What is diff. between ordinal identifier INDEX and Location?

3 Answers  


Give the syntax to import/export xls into qtp.

0 Answers  


What is difference between design time and run time data table?

0 Answers  


How can i count "spaces" in any sentence or a string if suppose " It is a Testing question" Here we have 4 gaps(spaces) Is there any function to find out spaces between words

5 Answers   iGate, Livetek,


How to add a runtime parameter to a datasheet?

1 Answers   Crea,


How do u fetch data from a database ?

2 Answers  


i have written some lines of code today..tommorow some lines of code deleted in middle of that code..how to handle this type of script

1 Answers  


How will internal and external links be validated and updated? how often?

0 Answers  


want to learn real time automation project(QTP)?

1 Answers  


What is the extension for Recovery scenario?

2 Answers  


Categories