Demo process

This article shows how to automate a web page using Selenium steps in Robotiq.ai. You will see how a robot works with a demo website to do a series of tasks.

What You'll Need

  • Access to Robotiq.ai HQ
  • Chrome browser (for HQ)
  • Edge browser (for robot execution)

How to Automate the Demo Process

Before the robot starts, it downloads the Selenium WebDriver it needs. This makes sure the automation runs well.

Step 1: Prepare Your Environment

  1. Open Robotiq.ai HQ in your Chrome browser.
  2. Make sure your robot is set up to use the Edge browser for this process.

Step 2: Go to the Site and Log In

The robot does these things:

  1. Goes to the demo website: https://www.saucedemo.com/
  2. Types standard_user as the username.
  3. Types secret_sauce as the password.
  4. Clicks the login button.

Step 3: Pick an Item and Add it to Your Cart

  1. From the list of items, the robot picks "Sauce Labs Onesie".
  2. The robot adds this item to the cart.

Step 4: Go to Checkout

  1. The robot looks at the shopping cart.
  2. It goes to the checkout page.

Step 5: Fill in Checkout Information

  1. The robot types your first name.
  2. It types your last name.
  3. It types your zip code.
  4. The robot clicks "Continue".
  5. It finishes the checkout.

Step 6: Check Order Confirmation

The robot checks the order by looking for this message: "Your order has been dispatched, and will arrive just as fast as the pony can get there!".

Step 7: Close the Selenium Driver

The robot closes the Selenium driver after it finishes.

Related Articles

Need Help?

Can't find what you're looking for? Join the Robotiq Community to get help from other users and the Robotiq team.

 

 

Was this article helpful?