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 |
diff between global variables and environment variables in qtp?
How many actions we can create with in a test?
What are SetToProperty, SetRoProperty, GetToProperty scripting?
we r conduction testing on a project USING QTP, regarding that project the object repository is full ? Till that project having objects that r not recognised by repository, then what wil you do? How we wil recogine remailning objects? Is it possible to maintain another shared(or)peraction repository? what is the maximum capcity of object repository? How the technical people decide this much object repository is enoughf for this project?
For ex we are doing automate testing in that can we do some part of application recording, some part descriptive programing and some part general VB scripting like that .............
i did B.Tech cse and i secured 76%. instead of siting at home ... i would like to do some course. can u suggest me in this.
How to retrieve value (data) from notepad using QTP ?
how to run the script If QTP tool not identify object in web page
how to read log file using QTP??
how can we test the Triggers, Cursors, Indexes while doing Database testing in DTP??
how to idetfy which test cases are automated?who will deside that plz tell me
i need the word "good morning" to be displayed by default whenver we click upon the blank test while opening the qtp. Could you please answer...