Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can use the System Execution Profile to dry run a test case or create a custom execution profile that is specific to execute test suites on a specific custom browser profile.

Info

Ensure that you have created the custom browser profile on your computer.

To configure the settings for a custom browser profile:

  1. Do one of the following:

    • To execute on a custom Chrome profile, open a Chrome

    tab
    • browser, enter chrome://version/ in its URL address bar, and then copy the Profile Path value.

    • To execute on a custom Edge profile, open

    a
    • an Edge

    tab
    • browser, enter Edge://version/ in its URL address bar, and then copy the Profile Path value.

    • To execute on a custom Firefox profile, open a Firefox

    tab
    • browser, enter about:profiles in its URL address bar, and then copy the Profile Path value.

  2. Do one of the following:

    • Open an existing execution profile that you want to use to execute on a custom browser profile.

    • Add a custom execution profile.
      Note: For more information on execution profiles, refer to Working with Execution Profiles.

  3. Click the Browser tab Settings > Local Profile > Browse.

  4. From the Browser Type drop-down list, select the associated browser.

  5. Paste the Profile Path value , in the Browser Profile Path.
    Note: The last value name at the end of the Profile Path value denotes the browser profile name. If the last value you have entered is a different browser profile name, edit the desired browser profile name in the last value of the Profile Path.
    For example, in if the Profile Path: is C:\Users\john.smith\AppData\Local\Microsoft\Edge\User Data\JohnS, then JohnS indicates is the custom Edge browser profile name.

  6. Under EdgeOptions, ChromeOptions, or FirefoxOptions (depending on the selected browser), in args, enter the following value in args:
    --profile-directory=<profile_name>, where profile_name indicates the name of the custom browser profile.

  7. Click Save.

  8. Edit If necessary, edit any other required settings of the execution profile.
    Note: For detailed instructions on configuring the required execution profile settings, refer to /wiki/spaces/QAS8/pages/1381631256.The required settings are ready to execute on the custom browser profile

  9. Click Save.

Info

Before executing a test case or a test suite on the custom browser profile, ensure that you close all the instances of the associated browser.

...