Turn your manual testers into automation experts! Request a DemoStart testRigor Free

How to Install Client Certificates in testRigor

Client certificates are one of several ways to allow users to authenticate their identity to a server, most often a private organization’s remote server.

Prerequisites

testRigor allows users to install client certificates for such occasions, but there are a few prerequisites to bear in mind.

  • The website that is accessed must require the use of client certificate authentication.
  • Users must have updated client certificate files (*.pfx with password)
  • The browser must be Chrome, and the OS must be Windows
  • The URL with client certificate authentication cannot be used as the base url of the test suite. Use about:blank (or any other URL) as the base url and open the url with client certificate authentication as the first step.

Setup: Add the client certificate files to the test case settings

Go to the Settings section in testRigor and click the Advanced tab. Scroll down until you see Install client certificates, and click +Add certificate (you can add multiple). Select the client certificate file(s) (this is only checked when the test case is executed), and enter the password for the client certificate file (which is also only checked only when the test case is executed).

How to use the client certificate in a test case

  1. Open the url with client certificate authentication as the first step of the test case.
      • To do this, use the following testRigor command:
    open url "https://www.urlwithclientcertificateauthentication.com"
  2. Add steps to the test case to select the installed client certificate (or cancel).
      • To do this, you can use the following commands:

using keyboard (faster): 

type arrow down
type arrow up
type enter
type esc

using mouse and OCR (slower): 

click with mouse "OK" using OCR only

Combine the commands of your choice to create a reusable rule complete, and it’s as easy as that!

Related Articles

How to Create Tests Using Live Mode in testRigor?

testRigor offers a unique capability known as the ‘Live Mode‘ to create and validate test cases. Using it, you can ...

How to Automate Web Testing with testRigor

Web testing plays a crucial role in the software development lifecycle, allowing web applications to function correctly, provide ...
On our website, we utilize cookies to ensure that your browsing experience is tailored to your preferences and needs. By clicking "Accept," you agree to the use of all cookies. Learn more.
Cookie settings
Privacy Overview
This site utilizes cookies to enhance your browsing experience. Among these, essential cookies are stored on your browser as they are necessary for ...
Read more
Strictly Necessary CookiesAlways Enabled
Essential cookies are crucial for the proper functioning and security of the website.
Non-NecessaryEnabled
Cookies that are not essential for the website's functionality but are employed to gather additional data. You can choose to opt out by using this toggle switch. These cookies gather data for analytics and performance tracking purposes.