jeudi 6 août 2015

Switch between different windows using Behat Mink

I have to test a multi user feature for version control like application, which needs lot of changes from multiple users simultaneously. How can I switch between different windows? Both windows have same url "localhost/version-control/", only the difference is the user name.

I found a feature called $session->switchToWindow($windowName) in Mink but this didn't help because both windows have same url and hence same name(title). I found some similar questions which were related to pop up window but not for the windows with two different session.

Please help.

Thank you in advance.

Aucun commentaire:

Enregistrer un commentaire