Skip to main content

Login Steps

Login Steps allows you to define the necessary steps to complete your login flow. It is highly recommended to hard-code these steps using Playwright Python code so the AI doesn't have to locate them every time. This ensures a more efficient and reliable login process.

Find the Selector on your browser​

For this example, we will be using an e-commerce website to illustrate the following steps:

  1. Go to your website
  2. Hover the cursor over the element and right-click the mouse
  3. Click onΒ Inspect

OrangeHRM Login Site 4. Developer Tools will appear and will highlight the corresponding code along with the selector.

OrangeHRM Dev Tools

Repeat these steps for the other fields to obtain its CSS selectors. Once you have your selectors, you are now ready to add Project Logins inside Qualiti!

Add Login Steps​

  1. Click on User Profiles
  2. Click on the Components tab
  3. Click on the Project Logins tab
  4. Click Create Steps
  5. Fill out the necessary login steps
  6. Click on the Save button to save your changes
note
  • Action steps are used to interact with the web page under test. They simulate user interactions like clicking buttons, typing text, navigating to URLs, etc.

  • Assertion steps are used to verify that the state of the web page matches your expectations. They check conditions such as element visibility, text content, attribute values, etc.

Login Steps

What's Next?​

Now that you've stored your Project Logins, Qualiti can securely access the project and run tests accordingly!