Jey1
3 years agoNew Contributor
TestComplete
How to highlight any element with TestComplete for example in selenium with JavaScript executer its possible to highlight any element you want its helping for debugging purposes
Hi Jey1!
You can use the Object Spy to inspect the properties and methods available for on screen objects.
https://support.smartbear.com/testcomplete/docs/testing-with/exploring-apps/object-spy/index.html
I hope this helps!
Jey1 ,
in testcomplete you can use Sys.HighlightObject() to highlight any particular element.
please find the below sample:
def Main():
WshShell.Run("notepad")
wndNotepad = Sys.Process("notepad").Window("Notepad")
wndNotepad.Activate()
Sys.HighlightObject(wndNotepad)