Forum Discussion

Chintan's avatar
Chintan
Occasional Contributor
19 days ago

Object does not recognize with drag and Point or Point & Fix target

When try to automate and try to find Object with drag and Point or Point & Fix target, it does not highlight fields and controls sometimes. what is the cause of this issue?

12 Replies

  • Hassan_Ballan's avatar
    Hassan_Ballan
    Icon for Champion Level 2 rankChampion Level 2

    When using Object Spy to "Pick the object with the target glyph" or "Point to the object and fix", are you pausing and waiting long enough?

    1. Drag the target glyph () to the desired object or Click the  button and then move the mouse pointer to the desired object.
    2. Wait until a red frame appears around the object.
    3. Release the mouse button or press the Select object shortcut, SHIFT+CTRL+A.

    Sometimes TestComplete is busy analyzing or CPU is busy and TestComple becomes slow to respond.

    💬 If a response helped you out, don’t forget to Like it! And if it answered your question, mark it as the solution so others can benefit too.

    • Chintan's avatar
      Chintan
      Occasional Contributor

      Hassan_Ballan​ Yes i waited enough to get red frame on the desired object but frame comes to taskbar and desktop but not in browser inner page.

  • scot1967's avatar
    scot1967
    Icon for Champion Level 1 rankChampion Level 1

    If this works you could create a function that would read from a JSON object you would update with the needed xpath expressions of several objects and just call the one you need to return the needed xpath expression and pass it to a findelement or xpath method to return an object to your script tests.  Crude but maybe workable?