System tests on BrowserStack 2

Ask general questions here.
jsmith
Posts: 36
Joined: Mon Mar 05, 2018 4:03 pm

System tests on BrowserStack 2

Post by jsmith » Fri Nov 02, 2018 1:00 pm

Hi folks,
A couple of weeks in and progress is being made.
My current problem is how to instruct BrowserStack to end the current session, so that the next endpoint can be selected and a new browser spawned? I can manually click Stop Session on the BrowserStack dashboard, but that isn't a solution. I have tried to close the browser and this works locally, but not on BS. Is there something I can do in code to force BS to stop the session?

jsmith
Posts: 36
Joined: Mon Mar 05, 2018 4:03 pm

Re: System tests on BrowserStack 2

Post by jsmith » Fri Nov 02, 2018 4:33 pm

Fixed it.
I dragged on the repository item that is my domain.
Selected Invoke.
Changed the Invoke to Close()

This closes the browser, and BrowserStack then ends the session.