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
Hi, Can we open a test in qtp10 which is saved in qtp 9.2?
How will you compare keyword and expert view?
what r the main attributes of test automation?
When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti
If I give some thousand tests to execute in two days what do you do?
What is recovery scenario in qtp?
Hi. I have completed B.TECH(CS) , But I will go to "SECURITY CONSOLE OPERATING" [C.C CAMERA abservation]. IF interviwer asks " Why you choose this job ?" What we will say? urgent.........................urgent...........
How will you check a web application for broken links using qtp?
What are the views available in quicktest professional?
What are some test assets and related extensions of qtp?
How you are developing the script? Using record and play back or manual?
before launching qtp, we need to close all the open browsers u dont know what are all the browsers either it might be ie,mozilla etc and u dont know how many brosers are open.... u need to close all these before launching qtp.. can anyone plz temme d solution...
can i compare two databases using QTP ?
What is the difference in testing a client-server application and a web application?
What are the main differences of qtp and win runner?