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 Posted / 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 |
Post New Answer View All Answers
Can we Test Welcome Screens and Process Images with QTP
can i compare two databases using QTP ?
When QTP object wait time is 10 seconds, and in test script wait time is 5 seconds and in function library wait time is 2 seconds how much time does the wait occur? or which is given priority.
What are the factors on which script execution time is dependent?
When should I use smart identification?
Where we use data driver in qtp?
How to analyzing test results using quicktest professional (qtp)?
Explain about Test Fusion Report of QTP?
Explain the check points in quicktest professional?
For which type of projects the iterative model is not suitable?
after click on compose mail how can we attached a file in qtp with vbscript code
write script for bitmap image?
Which scripting language used by quicktest professional?
Have you used xml check point in your project?
How many types of recording facility are available in quicktest professional?