For given test scenarios, how can I write automation test script?

0 votes

I want to write automation test script for given test scenario. Can anyone suggest how to write test script using Cucumber?

As an Admin User,
I would like to change the password of other user's accounts.
Feature: Update password
  Scenario: Admin user can update the user password
    Given I am in the HR system with an Admin account
    When I update password of another user
    Then I receive a message for updating password successfully
    And user's password is updated to the new password
May 22 in Selenium by Yogita
28 views

1 answer to this question.

0 votes

Hi Yogita, for this test scenario you can write following test case in cucumber:

Feature: Update password
  Scenario: Admin user can update the user password
    Given I am in the HR system with an Admin account
    When I update password of another user
    Then I receive a message for updating password successfully
    And user's password is updated to the new password
answered May 22 by Farah

Related Questions In Selenium

0 votes
0 answers

How to write a code for combo box and how can i select a country from country dropdown?

Hi, I want to select a country from ...READ MORE

Mar 14 in Selenium by ch Praveen
358 views
0 votes
1 answer

How can I write test scripts in Selenium with python?

Hey Khushi, writing test scripts in Selenium ...READ MORE

answered May 9 in Selenium by Anvi
• 12,840 points
56 views
0 votes
1 answer

Can anyone explain how to write Selenium script for Flash Testing?

Hey Wasin, to understand how Selenium scripts ...READ MORE

answered May 23 in Selenium by Neelam
84 views
0 votes
1 answer
0 votes
1 answer

What are the software requirements to run a Cucumber web test?

Hi Govind, to run a Cucumber Web ...READ MORE

answered Aug 26 in Selenium by Abha
• 22,960 points
19 views
0 votes
2 answers
0 votes
1 answer

How can I search for a video on YouTube?

I will tell you step by step ...READ MORE

answered Dec 19, 2018 in Selenium by Nabrupa
188 views
0 votes
1 answer