Skip to main content

Sharing Test Results on TestMu AI


TestMu AI lets you share individual test results with team members. Retrieve the Session ID from your test script, then build a shareable URL for automation logs or execution videos.

Get the Session ID


Retrieve the Selenium Session ID programmatically so you can build shareable result URLs.

Every test session on TestMu AI has a unique Session ID. Use the code below to retrieve it in your preferred language:

import org.openqa.selenium.remote.SessionId;

SessionId session = ((RemoteWebDriver) driver).getSessionId();
System.out.println("Session ID: " + session.toString());

Once you have the Session ID, share the automation logs URL with your colleague:

https://automation.lambdatest.com/logs/?sessionID=YOUR_SESSION_ID

Share Your Test Execution Video


Build a shareable URL using the TestID/SessionID and an MD5-generated auth token.

You can share a video recording of any test execution. Build the URL in the following format:

https://automation.lambdatest.com/public/video?testID={testid/sessionid}&auth=AUTH_TOKEN

Step 1 - Get Your TestID or SessionID

Go to the Automation Dashboard and click on the test whose ID you need. Click the "i" button on the status bar to access the test metadata.

Automation dashboard showing test details

After clicking the "i" button, you will see the test metadata including the SessionID.

Test metadata with SessionID

For example, if your SessionID is HJKXM-RHZL1-SVPWY-AB8X6, the URL becomes:

https://automation.lambdatest.com/public/video?testID=HJKXM-RHZL1-SVPWY-AB8X6&auth=AUTH_TOKEN

Step 2 - Generate the AUTH_TOKEN

Create the AUTH_TOKEN by computing an MD5 hash of your username:access_key string.

MessageDigest m = MessageDigest.getInstance("MD5");
String s = "username:access_key";
m.update(s.getBytes(), 0, s.length());
System.out.println("MD5: " + new BigInteger(1, m.digest()).toString(16));

For example, if the generated AUTH_TOKEN is 331k534uf3toef, the final URL becomes:

https://automation.lambdatest.com/public/video?testID=HJKXM-RHZL1-SVPWY-AB8X6&auth=331k534uf3toef
note

You must be logged into TestMu AI to access the sharing URL.

Test across 3000+ combinations of browsers, real devices & OS.

Book Demo

Help and Support

Related Articles