Forum Discussion
Object Spy is able to identify standard web elements (such as those with IDs, classes, etc.) when using SYSOPTEST. It only fails to recognize elements like confirm, alert, and other prompts. So I So I don't think the issue lies with the TestComplete extension—it might be related to the object namemapping or something like configuration.
- rraghvani18 days ago
Champion Level 3
Are you referring to the browser dialog i.e.
which TestComplete can identify the controls as
or web app dialog?
Again, TestComplete and the AUT need to have the same privileges. I'm not sure why you are using different user roles!?
- huabing5 days agoOccasional Contributor
The former, browser dialog. When I use Object Spy to drag the mouse to point to the object, it just keeps loading and shows "Searching for the object that is under the mouse cursor. Please wait..."
When I navigate to Object Browser and use "MGRTEST" role to run Edge and identify the alert, it displays
But when I use "SYSOPTEST" role to run Edge and identify the same alert, it displays
The "SYSOPTEST" role cannot identify the alert. But it can identify the normal element(id, class, etc.) So I'm confused.
- Hassan_Ballan17 days ago
Champion Level 2
This does not make sense as described.
Are both "manager(administrator) role" and "sysoptest(administrator) role" on the same computer and using the same TestComplete project?
- If yes, why are you using two admin users and switching between?
- If no, are both computers running the same old versions of TestComplete 14.93 and Edge 87?
Use the Object Spy https://support.smartbear.com/testcomplete/docs/testing-with/exploring-apps/object-spy/index.html to select the prompt object, and provide a screen shot of the "Object Browser" viewing such prompt:
- When manager(administrator) role is used and Object Spy can identify the prompt object
- When sysoptest(administrator) role is used and Object Spy can NOT identify the prompt object (you will need to navigate the Object browser structure manually)