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 |
What is the difference between browser sync and page sync in QTP?
what frame work you are following?
what is the hierarchy to use properties in descriptive programming
How do you do batch testing in QTP, if so explain?
What is the exact difference between QTP and RFT ?
what kind of frame work you used in your last project?
what are the different data driven types?
How to identify flash application when the qtp is not identifying the flash application objects.
Hi,The question is write a script for the following scenario. scenario:in a job portal i entered QTP 3yrs testing then click search button.then it displays results like Test lead bangalore (here is a checkbox). Test lead hyderabad check box so on... question is if test lead position in bangalore then checkbox shld be enabled automatically..
4 Answers Thatavarti Technologies,
how to choose the framework in qtp ? 2)when we go for the descriptive programming ?
What is error handled other than recovery scenario manager?
Explain hybrid framework with advantages and disadvantages?