This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Given I am in registration page | |
And I provide below information during registeration | |
| Field | Input | | |
| firstName| Tom | | |
| lastName | Jerry | | |
| phone | 123456789 | | |
| email | tomandjerry@cartoon.com | | |
When I submit the details | |
Then the registration should be successful |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{'Field': 'firstName', 'Input': 'Tom'}, | |
{'Field': 'lastName', 'Input': 'Jerry'}, | |
{'Field': 'phone', 'Input': '123456789'} | |
{'Field': 'email', 'Input': 'tomandjerry@cartoon.com'} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Given(/^I provide below information during registeration$/, function (table) { | |
console.log(table.hashes()) | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
['firstName', 'Tom'], | |
['lastName', 'Jerry'], | |
['phone', '123456789'], | |
['email', 'tomandjerry@cartoon.com'] | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Given(/^I provide below information during registeration$/, function (table) { | |
console.log(table.rows()) | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Given I am in registration page | |
And I provide below information during registeration | |
| Fields | Inputs | | |
| firstName| Tom | | |
| lastName | Jerry | | |
| phone | 123456789 | | |
| email | tomandjerry@cartoon.com | | |
When I submit the details | |
Then the registration should be successful |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
'firstName': 'Tom', | |
'lastName' : 'Jerry', | |
'phone' : '123456789', | |
'email': 'tomandjerry@cartoon.com' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Given(/^I provide below information during registeration$/, function (table) { | |
console.log(table.rowsHash()) | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Given I am in registration page | |
And I provide below information during registeration | |
| firstName| Tom | | |
| lastName | Jerry | | |
| phone | 123456789 | | |
| email | tomandjerry@cartoon.com | | |
When I submit the details | |
Then the registration should be successful |