Fabasoft app.test calls the URL to test with the additional URL parameter
This script file is originally located in the Fabasoft app.test installation (Studio or Agent): /jsadaptor/api/apptest.js. It must be made available on the web server.
If you want to implement a custom connector to test your web page, you can modify the apptest.js API file on your web server. Search for the line containing the connect call (com_fabasoft_apptest_jsadaptor.JSAdaptor.connect) and adjust the paths to your connector files and the constructor expression. The paths can point to files on your web server, relative to the page where test apptest.js file is included.
To implement an own connector, you have to provide a TypeScript class which implements the com_fabasoft_apptest_jsadaptor.IConnector interface and subsequently a class which implements the com_fabasoft_apptest_jsadaptor.IControl interface. The doAction method of IControl returns objects created by the (static) methods done, error or warning of the com_fabasoft_apptest_jsadaptor.Result class.
How to implement the methods required, see the TypeScript interface definition files itself. The files are located in the jsadaptor directory of the Fabasoft app.test installation (Studio or Agent).
To provide basic authentication, the apptestbasicauth.html API file (/jsadaptor/api/apptestbasicauth.html) must be made available on your web server. The script sends the credential information via an XMLHttp-Request to your web server and if succeeded, redirects the browser to the application URL. The script must originate from your web server as the authentication request is only possible from the same origin. It must be reachable anonymously. There are no modifications on the file required.
When launching the browser with Fabasoft app.test, the URL to this file (relative to the application URL) must be configured in the browser tab of the run dialog (Configuration Run.browserbasicauthurl).