- Your local storage may contain settings that affect the application state. mabl’s test machines will not have that state. Navigate to the “Application” tab in Chrome developer tools and clear application storage before you start training.
- If you enable incognito for the mabl trainer your training session will start out with no cookies and a consistent initial state.
- After navigating to a new page, add an assertion that verifies that you have landed on the correct page.
- If elements appear or disappear after certain actions, assert that the new element is or is not present respectively.
- Start by training your journey against any application environment, just create a plan and type in a new URL to test.
- You can include that journey in separate plans for QA, staging, production, etc.
- You can access this feature via the toolbar within the trainer.
- This makes it easy to create a test that looks for elements by CSS Selector or XPath.
- During training, the trainer will automatically highlight any elements that match your query.
- You can define and use variables via the toolbar within the trainer.
- You can, for example, use a variable that will always insert a random string into a field.
- This can help you work around uniqueness requirements within your application if you’re not always setting your test environment back to a pristine state between runs.
- Check out the Using Variables documentation for more information.
6. Make use of mabl’s auto-login feature.
- Credentials are a pain to secure and maintain. If you use mabl’s auto-login feature, you can take advantage of our enterprise-grade key management service, and you can easily update credentials across journeys.
- If you use auto-login, take care to avoid logging in during your training session; this will result in two attempts to log in, and the second one will result in a failed test.
- When using the feature, it helps to set your Plan's URL to the login page. This will greatly speed up your initial test execution time, as mabl won't have to search for a login form.
7. Capture hovers when they are part of your journey, but use them sparingly.
- You can enable “record hovers” in the mabl trainer.
- When enabled, this adds a hover step each time your mouse hovers over an element.
- Given that this can add many steps (which, in turn, can add significant test execution time), you shouldn’t enable it unless you are explicitly attempting to capture a hover event.
- Hovers will not be recorded when the mouse is over the mabl trainer. If you can move the trainer partially over the element you want to hover over and then move your mouse off the trainer it, only the desired hover step will be recorded.
- A CSS Selector or XPath can also be used to send a hover to a specific element.
- This is a way to avoid testing your marketing site, docs, et.
- You can set the parameter for any plan that includes the “Visit all linked pages” journey.
- It is easy to submit deployment events and retrieve plan results via mabl API
- Information is available via Settings --> APIs.
- This triggers any plans that are scheduled to run on deployment.
- mabl also maintains a native Jenkins plugin.
- All requests feature the
- All User agent strings have a custom operating system property (contains
Mozilla/5.0 (X11; Linux mabl) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
- All traffic emerges from the mabl static IP address block, unless the plan environment uses mabl Link
- mabl supports basic auth.
- You can use custom http headers and/or static IP addresses to whitelist mabl traffic in firewall rules
- A custom user agent header (x-mabl-agent) is included in all mabl http requests by default.
- Visit our "Introduction to mabl Link" doc to get started using mabl Link to access your secure testing environments
Click here to jump back into mabl to start testing!