• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Solmaz A. · Aug 23, 2012 at 06:16 AM · continuous delivery

Browser agent + ie + Selenium IDE automation doesn't give exact timer durations

Hi All,

I'm running my Selenium tests with a simple batch command script. I have not used coding languages to launch or inject Dynatrace agents in the browser and have only created simple HTML scripts with Selenium IDE and injected Dynatrace timers with the runScript function available on Selenium.
Below is the sample HTML script I've used:

<tr>
<td>runScript</td>
<td> _dt_setTimerName("Home Page")</td>
<td></td>
</tr>

<tr>
<td>open</td>
<td>/</td>
<td></td>
</tr>

<tr>
<td>runScript</td>
<td> _dt_setTimerName()</td>
<td></td>
</tr>

This works fine with Firefox browser agent, but when I launch ie with Selenium and inject a Dynatrace agent as the sample code, timers do not show the correct duration times on the Browser Performance Report Dashlet. Below is how it looks. The two arrows drawn on the chart is the extra time observed before starting/stopping the Timer.

I just want to know if others have integrated ie + Selenium + Dynatrace and if they are getting correct numbers on the Browser Performance Report Dashlet. If yes please let me know how you have integrated these three together.

Thanks,
Solmaz

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

1 Reply

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Klaus E. · Sep 03, 2012 at 03:06 PM

Hi,

The problem in this scenario is that Selenium detects when a page is done in Firefox and Internet Explorer in a different way. The closing setTimerName() call is triggered by Selenium when Selenium things everything is done on the page. In IE there is a big gap between the dynaTrace Total Load event and the Selenium "page done". Unfortunately we cannot fix the problem in Selenium.

Cheers Klaus

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

1 Person is following this question.

avatar image

Related Questions

Incomplete report in Jenkins

Jenkins plugin for dynaTrace - is it available for download?

Options for REST reporting

Test automation initial setup.

Is it better to have multiple system profiles or one system profile?

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A