Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can we read data from multiple sheets in a single test suite file? #28

Closed
sashantkhatri opened this issue Sep 2, 2020 · 1 comment

Comments

@sashantkhatri
Copy link

Scenario : In a single test case file, If we have two test cases and we have maintained test data for these two test cases in two separate sheets of same .xlsx file and we want to use sheet-1 in test-case-1 and sheet-2 in test-case2.

Question : Is it possible using data-driver?

@Snooz82
Copy link
Owner

Snooz82 commented Sep 27, 2020

No that is not possible.

DataDriver requires only one TestTemplate and only one DataSource per Test Suite.
You can use the same file in multiple *.robot files for different test, but not in one file.

Cheers

@Snooz82 Snooz82 closed this as completed Sep 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants