Skip to content

How to read data from different column of excel or csv file #2

@shivani1309

Description

@shivani1309

Below is the scenario i want to read the data from Csv

Scenario Outline: successful signup
Given I'm on "https://github.com/join" page
When I type "" in the "<username_field>" input field
When I type "" in the "<email_field>" email field
When I type "" in the "<password_field>" password field
When I type "<conf_pass>" in the "<confpass_field>" confirm field
When I will click on "<ok_field>" button
Then I should see "Welcome to GitHub" in label "<welcome_msg_field>"
Examples:
|username|username_field | email |email_field |password|password_field|conf_pass|confpass_field|ok_field|welcome_msg_field|
|file:testdata/SignUpData.csv|.//[@id='user_login']|[email protected]|.//[@id='user_email']|Cwms123456|.//[@id='user_password']|Cwms123456|.//[@id='user_password_confirmation']|signup_button|.//*[@id='site-container']/div/div[1]/h1|

Appreciate your quick response .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions