Setting the ProfilePath
In C# Selenium, the <ProfilePath/> has been updated to store login credentials in a folder. This enables subsequent test cases to skip the login steps and directly access the logged- in application when executed. This simplifies the automation process for the scenarios where login is not necessary.
Prerequisite
You must install the installer. Navigate to the Downloads link on algoshack.net and install version 2.1.95.
This link is accessible to AlgoShack subscribers only.
Setting the ProfilePath
Perform the following:
Navigate to Application Settings.XML file as shown in the example screenshot:

Set the ProfilePath tag
Set the <ProfilePath/> tag to C:\AlgoshackProfile, where AlgoshackProfile is the folder name.
Save the changes.
Was this page helpful?