Answered

Open Guest/Incognito profile for Chrome or how to bypassing default network authentication while launching browser

 

How can we lunch a browser in subject-7, with below options
Launch Guest or Incognito browser / bypassing network authentication
==============================
Programmatically :
ChromeOptions options = new ChromeOptions();
options.addArguments("--incognito");
===================================
Example in attachment: For chrome: Incognito or Guest will prompt for entering credentials, which lets us automate internal sites build on SharePoint.


0
1 comment
Avatar
Joseph Hamdan

Hi Sateesh,

For local runs and independent executions, you can use Advanced tab in User Preferences and modify the entries next to Chrome browser. This article demonstrates how to get to it Advanced tab:

https://subject7.atlassian.net/wiki/spaces/SD/pages/40271879/Set+Preferences+to+a+Test+Case

For execution sets, you can use the Browsers tab on Execution Set creation screen. This article demonstrates how to get to it:

https://subject7.atlassian.net/wiki/spaces/SD/pages/40468511/Create+an+Execution+Set

You can modify the entries as below to launch Chrome in incognito mode:

javaScriptEnabled=true
chromeOptions=["--start-maximized", "--ignore-certificate-errors","--incognito"]

Regards,

Subject7 Team

1
Comment actions Permalink

Please sign in to leave a comment.