Skip to content

Conversation

@kamal-kaur04
Copy link
Collaborator

No description provided.

b. To run local test session.
- Ensure that you have set `browserstackLocal: true` in your `browserstack.yml` config.
```
mvn exec:exec -Dexec.executable="java" -Dexec.classpathScope=test -Dexec.args="-cp %classpath -javaagent:/path/to/.m2/repository/browserstack-java-sdk/jar com.browserstack.app.JavaLocalSample"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a sample command, for windows and osx as mentioned in docs.
Both for single test and local test session or let's document exec plugin command

<artifactId>json-simple</artifactId>
<version>1.1.1</version>
<artifactId>browserstack-java-sdk</artifactId>
<version>LATEST</version>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use 1.0.8 version as we are using it below in exec plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants