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

i need to add 1000 users in a domain i written the script for that and it is running successfuly but the problem is that my system is not the user of that domain in which i have to add users so for adding users in that domain i have to install qtp on that another system, can anybody suggest me the way to add those users from my system ultimately i want to know how to access remote computer through script

1797


1.How do u prepare the test suits in QC? 2.How do u convert requirements to test plan in QC?

1914


Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,

1782


How is UFT 11.5 version different from UFT 12.0?

1015


What is reusable action?

1041


how to acess a test in RSA?

2177


1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?

1495


Can any suggest me what is exposure testing?

1771


How Can I find the least value in a bunch of variables using qtp.. E.g.:- A = 210, B = 212, C = 60, D = 111 I don’t want to write bunch of lines for this…. Is there a way to get the result in one line…..

2043


what is object and child object.. explain ..if possible give some example for better understanding ..

1950


In qtp, how you can remove the spaces from string?

931


Is it possible to use two instances of UFT on the same machine? If not why?

1067


how do u manipulating INI, DLL and / or registry files in support of your test environment? actually what do u mean by INI and DLL or registry files. plzzz its urgent do answer

1955


Which environments does qtp support?

1053


tell me abt a time when u had to go above &beyind the call of duty to get the job done

1893