Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of properties that quick test learns while recording?

1092


What are the disadvantages of recording test cases in qtp?

1083


your coming from electrical backgroung..but y ur coming to software side?

1848


What is the keyword view and expert view in qtp?

1005


Explain the qtp test phases.

1091


I have qtp 9.5 demo ver,I am not able to record the yahoo broeser.so anyone can tell me what setting i have to do in QTP for yahoo brower recording. why its not recognise the object of yahoo browser????

2764


I want to grow as a Automation Engineer,Kindly help me in clearing my interview that what interviewer looks for as a Automation Engineer. I am having three years of experience in testing.

2110


In qtp, explain what is keyword driven automation framework?

1107


If you are testing a web application then what will you test in that application?

2086


whare exactly we have to use functions and sub routain

2365


What is expert view and keyword view?

1192


How to connect the remote desktop using QTP 9.2 explain the method or procedure?

3328


How to check which add-ins are associated with a test in qtp?

1169


Name the different types of recording modes?

1074


Can we record an application running on a remote machine using qtp?

1212