cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Detect user actions performed by selenium browser based scripts

heramb_sawant
Organizer

Hi Team,
QA Team is executing selenium browser based scripts which perform user actions , can dynatrace  detect those user actions and give us APDEX, visual complete score?? Any specific configuration is quired to detect that selenium traffic??

Regards,
Heramb Sawant

7 REPLIES 7

heramb_sawant
Organizer

Please help me on this 🙂

Yes, it will work. As long as you execute the test in any automation tool processing also javascript (e.g. in a browser, not just HTTP requests), it will create a user session. Then it's up to you how you need to differentiate between the real user and the automation tool session (likely by using user tag). Just be sure you don't have any exclusions on IP addresses or cost control  in your web application - then the user session is not captured.

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi,

You have here an article about Dynatrace +  Selenium.

It can provide you some ideas.

Bets regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

Hi 
Thanks for the response  and reference link.

There are 5selenium script exist, they all perform   separate actions. out of 5 only 3 are detected in Dynatrace.

but 2 are not detected . there is no exclusion on IP addresses or cost control.

Did you check if in those missing action you get the Dynatrace JS?

EmilieDubos
Observer

Hi,
We had the same need. We modified the UserAgent in the Selenium script and then we created a RequestAttribute in order to filter on the request header with the userAgent parameter.

GosiaMurawska
Community Team
Community Team

Hi @heramb_sawant 
Have you managed to solve the problem? It would be great if you shared the solution with the Community users 🙂

Featured Posts