Skip to content

change junit samples to use java-sdk for parallelism #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

kamal-kaur04
Copy link
Collaborator

No description provided.

@Before
public void setUp() throws Exception {
MutableCapabilities capabilities = new MutableCapabilities();
this.driver = new RemoteWebDriver(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Add username and accesskey while initializing webdriver. If something fails with SDK the tests would still run on BrowserStack

@@ -74,6 +66,14 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${surefire.version}</version>
<configuration>
<includes>
<include>com/browserstack/SampleTest.java</include>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Add it in properties and fetch it here.

@karanshah-browserstack karanshah-browserstack merged commit 8a5169f into browserstack:sdk Oct 10, 2022
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