Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom CheckPoint
#1
Not Solved
Hi,
In my app,on Click of save if the mandatory field does not contain value its background color becomes red.Now i want to verify the color of WebEdit is red or not using Checkpoint. Any idea how to do that?
IF i use standard checkpoint the statement looks like
Code:
Browser.Page.Frame.WebEdit("Age").Check Checkpoint("CheckpointName")
Here Checkpoint properties are passed to method Check so can i pass any backgroundcolor properties? I am not able to access any native properties here or even using gettoproperties.
I tried CheckProperty too but of no use.
I do not want to use
Code:
If Webedit.Object.Currentstyle.Background color=Value then
Reporter.Reportevent micPass
But i want to compare with WebEdit.Object.backgroundcolor stored in OR while recording or I wanna compare it with OR value and then decide wheather to pass or fail.
Can anyone help in this?Can i add my own custom properties?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to set value to custom property ? Ranu 0 1,947 11-14-2013, 02:58 AM
Last Post: Ranu
  How to get custom formatted date from qtp sailakshmi 4 16,686 07-20-2012, 12:36 PM
Last Post: ravi.gajul
  Which way can let QTP recogniza vc custom controls? richard2013 1 2,267 06-04-2012, 05:51 PM
Last Post: supputuri
Question Create Custom Object RobinDesHautbois 3 6,355 09-27-2011, 12:30 AM
Last Post: guin.anirban
  How to export run results with custom view? Zelfiris 2 4,744 09-24-2011, 09:22 PM
Last Post: Emil-Dean

Forum Jump:


Users browsing this thread: 1 Guest(s)