Forum Discussion

Gunacelan's avatar
Gunacelan
Contributor
2 years ago

TestComplete

How to spy the web objects of incognito window using testcomplete?

  • You may need to enable the TestComplete Test Extension for Incognito mode - go to the Extensions menu, click on the TestComplete extension, and "Allow in Incognito".

  • You may need to enable the TestComplete Test Extension for Incognito mode - go to the Extensions menu, click on the TestComplete extension, and "Allow in Incognito".

  • parkern56's avatar
    parkern56
    New Contributor

    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.

    MyCentura

  • 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:

    1. 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.

    2. 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.

    3. 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