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 to open a new test using QTP?

1 Answers  


How to take screenshots in qtp?

2 Answers   Sonata,


Does QTP work in UNIX environment

5 Answers   BirlaSoft, C1 India,


Is it possible to run qtp scripts in Test Director(Scripts are uploaded in Test director)???and also how to see the test results in test director???

1 Answers  


how do u prepare Test Environment ?

1 Answers  


what is difference between calling a function and reusing an action?

1 Answers  


Give me diffrent script in QTP for Webpage(Java and .Net),WindowsBased Applications,Java application,.Net application...

2 Answers   TCS, Virtusa,


Have you faced any problems with object repository?

0 Answers  


What is Curd testing?

0 Answers   Wipro,


What is Associate Repository in QTP 9.2 ?

0 Answers  


actually how many hours per one day we will work on automation(qtp) in real time

1 Answers   Synechron,


How to check and display a particular word from a paragraph?

1 Answers  


Categories