How to pass string value to given, when and than functions as an arguments

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.

1 Answer

answered by
selected by
0 votes
Best answer

you can use statement as given blow


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