How to catch the TOol Tip Dyanamically changing values using
the qtp script by Descriptive Programming
Scenario:
========
1. when i press the submit button
2. The Tool tip first shows the value "Validating...."
3. Next the value is changed in tooltip "Logging....."
------
And the class is webElement
SO , how can i catch both values During Run time using Dp
Answer / aiswaryan
Dim tooltiparr(1)
tooltipvalue=Browser().Page().WEObject.Getroproperty
("alt")'Edit this
tooltiparr(0)=tooltipvalue
For i = 1 to 10
Do Until ObjectX.Exist(1)'Edit this
tooltipvalue=Browser().Page().WEObject.Getroproperty
("alt")'Edit this
If tooltipvalue <> tooltiparr(0) Then
tooltiparr(1)=tooltipvalue
Exit For
End If
Loop
Next
| Is This Answer Correct ? | 0 Yes | 0 No |
how to retrieve data from flight resevation->reports
HOW CAN WE GET THE VALUE OF TEXT BOX IN QTP? can you give me sample script for this where there is some condition. like if "text" THEN msgbox() else endif
Hi Guys, here I am posting one question. Wen u r working with Notepad. If it is not responding in the middle of TEst...what u will do.
Hi, I want to retrieve the cell data in the WebTable. For that I have defined a new test object under the browser and have given html tag and text as the test object properties. But while I try to identify it it says 'Object description is not unique'. I tried adding innerhtml, outerhtml, innertext and outertext along with the ordinal identifiers; but no use. What more properties need to be added to identify it? Also I want to enable smart identification for this object but the field is disabled in the object repository for this object alone(In QTP tools->object identification the enable smart identification checkbox is enabled). How do I enable it?
In qtp what type of data tables are used , name and list out them
Did you find anything in your project that QTP proved inefficient to perform?
We have 10 rows of records in data table, but we have to run 4th, 5th and 6th rows only. How can we handle this scenario in QTP?
5 Answers Accenture, Banca Sella, Polaris,
Explain about random testing of 500 test cases?
how i will connect oracle or microsoft acess database through manually written Script
What is debugging? How you debug your script?
what is risks of testing a project?
How to export quicktest professional results to an .xls file?