TestProject Forum

Virtual Agent (BrowserStack) Tests fail but succeed locally

Hi,

I’ve created a test using the TestAgent Smart Recorder and everything works fine when running locally or using the recorder.

But this fails when running on BrowserStack Chrome 91 (virtual agent), giving the error below when trying to add text to a textbox.

When using an Xpath element

Execution on BrowserStack was interruped unexpectedly.
An unknown error has occurred

An unknown server-side error occurred while processing the command.

I don’t know if this is due to the test clicking a link, then trying to input text into a textbox. It’s quite difficult to use a tool that works locally then fails virtually. Sometimes it works and other times it doesn’t.

The most annoying thing is how it actually worked virtually, then it broke the next day!

Does anyone else have a similar issue where local and virtual tests pass/fail?

@alex1

Please contact us via the intercom on https://app.testproject.io/
We will require your BrowserStack logs, agent logs, and reports to understand the root cause.

1 Like