Picking Onscreen Objects
You can select an onscreen object in one of the following ways:
Pick the object with the target glyph
Drag the target glyph () to the desired object.
Wait until a red frame appears around the object.
Release the mouse button.
Spying on web objects in an incognito window using TestComplete can be tricky because the incognito window is designed to prevent tracking and data collection. However, there are a few options you can try:
Use the "Object Browser" feature in TestComplete: With this feature, you can navigate to the incognito window and view the web objects in the object hierarchy. To use this feature, first, launch TestComplete and open the Object Browser window. Then, open the incognito window and navigate to the webpage you want to spy on. Switch back to TestComplete and refresh the Object Browser window to view the web objects.
Use the "Open Application" feature in TestComplete: With this feature, you can launch an incognito window from within TestComplete and spy on the web objects directly. To use this feature, first, launch TestComplete and open the "Open Application" window. In the "Application Path" field, enter the path to your browser executable followed by the "-incognito" command-line switch. For example, for Google Chrome, the path would be "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe -incognito". Then, click the "Open" button to launch the incognito window. You can then use the "Object Browser" or "Object Spy" features in TestComplete to spy on the web objects.
Use a browser extension: Some browser extensions, such as the "TestComplete Browser Extension" or the "Ranorex Webtestit Extension", can be used to capture web objects in an incognito window. Install the extension in your browser and then use it to navigate to the webpage you want to spy on. The extension should allow you to capture the web objects and export them to TestComplete.
It is important to note that spying on web objects in an incognito window may not always be reliable due to the browser's security measures. Additionally, capturing data from an incognito window may violate privacy laws or policies. Therefore, it is important to use caution and follow ethical guidelines when spying on web objects in an incognito window. PaybyPlateMa