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



How to catch the TOol Tip Dyanamically changing values using the qtp script by Descriptive Programm..

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

Post New Answer

More QTP Interview Questions

CAn anybody tell me how can I use QTP to capture any video in my application?I want to see the video file opened in my application after the tests are completed in tests results.Can anybody help me?

6 Answers  


hi i need to learn qtp its very urgent..pls tell me who is the best faculty for qtp in hyd..... and i plan to go foe mindq nageshwar rao? its good or not?

2 Answers  


How Can I automate PDF forms using QTP9.2 ?

0 Answers  


What is meant by virtual obj and Y do v need virtual obj configuration.

4 Answers  


what is web application and client server application.is there any difference ?

1 Answers   Wells Fargo,






How to import a test case present in ".xls" file to TD under a Test set?

0 Answers  


Does QTP is "Unicode" compatible?

4 Answers  


Is any limitation to xml checkpoints?

0 Answers  


By default Action1 runs first in QTP. Is it possible to start the run with Action2?

9 Answers   Virtusa,


How you can decide which type of object repository you have to use?

0 Answers  


How many ways to configure the application in QTP,Explain

2 Answers   CTS,


HOW AND WHY TO CREATE EMPTY OBJECT IN QTP?

2 Answers   Patni,


Categories