How to configure visual playback of web application (using Chrome) Follow
This article describes how to configure Service Manager to support visual playback of a web application flow (HTML based) with a real browser (chrome).
The playback in this mode supports both silent playback (multi users) and visual playback (single user at a time).
This setup is only relevant for ServiceManager that is installed on a Windows machine
Setup the Service Manager
- Download chrome browser from Chrome (v122 for tests) and unzip to your local file system
- Download chrome driver from ChromeDriver (for chrome v122) and unzip to your local file system
note: it is possible to download different version of chrome and chrome driver as long as they are compatible. For more version look at Chrome for testing - In ServiceManager go to admin/system properties
- In the system properties section search for a property called "HTML_CHROME_BINARY". Set the value to the chrome binary
(e.g. HTML_CHROME_BINARY = C:/AuraPlayer/ChromeDriver/chrome-win64/chrome.exe) - In the system properties section search for a property called "HTML_CHROME_DRIVER". Set the value to the chrome driver binary
(e.g. HTML_CHROME_BINARY = C:/AuraPlayer/ChromeDriver/chrome-win64/chrome.exe) - If you want the playback to be visual search for the property HTML_DEBUG_JAVASCRIPT and set it to true (e.g. HTML_DEBUG_JAVASCRIPT = true)
note: When running in visual mode only 1 user may run at a time - Save the system properties
Setup HTML Service to play with a real browser (chrome)
- Edit the HTML service definition
- On the "Advanced Details" section change Browser Compatibility to "ChromeDriver"
Note: If ServiceManager was set for Visual playback when running the service a chrome window will open and you will see the playback as it goes
(sometime the chrome window appears only on the taskbar and you need to click it in order to make it visible).
If the ServiceManager was not set for visual playback the Chrome window will be hidden and yo will be able to run multiple users at the same time
Comments
0 comments
Please sign in to leave a comment.