Skip to main content

How to Add UI Steps in a Automated Website Test

How to Add UI Steps in a Automated Website Test

Key takeaways

  • UI steps let you script a real journey rather than checking a single URL.
  • Build the scenario in the order a user would follow, then run it to confirm each step resolves.
  • Keep scenarios short. A long chain fails often and tells you little about where.

With Automated Website Testing Service from LoadFocus.com you can easily automated your manual tests.

Just go to New Website Test page inside LoadFocus.com and click on the Step Action dropdown.
ui-test-steps

Choose the desired Step Action for your Automated Website Test

  • search for the desired the step action (Actions, ScreenShots, Navigation and Assertions)
  • add the step to your test by clicking on the action from the dropdown
  • make the step Required to fail the whole test if this step fails (
    • if don’t make the step Required, all other steps will continue to execute even if current step failed
    • test status will not take this step into consideration
  • add the necessary CSS or XPATH selectors for your desired Step Action (more details on how to locate web elements)

ui-test-assertion-step

Add more steps to complete your test scenario

add-more-test-steps

Execute the created Automated Website Test or Save for Later.

execute-ui-test

Check how easy is to automate the manual steps of your UI functional test with Automated Website Testing Service from LoadFocus.com.

Frequently Asked Questions

What does adding UI steps let me test?

A real journey rather than a single URL. You pick step actions such as navigation, assertions and screenshots, and chain them into the sequence a visitor would follow.

How should I build the scenario?

In the order a user would take, then run it to confirm each step resolves before adding the next. Building the whole chain first makes a failure hard to attribute.

How long should a scenario be?

Short. A long chain fails more often and tells you less about where the problem is, so several focused tests beat one that covers everything.

Chris

Head of Content at LoadFocus

Chris leads content and oversees development across the services this blog covers. The guides and tool comparisons here come out of the same decisions that shape what ships.

Weekly tips right in your inbox.

Don’t miss out on the latest testing tips and tricks, tools and news related to software testing.

Already +20,000 members in the list.

The Load Testing Platform with AI That Explains Your Results

Load test websites and APIs from 25 cloud regions, monitor page speed and uptime, and get AI analysis that explains your results in plain English.

Cloud load testing, website speed and API monitoring in one place.

Hi there! Can I share a cool thing I'm working on with you?

A software testing newsletter that sparks joy.

Our goal is to create helpful content for software developers and testers.

If you're not into it, you can unsubscribe instantly.