GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Testing Tools  >  QTP
Go To First  |  Previous Question  |  Next Question 
 QTP  |  Question 608 of 684    Print  
checking background color and images using QTP
how can i check background color , bitmap images , graph in my application...???
i am using web application...



  
Total Answers and Comments: 3 Last Update: February 12, 2008     Asked by: vijay_baala 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
December 29, 2007 01:55:35   #1  
Anshoo_Arora Member Since: October 2007   Contribution: 384    

RE: checking background color and images using QTP
Retrieve the background color of the page:

Dim objPrimary objSecondary
Set objPrimary Browser("micClass: Browser").Page("micClass: Page").WebElement("WebElement")
Set objSecondary objPrimary.object
bgcolor objSecondary.currentStyle.backgroundColor
Print bgcolor

You can simply use Standard checkpoint for Images. Are you planning on using DP instead?

 
Is this answer useful? Yes | No
December 30, 2007 23:28:12   #2  
vijay_baala Member Since: December 2007   Contribution: 4    

RE: checking background color and images using QTP
hi anshoo
i want to know how i will check a background color of a particular box in a window

 
Is this answer useful? Yes | No
February 12, 2008 11:49:27   #3  
newqtp Member Since: January 2008   Contribution: 30    

RE: checking background color and images using QTP
hi this property doesn;t exist in qtp.
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape