Forum Discussion

Jey1's avatar
Jey1
New Contributor
3 years ago
Solved

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

  • Mr_Bro's avatar
    Mr_Bro
    3 years ago

    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)

3 Replies