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

WHat is Object Identification and Object Spy?

2 Answers   IBM,


how to connect qtp to sqlserver?(if any body know about this please send mail to me:sheik_feroz5@yahoo.com)thank u

3 Answers   Honeywell,


Error handling

3 Answers   Wipro,


Hi, My application is a web application which was developed by Java. In that application we have applets to do some operations. Is it possible to recognize applets using QTP? If yes, how? pls, help me this

1 Answers  


What is the extension of the qtp local repository?

0 Answers  






anyone can explain the following concepts. 1.diff b/w Linear and modular framework 2.diff b/w keyword and hybrid framework

1 Answers  


Take a situation when you are working with QTP, suddenly system has crashed.so you again start the system. My questyion is how can QTP directly opened when the system desktop appears.

2 Answers  


Set DR= CreateObject("Mercury.DeviceReplay")

2 Answers  


Give one example of Standard checkpoint in qtp 10?

1 Answers  


Can u call winRunner scripts from QTP?

4 Answers  


Step 3&4 are repeated until an the object in recognised uniquely.

0 Answers  


Suppose there are 100 links in a web page and the number of links will be changing dynamically from time to time. I need code such that every time i had to click on the last link of the web page.

4 Answers   Virtusa,


Categories