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, 2019 in Selenium by Yogita
60 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, 2019 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, 2019 in Selenium by ch Praveen
392 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, 2019 in Selenium by Anvi
• 14,010 points
110 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, 2019 in Selenium by Neelam
286 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, 2019 in Selenium by Abha
• 27,740 points
52 views
0 votes
2 answers

How can we take screenshots of tests in Selenium 2 using C#

Hey, try using following code command to ...READ MORE

answered Aug 22, 2019 in Selenium by Abha
• 27,740 points
217 views
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
421 views
0 votes
1 answer