Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Color testing useing QTP
#1
Not Solved
Hi,
as per the requirement i need to test the colour of the Bacground and the text in it of the windows application based exe.
plz help....thanks in advance
Reply
#2
Not Solved
Hi Amit,
This can be done using:
Code:
testObject.Object.currentStyle.backgroundcolor
Reply
#3
Not Solved
Thanks for ur reply i tried this but getting error as "object doesnt supprot this property" is there any orther way.
I have applied another logic like I first change the background color by setting the RGB values in the color pallete in the user setting menu and apply it,then i again open the window of the color palete from user settings menu and check the runtime value of RGB useing getroproperty.do u think this will it fulfill my testing requirement.
plz reply.
Reply
#4
Not Solved
Hi Pankaj,
As u have mentioned above can u suggest me some ways to to do it.???

Regards,
Amit
9773539313
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
MyBB Is it possible to select JTree leafs by it's icon color? KUMAD 0 2,178 05-16-2013, 07:00 AM
Last Post: KUMAD
  Verify Text box border color qtpexpert 3 5,996 09-11-2012, 11:48 PM
Last Post: DevilkID
Exclamation How to validate color of image object in a web page qtplearner88 9 9,167 06-14-2012, 06:34 PM
Last Post: Shridevi.Salagare
Shy Help about write color text by QTP in Excel mantis 1 5,354 12-29-2011, 10:46 AM
Last Post: sshukla12
  how to verify the change of color pattern on button click (.net + infragistics) - DP quest_prima 2 3,414 10-27-2010, 12:59 PM
Last Post: A.Saini

Forum Jump:


Users browsing this thread: 1 Guest(s)