-1

In our application, if we click on submit button with out entering any value we get an field validation error ( screenshot below ), can you please guide me how to handle it with Ruby Cucumber

in below screenshot we have a popup saying "please select an item in the list" which needs to be verified

enter image description here

Dave Schweisguth
  • 36,475
  • 10
  • 98
  • 121
testerBDD
  • 255
  • 3
  • 18

1 Answers1

0

Think about the behavior including the purpose of what is happening.

Given I am creating a relationship that doesn't include the relationship type
When I save the relationship
Then I am asked to select a relationship type
And the relationship is not yet saved

It focuses on what is being done, less on the technology details of dropdown, the technology of the message, more on what is supposed to happen.

Dave McNulla
  • 2,006
  • 16
  • 23
  • we are in to automation side, i mean part of implementation. we are looking for a solution on how to automate. – testerBDD May 16 '16 at 12:09