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:
- Go to your website
- Hover the cursor over the element and right-click the mouse
- Click onΒ
Inspect
4. Developer Tools will appear and will highlight the corresponding code along with the selector.
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β
- Click on
User Profiles
- Click on the
Components
tab - Click on the
Project Logins
tab - Click
Create Steps
- Fill out the necessary login steps
- Click on the
Save
button to save your changes
-
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.
What's Next?β
Now that you've stored your Project Logins, Qualiti can securely access the project and run tests accordingly!