how to test background color and dynamic images during
runtime
Answer Posted / gom
For Web Appln:
Set Search = Browser("name:=.*").Page
("title:=.*").WebElement("innertext:=.*","Index:=1")
Set obj = Search.Object
BgColor = obj.currentStyle.backgroundColor
If BgColor <> "" Then
Msgbox "Pass"
Else
Msgbox "Fail"
End If
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
QTP 10.0 is not identifying web objects for IE 8.it is identifying like winObject.I installed HP patch QTPWEB_00037.Still getting issue
Hi, how can we check or avoid the memory leakage in QTP9.2?
What is the difference between the keyword view and expert view?
What is difference between shared and local object repository?
How you can make an action as re-usable action?
How to carry out bit map check points in QTP
How to save your test using quicktest professional (qtp)?
Explain measuring transaction.
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object.. (give a filter condition only WEbelement- not easy need to use some more property while giving filter condtions- use google for your help...))
write a script to verify the image path(src property) of the images which are in web pages.
When should I use smart identification?
How do know the number of browsers opened?
How to remove associated function library?
in qtp 3 sheets is there in data table like global, action1, action2. I want to check the rows and columns in action2. how can check using script?
Where we use data driver in qtp?