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
Explain step generator in qtp?
Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com
What is test object model in quicktest professional (qtp)?
What is the difference between run time object and test object in QTP?
How to make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?
give me the code to save all messages of inbox of gmail into a folder and notepad
1--How many functions u develop 2--What is an array 3-- where is ur server 4--U involved in unit testing 5--how ur test the background colour using QTP
How to customize qtp?
Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks
How we can import data from database?
Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project
Explain Descriptive Programming Types with Examples?
Can the user toggle between using Local OR and shared OR for the same action?
Tell some commonly used Excel VBA functions?
Is there any relation between Keyword Driven Framework and Recording modes provided in QTP( whether Recording modes are applied on keyword driven framework or not?)