09-06-2012, 11:19 PM
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
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
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?
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")
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
Can anyone help in this?Can i add my own custom properties?