An Interest In:
Web News this Week
- April 17, 2024
- April 16, 2024
- April 15, 2024
- April 14, 2024
- April 13, 2024
- April 12, 2024
- April 11, 2024
Webship-js: When I go to ( the homepage & "specific page" )
When I go to the homepage
The step definition indicates that the user is navigating to the homepage of the website being tested.
The implementation details may vary depending on the testing framework being tested. For web applications, it might involve clicking a link or button, entering a specific URL, or using a predefined navigation command.
Example to use:
`When I go to the homepageWhen we go to the homepageWhen I go to homepageWhen we go to homepageAnd I go to "/"And we go to "/"`
When I go to "specific page"
The step definition indicates that the user is navigating to a specific page of the website being tested.
The implementation details may vary depending on the testing framework being tested. For web applications, it might involve clicking a link or button, entering a specific URL, or using a predefined navigation command.
Example to use:
`When I go to "contact"When we go to "user/login"`
Real example testing on the webship.co site.
Feature: Check when I go to As an anonymous user I want to be able to check when I go to webship.co So that I know that the webship.co site is working Scenario: Check when I go to Given I am on homepage When I go to "services" And I go to the homepage And we go to "contact" And I go to "/" And I go to "about-us" And we go to the homepage
Watch the recorded video of the robot while running the automated functional testing feature
https://www.youtube.com/watch?v=YJ0c2aKYdO4
Learn more about Step Definitions in Webship-js
Visit the documentation site:- https://webship.co/docs
Original Link: https://dev.to/webshipco/webship-js-when-i-go-to-the-homepage-specific-page--55bc
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To