When browser (IE 9) is launched normally (from Desktop or task bar) dynatrace captures all the client side traffic but when i am trying to call the browser from Selenium (an automation tool bat file) browser gets invoked & does all the activities which was done during Recording time but this time these Activities are not getting captured by Dynatrace. Can anyone help us resolve this issue
Note : Dynatrace 4.2 supports IE 9
When browser(IE 9) is launched normally (from Desktop or task bar) dynatrace captures all the client side traffic but when i am trying to call the browser from Selenium (an automation tool bat file) browser gets invoked & does all the activities which was done during Recording time but this time these Activities are not getting captured by Dynatrace.Note : Dynatrace Premium supports IE 9
Answer by Roman S. ·
Hi,
I assume you are referring to the browser agent together with Selenium. The trick here is that you have to configure the browser agent using environment variables (see the documentation for details - https://apmcommunity.compuware.com/community/display/DOCDT50/Browser+Agent+Configuration#BrowserAgentConfiguration-EnvironmentVariables). The most important one is DT_AGENTACTIVE set to true.
In case of Selenium make sure those variables are already set for the Selenium process that starts the browser. On Windows they are automatically inherited by the browser process and voilà.
Best, Roman
JANUARY 15, 3:00 PM GMT / 10:00 AM ET