how to test background color and dynamic images during

runtime

Answers were Sorted based on User's Feedback



how to test background color and dynamic images during runtime..

Answer / 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

how to test background color and dynamic images during runtime..

Answer / sreeprasad

It is possible only in web applications only.by using check

points we have to test the back ground colour and dynamic

images.

for eg: Yahoomail page

back ground colour is blue

Is This Answer Correct ?    1 Yes 1 No

how to test background color and dynamic images during runtime..

Answer / akshar jain

hi sreeprasad can u send s acript for the samea

Is This Answer Correct ?    0 Yes 0 No

how to test background color and dynamic images during runtime..

Answer / satya

var=browser("gamil").page("gmail").image("tom and
jerry").get ro property("color")
msgbox var

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More QTP Interview Questions

how can you describe the basic flow of automation with conditional and programmatic logic?

1 Answers   Ordain Solutions,


How i can use Regular expression in QTP?give detailed steps for it.

2 Answers  


Explain how qtp identifies objects?

0 Answers  


Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?

0 Answers  


how to retrieve the xml file data through qtp. can anybody send script for this..

3 Answers   Synechron,






Give answer with example what is orthogonal array testing technique?

1 Answers   CTS, Wipro,


how will you check how many members visited the website www.infosys.com?

0 Answers   Logica CMG,


How to retrieve the property of an object in QTP?

5 Answers  


How iteration is related to Test Results in QTP?

1 Answers  


If u prepare bug report in Excel sheet . Is it possible to send thrw Test director? how it is?

3 Answers   Wipro,


Plz explain about object propeties in object identification? means.. explain about 1. mandatory properties.2. assestive properties 3. ordinal properties.

3 Answers   TCS,


Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)

0 Answers   Autodesk, EDS, Wipro,


Categories