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?

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

whenever U using QTP,Test Director, Why we using separate Bug tracking tool?

1 Answers  


how to retrieve data from flight resevation->reports

2 Answers   Wipro,


How to get data from excel sheet to the script? write the script.

6 Answers   Ever, Liquid Hub,


How will you load few objects in Active Screen?

1 Answers  


How can get count of list box?

0 Answers  


Can we add the objects of an application dynamically?

2 Answers   KEN Group, LD College,


How to find operating system information using the qtp script?

0 Answers  


What is the difference between property and method?

2 Answers  


what is the Exact Meaning of Environment Variables?

2 Answers   Semantic Space,


How To write script in QTP For Field Validation Example: password Field is accepting A range 8-20 characters only.How to write script?

3 Answers  


I have 5 save buttons in 5 tabs . The tabs are placed one after the other. My object repository have these added as 5 save buttons with name sav1, save 2, save 3 , save 4, save 5 .all are getting highlighted from OR but they are not getting clicked. After spying each button all the properties are same except First button Index 0 html id:=btnSaveTab1 outerhtml:=<input id=""btnSaveTab1"" class=""Button"" onclick=""document.getElementById('a1').click();"" name=""btnSaveTab1"" value=""Save"" type=""button"">", Second button "html id:=btnSave "outerhtml:=<input id=""btnSave"" class=""Button"" onclick=""document.getElementById('a2').click();"" value=""Save"" type=""button"">", Third button "html id:=", outerhtml:=<input id=""btnSaveTab1"" class=""Button"" onclick=""document.getElementById('a1').click();"" name=""btnSaveTab Fourth button "html id:=btnSave outerhtml:=<input id=""btnSave"" class=""Button"" onclick=""document.getElementById('a2').click();"" value=""Save"" type=""button"" 5th button "html id:=", "outerhtml:=<input class=""Button"" onclick=""document.getElementById('a5').click();"" value=""Save"" type=""button"">",

0 Answers  


pls guys understand this is question CAREFULLY,,, interviwer asks can u write test case for ATM m/c..i told, insert card enter pw...like this,,but interviwer not happy with that...ur not going to atm center? in ur office system ur testing ATM M/c...why ..how to test? what is the process?

1 Answers   Accenture,


Categories