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 |
How can we export test results to an excel sheet in QTP??? Can any one provide sample coding for this?????
what is descriptive programming?
how to reverse a string with out using string or predefined function,ex:string is " i love india". the output should be like this "i evol aidni"
10 Answers Aspire, MNC, Omega,
How would you export a script from one pc to another in qtp?
Hi, i have a string like "INDIA". I need to display this string vertically in Msgbox?
how to calculate no. of repeating characters in a a string..please give me the code
How can we import into Excel "Details" ,"Result" ,"Time" parameters from within a Results Report which is generated after a Run error when a script is executed in QTP? Refer E.g below Status Functionality Description RunDate Fail Login User should be able to Login 12/3/2007 StartTime EndTime Details* 1:31:58 PM 1:32:29 PM (this one i want)
hi what is the use of "dim" in automation objective model or any where what is the use of "dim" plz tell me
scalability testing comes under in which tool?
can objects recogonised without repository?
What is time parameter?
actually how many hours per one day we will work on automation(qtp) in real time