In this article, we will discuss How to open Chrome in incognito mode using Tosca. In most cases, the script should be run in incognito mode because in incognito mode, browser cache is not stored and the result would be accurate
In Tosca, we can open Google Chrome incognito using 2 standard modules, and based on the usage you can use any of the ways mentioned below
- Open Chrome in incognito mode using the TBox Start Program in Tosca
- Open Chrome in incognito mode using OpenUrl in Tosca
Open Chrome in incognito mode using the TBox Start Program in Tosca
Step 1: You can find the TBox Start program in this path standard modules -> TBox Automation Tools -> Process operations -> TBox Start Program. Add this to your test case

Step 2: In the module put the chrome application path in the Path field and in Argument pass the website URL and -incognito to open the URL in incognito
- Path : C:\Program Files\Google\Chrome\Application\chrome.exe
- Argument: https://demowebshop.tricentis.com/
- Argument: -incognito

Step 3: Run the script and observe the website opened in an incognito

Open Chrome in incognito mode using OpenUrl in Tosca
Step 1: You can find the OpenURL standard module in this path standard modules -> TBox XEngines -> Html -> OpenUrl. Add this to your test case

Step 2: In the Test configuration parameter, add Browser as the parameter name and change the value to Chrome

Step 3: In OpenUrl, add below configurations
- Url : -incognito https://demowebshop.tricentis.com/

Step 4: While running the above step Url will get opened in the chrome incognito

Let us know your queries related to Tosca