Code update

This commit is contained in:
Kritika Sharma 2021-04-08 16:08:22 +05:30
parent 403fae1cb2
commit 8017eff0ee
2 changed files with 1 additions and 22 deletions

View File

@ -12,7 +12,7 @@ Scenario: Verify that a registered user is able to login into EShop application
Then the user should be able to login to the application
@priority=2
Scenario Outline: Verify that the user is unable to login to EShop Application if he is not registered already
Scenario Outline: Verify that the user is unable to login to EShop Application if user is not registered already
Given the user is no registered to EShop application
When user launches EShop application
And user clicks on "Login" button

View File

@ -1,21 +0,0 @@
@ui @owner=vamsitp @web
Feature: RandomWebOperations2
In order to be efficient at Testing
As a Test enthusiast
I want to be able to know more about BDD
#Sample to invoke a runtime-method dynamically before or after executing a scenario
@before=CreateDataFile(SomeData) @after=DeleteDataFile()
Scenario: Verify File-upload
Given I have launched "FileUpload" site
And I have clicked "browse" button
When I enter path of a file to be uploaded
Then the value should be set
And I verify if data in the file is "SomeData"
@priority=1
Scenario: Verify File-download
Given I have launched "FileDownload" site
And I have clicked "download" button
When I search the downloads tab for the "Sample.xlsx" file
Then the content of the file should be valid