DEV Community

Cover image for Webship-js: When I ( check & uncheck ) "checkbox"
webship.co
webship.co

Posted on

2

Webship-js: When I ( check & uncheck ) "checkbox"

When I check "checkbox"
This step definition serves as a command to mark/select a checkbox.
When I uncheck "checkbox"
This step definition serves as a command to clear/deselect a checkbox.

Real example testing on the https://whc.unesco.org
site.

Feature: Check the checkbox
  As a nonymouse user
  I want to be able to visit the home page
  So that I know that the site is working
  Scenario: Check the checkbox
    Given I am on the homepage
     When I click "Login"
      And I uncheck "rememberme"
      And I check "rememberme"
Enter fullscreen mode Exit fullscreen mode

Watch the recorded video of the robot while running the automated functional testing feature:-
https://www.youtube.com/watch?v=ozeMeji9ytw

See all the blog:- https://webship.co/blog/webship-js-when-i-check-uncheck-checkbox

test #testing #QA #Automated #checkbox

Top comments (0)

Image of Datadog

How to Diagram Your Cloud Architecture

Cloud architecture diagrams provide critical visibility into the resources in your environment and how they’re connected. In our latest eBook, AWS Solution Architects Jason Mimick and James Wenzel walk through best practices on how to build effective and professional diagrams.

Download the Free eBook

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay