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 are the key points to create a framework in QTP for oracle forms?
write the vb script for call to new action in qtp?
Hi. plz expalin abouit SetToProperty, SetRoProperty, GetToProperty, GetRoProperty,GetToPrperties. with examples.
How can i initiate the objects to find uniquely in OR
What are Child Objects?
I have made the recovery scenario in script. When i am exceuting the script. it stop automatically after running recovery scenario. Please tell the resaon?
I m in new and want to learn QTP. Is any website which provide free QTP video training.....also can downlaod....
Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?
Define virtual object?
1.How do u prepare the test suits in QC? 2.How do u convert requirements to test plan in QC?
Few basic questions on commonly used Excel VBA functions.
can anyone answer this question ........in the DICTIONARY OBJECT....i created the dictionary object in reserved object ok....here i have some sets of values ...now i want to retrieve the item i done too ok.......here my question is now i saved the test and close the qtp tool ,again i opened now i retrieve the same item in the dictionary is it possible ????. friends when i try to do this i am getting empty message box i mean no value will be retrieved ......ans me any one plz...