We are trying to get the value out of the follows element
When checking with querySelector we see the value
Within dynatrace we are trying to tag the user with #hdnUserNT@value or any other way the session but with no success.
Can it because of it start with input? or something else that we are missing or doing wrong?
Thanks in advance
Solved! Go to Solution.
Yes we used the copy css selector
When using Chrome it seem to work OK but all the users are using IE
@Yos N. the reason is that you are trying to get value from input. This rules are generaly (according to my knowledge) usefull for element like span, div etc, not for input. Because Dynatrace is trying to get not value of element, but content of element. For input it's not possible. If code is managed by you, you can create extra element, or better, global JS variable which will provide value for you.
Thanks for the information
Will try to change the type of the filed and / or use a global JS varibale
Yup, agree with Sebastian (Also based on experiences and failures I've ran into 🙂 although I couldn't find any articles or knowledges or book that 100% confirm this).
But like Sebastian said, you would have a higher chances of success if try to extract it from value instead of users' input. So maybe, try to extract it from web pages after login, instead of InputTextBox that wait for users input.