Support Overview

Tutorials

Client API Usage Examples

Upgrade Information

FAQ

New Release History

You are here:   Visualware >   MyConnection Server >   Support >   Client API Usage Examples >   Displaying the Test ID once the test has finished

Displaying the Test ID once the test has finished



Code Required

Copy the code below between the <head> </head> sections of the web page.

<script>

function showTestId(testid) {

document.getElementById('iddiv').innerHTML = "<b>Test ID:</b> " + testid;

}
</script>


Add the JS param to the applet tags, as shown below. This calls the function above when the test is complete and passes the Test ID.

<param name="js" value="showTestId($MSSID$)">

Add this <div> in the position the Test ID should appear on the page once the test has finished.

<div id="iddiv"></div>


 

MyConnection Server

Home
Online Testing Portal
Download
Purchase
Resources
Support

Visualware Products

VisualRoute
eMailTrackerPro
Visual IP Trace

   

© Visualware Inc. 2017 - All Rights Reserved