1. Home
  2. Applications
  3. Application Configuration
  4. Troubleshoot App Login Automation

Troubleshoot App Login Automation

Purpose

Often websites will update their login pages which will require the Practice Protect application to be reconfigured. The below guide will show you how to complete this.

Pre-requisites

  • Admin Access to Practice Protect

Instructions

  1. Login to your Practice Protect and switch to Admin portal (eg. http://mydomain.practiceprotect.app)
  2. Go to Apps & Widget section and click Web Apps. 
  3. Find and click the application you want to reconfigure (eg. Xero).
  4. Open another tab in the browser and go to the login page of the app. Eg. https://login.xero.com/identity/user/login
  5. Follow the relevant section below, depending on which field is not automatically filling in your login information. For example, if the password is not automatically filling in, follow the ‘Capture Password’ section.
  6. If you’re still experiencing issues with your application, please submit a support ticket here.
Capture Username

  1. Hover your mouse over the username field. Right click and select “Inspect“.
  2. On the selected field, right click and choose Copy. Then, Copy Selector.
  3. Go back to the app’s Advanced Settings in Practice Protect and paste it on the User Name Field.
  4. Hit Save to apply.

Capture Password

  1. Hover your mouse over the password field. Right click and select “Inspect“.
  2. On the selected field, right click and choose Copy. Then, Copy Selector.
  3. Go back to the app’s Advanced Settings in Practice Protect and paste it on the Password Field.
  4. Hit Save to apply.

Submit Button

  1. Hover your mouse over the password field. Right click and select “Inspect“.
  2. On the selected submit button, right click and choose Copy. Then, Copy Selector.
  3. Go back to the app’s Advanced Settings in Practice Protect and paste it on the Submit Field.
  4. Hit Save to apply.

Additional Login Field (Optional)

  1. This is only applicable for applications that require a 3rd piece of login information such as a company ID.
  2. Hover your mouse over the additional field. Right click and select “Inspect“.
  3. On the selected submit button, right click and choose Copy. Then, Copy Selector.
  4. Go back to the app’s Advanced Settings in Practice Protect and paste it on the Submit Field.
  5. Hit Save to apply.

Order Script

The Order field is used to determine the sequence of actions. For example the below order field will delay the login process for 2 seconds (to allow the page to load), fill the username, then password & select submit.

[["sleep",2000],["fill","username"],["fill","password", {pbl:1}],["submit"]]

The below order field is commonly used for websites that have the username & password fields on two separate pages. It will delay the login process for 2 seconds (to allow the page to load), fill the username, select submit, delay the login process for 2 seconds, fill the password & select submit.

[["sleep",2000],["fill","username"],["submit"],["sleep",2000"],["fill","password", {pbl:1}],["submit"]]

Updated on November 3, 2023

Related Articles

Need Support?
Can't find the answer you're looking for?
Contact Support