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

Where we can use the synchronization?

788


I am getting the "test object property" Description properties "toolkit class" value By using "gettoproperty" in run time But my problem is how to get Ordinal Identyfier's type and value Type is index, value is 0 How can i keep this values in to required place How can i get these values in runtime I have to insert these "index" and "value" into another area Is there any script for this like "gettoproperties","Getroproperties" If anybody knows,please help me .

1962


How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?

935


How to attach a file to TD?

881


Is the qtp course will help to create a virtual object?

1729


What are the views available in quicktest professional?

801


What is action? How many types of actions are there in qtp?

865


How to find operating system information using the qtp script?

831


Explain the new feature of UFT regarding the export of test results?

800


what is the diff between manual test plan document and automation test plan doc.can u explain indetail.

1875


Explain qtp(quick test professional)?

785


Explain more about the Test Fusion Report of QTP?

807


hi all can any body explain how to write the script for finding the mandatory fields which are having [red Astrik sign (*)]

1690


Explain QTP using different development techniques ?

728


Hi iam shankar here, right now iam working on manual testing. i want to switch over automation tool qtp, right now iam taking training class outside on qtp, please let me know the cost of QTP tool for full version, wether it's an annual subscription or monthly subscription.

1963