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 Posted / 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 View All Answers
hi nani my doubt is how does qtp process metrix related to software process.
What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?
Hi Friendss..., can any body help me.. 1. Tell me your achievements(Technically)..? 2. Tell me your strengths(Technically) and weakness(Technical)..? 3. Why are you looking for change..?
Can we create a qtp test from qc?
How we can import data from database?
what is profile tool?
For which type of projects the iterative model is not suitable?
What is optional step in qtp? How you can add optional step in qtp?
Brief the process of testing with UFT?
your coming from electrical backgroung..but y ur coming to software side?
The structure of keyword driven frame work is like a folder structure the different sub folder are 1-functional libray folder 2-object repository folder 3- database folder 4-appliction1.xls 5-initalzation vbs file 6-sequence file 7-driver script 8-test case list file My question is whether these are in a local server machine or in our pc.((whether It like Vss). can u give example of driver script(code)
Give the syntax to import/export xls into qtp.
1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?
What is the difference between keyword view and expert view?
what type of run time errors you get while you ar edoing rpg program?