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 |
Explain object spy in qtp.
Tell me the difference between the Data Driven Frame work and Keyword Driven frame work?
There is an excel file of 1 to 100 sheets how you will iterate through it?
How can I use the value retrieved by OUTPUT VALUE check point as Input for other Actions?
Did the scripts need lot of maintenance? If yes, why?
When u r running a script , if u get a popup window that describing that u have received a mail to your outlook application. so to avoid the interference of the popup window , which recovery scenario(popup,object state,application hang,system crash) would u use ?
What test cases can you automate using QTP?
What is meant by virtual obj and Y do v need virtual obj configuration.
Can we test the Word Document using QTP Tool? We should test the page size,page set up, paragraph indentation and spacing, font size of the the character int the page.
UFT 12.02 which ALM version will support
What is creation time property and how does it work?
If the object property is changing very frequently, what was your approach?