Join 500+ Software Testing professionals. Solve problem and get your problem solved. Register Now!

how to pass String value to cucumber-jvm given, when or than statements

Solved 1 Answers 68 Views Test Automation
0 1
How to pass string value to given, when and than functions as an arguments

1 Answer

Best answer

you can use statement as given blow


@When ("^user logged in using username as (.+) and password as (.+)$")

answered by
selected by

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.