Test Project SDK integration with Selenium Java in Easy Steps
Kushan Shalindra Amarasiri
Director Quality Engineering at Social Catfish
Test automation with Selenium Java is widely used and test automation reporting is a vital component in test automation framework. This article will help everyone to integrate fascinating cloud based test automation execution report integration with Test Project SDK.
2. Next we need to download the Test Project Agent from the Agents menu of the portal
3. The agent will run on the following default URL - https://localhost:8585/
4. Add the following dependency to your pom.xml file
?<dependency
? <groupId>io.testproject</groupId>
? <artifactId>java-sdk</artifactId>
? <version>1.2.3-RELEASE</version>
</dependency>>
5. Next call the following library in your test automation script if you are going to start with Chrome browser.
import io.testproject.sdk.drivers.web.ChromeDriver;
6. Next initialize the Webdriver driver with the following command
?ChromeDriver chromeDriver = null;
chromeDriver = new ChromeDriver(new ChromeOptions());
7. Start your test with TestNG and your test will get executed with Chrome also you will see that your test getting executed in the Execution in Progress area.
8. Once its done we can access the report of the execution in the latest executions area.
9. By clicking on the graph icon you can go to the execution report page.
9. By clicking on the graph icon you can go to the execution report page
10. You can download the latest PDF detailed report with the click on the Full Report link