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 to run two feature files with same tag in the same browser with different credentials #2505

Closed
mansinit opened this issue Jul 7, 2021 · 0 comments

Comments

@mansinit
Copy link

mansinit commented Jul 7, 2021

I have two different feature files, each containing 1 scenario outline and I need to run both with Jenkins tag and the browser is same. The login credentials for the url are different. So is it possible to run both of them at the same time with same tag?

environments {
fb1 {
login.page="www.facebok.com"
login.username = "xyz"
login.password = "xyz1"
}
fb2 {
login.page="www.facebok.com"
login.username = "abc"
login.password = "abc1"
}
}

@wakaleo wakaleo closed this as completed Feb 12, 2022
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