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
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 |
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 |
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
Discuss quicktest professional environment?
What is diff. between ordinal identifier INDEX and Location?
Give the syntax to import/export xls into qtp.
What is difference between design time and run time data table?
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
How to add a runtime parameter to a datasheet?
How do u fetch data from a database ?
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
How will internal and external links be validated and updated? how often?
want to learn real time automation project(QTP)?
What is the extension for Recovery scenario?