Follow Our FB Page << >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

how to test background color and dynamic images during


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
Set obj = Search.Object
BgColor = obj.currentStyle.backgroundColor
If BgColor <> "" Then
Msgbox "Pass"
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 using check

points we have to test the back ground colour and dynamic


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

Hi Every body please explain me in steps to use checkpoints and object Repositories in QTP for Flight Reservation application please tell me the steps for this its urgent pls thanx for urs answers

0 Answers  

write a qtp script to see time in windows command prompt? its urgent....

9 Answers   BSL,

It seems Interview questions from Ordain Solutions are almost BASIC LEVEL-Easy. I am asking one tough question..(I think.. May be easy for some people) In recorded script the - WebLink("cityinfo") In reality, the WebLink name is "generalinfo" How you can write function to click that changed web link. NOTE: This functin should work with any Dynamic text link. I will post the answer later.

8 Answers  

Are You using any frame work? What is that? Explain about that.

4 Answers   Wipro,

for example one window is there, the window contains how many edit box's i want script? i know the script but that is not exact answer.... The script is like this .......... set a=description.creation() a("Native class")="WinEdit" b=window("Flight Reservation").childobject(a).count msgbox b if u found exact answer please getback to me? 9823257761

1 Answers  

What is qtp window?

0 Answers  

one screen page,that contains file , browse , update and cancel buttons.when we browse a file it should get update otherwise it should go to previous page.write negative test case for that.

0 Answers   Mindlance,

Hi.. I want to do parametrization for selecting perticular flighr say XYZ by using local table: criteria: 1.If flight is available msgbox "Flight is available" and then select flight from flight table and click to ok button after that as enter username and ticket no and then stop 2. otherwise msgbox " Flight is not available" and stop Please help me out ..and let me know your responses on Regard, Dipak

0 Answers  

Is it possible to check the Run time value property of a field through a Database Checkpoint ? Further, is it possible to localize and mention a particular cell , in the database dynamically. My requirement is that I would need to check the status of a particular field , that would change from an "Active" state to a "Stopped" state dynamically.

1 Answers   CTS,

Generic function to search for the unique link in webtable and click on it

0 Answers  

What is file database?

0 Answers   Syntel,

I recorded a Web App with a Oracle backend using QTP 9.5 and for some reason the scripts don't play back> What am I missing at this point. I recorded the same Apps under Sybase and they work great. This is Oracle 10g. Why won't my scripts play back.

0 Answers