12 Mar 2024 04:23 PM - last edited on 10 May 2024 04:00 PM by Michal_Gebacki
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
13 Mar 2024 07:51 AM
Please help me on this 🙂
13 Mar 2024 08:03 AM
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.
13 Mar 2024 08:27 AM
Hi,
You have here an article about Dynatrace + Selenium.
It can provide you some ideas.
Bets regards
13 Mar 2024 09:29 AM
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.
10 May 2024 10:53 AM
Did you check if in those missing action you get the Dynatrace JS?
10 May 2024 09:36 AM
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.
13 Aug 2024 03:11 PM
Hi @heramb_sawant
Have you managed to solve the problem? It would be great if you shared the solution with the Community users 🙂