Skip to content
No description, website, or topics provided.
Java
Branch: master
Clone or download
4DvAnCeBoY Merge pull request #2 from sjieg/patch-2
Made a variable out of profile id
@sjieg 👍 Thanks for highlighting.
Latest commit f2168dd Sep 5, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Made a variabele out of profile id Sep 5, 2019
README.md Fixed typo 'Gird' to 'Grid' in readme Aug 19, 2019
pom.xml Add files via upload Aug 19, 2019

README.md

LambdaTest and Calliope Integration

Using this repository you can now send test execution results of selenium tests run on LambdaTest Selenium Automation Grid platform to Calliope analytics. In this repository we are using TestNG framework to run Selenium tests, which are being executed at LambdaTest Selenium Grid, and the results of the executed tests would be be pushed to Calliope analytics platform.

The first step is setting up environment.

Setting up TestNG Environment

Adding LambdaTest Credentials

In BaseTest.java file, add LambdaTest credentials to the defined variables:

  • username = < your lambdatest username >
  • accesskey = < your lambdatest access_key >

you can find these credentials in your LambdaTest automation dashboard or You can get this credentials from LambdaTest Capability Generator

Configuring Calliope Credentials

In CalliopeAPI.java file, add your test result file path and Calliope details to the defined variables: • report_filename = < your result file directory path> • endpoint_url = < your calliope profile number> • API_KEY = < your calliope API key> You can get this details from Calliope API webpage. You can learn more about it in Calliope docs here.

Running Tests

In this repository, we have a BaseTest.java file in which you can add your your test cases/methods along with the desired configuration on which you want to run your test on.

Output

After running BaseTest.java file you would get your test session data to your Calliope profile. You would also get the same data on your local console itself along with the Calliope profile link where your data has been pushed.

Important Note

Calliope accepts different format result files for different frameworks. For ex: XML for TestNG,JUnit,NUnit and JSON for Cucumber. Check the test report result file supported by Calliope from link: https://docs.calliope.pro/supported-formats/other-formats/

About LambdaTest

LambdaTest is a cloud based selenium grid infrastructure that can help you run automated cross browser compatibility tests on 2000+ different browser and operating system environments. All test data generated during testing including Selenium command logs, screenshots generated in testing, video logs, selenium logs, network logs, console logs, and metadata logs can be extracted using LambdaTest automation APIs. This data can then be used for creating custom reports.

You can’t perform that action at this time.