kpinnisetti
11 years agoContributor
Checkpoint for Highlighted textbox
Hi can any one give me sample script on how i can use checkpoint for the higlighted textbox?
See the attached.
See the attached.
- For checking graphical stuff like that, I tend to use the CSS properties of the objects.
What you check will depend on the browser you're using. They're not 100% consistent on how they report things to TestComplete.
Something like: <object>.ownerDocument.defaultView.getComputedStyle(<object>, "").backgroundColor
Or it may just be sufficient to check the visibility of the highlight box around the textbox.
It very much depends how the dev people have done the highlighting.