Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get background color for individual days in SAPGUICalendar with QTP
#10
Solved: 10 Years, 10 Months ago
Unfortunately, I have not worked on SAP applications. I Would be of least help to you, However, I am willing to share my General Knowledge with you if that probably may lead you to the right answer.

It is clear that GetColor is not the correct method to be used here or rather it is not returning back the value it should. You should look for a different method or option here. Here is what I would do,

1. Drill down the spied color cell object and check if you have Items.Cells or some hirearchy as below. Look for BackgroundColor or Color or BGcolor which may have a HexaDecimal value for the Green Color.

2. It is most likely that the Cell could be a object here which holds the color property. Try to look for the color property in that direction.

3. If you have hit the wall without any option and if you have the luxury of a developer sitting beside you who has developed it or rather who has access to the codebase, then talk to him and see what is the property being set for that object. He should be able to exactly show you how the color value is being set and to which object it corresponds. You may already have read this but if you havent this may be of some help. (http://help.sap.com/saphelp_46c/helpdata...ameset.htm)

Finally, dont lose hope. Try to google around your problem, post your query on multiple sites and keep looking. Every problem has a solution and without a solution there does not exist a problem Smile
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply
Jump to the post that solved this thread.


Messages In This Thread
RE: How to get background color for individual days in SAPGUICalendar with QTP - by basanth27 - 12-20-2013, 06:42 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Problems with Text color recognition Treirk 0 1,101 06-17-2019, 12:19 PM
Last Post: Treirk
  Getting background color of an object on mouse over Surya 2 3,887 06-27-2018, 08:51 PM
Last Post: vensas3181
  How can we get the Windows application Text box background color Using UFT 11.53 Kuppampattu 3 6,019 06-06-2017, 11:12 AM
Last Post: workrohit08
  SwfTreeview - Color validation for child item YogeshCallappa 0 2,290 11-10-2016, 04:55 PM
Last Post: YogeshCallappa
  how to get background color of a WinButton javierchen 1 3,048 03-17-2015, 10:59 PM
Last Post: babu123

Forum Jump:


Users browsing this thread: 2 Guest(s)