31 Mar 2021 02:46 PM
Hello,
We have the following problem, there is an application (web) that we are trying to open, when we select an option from a menu, a pop-up window opens with a form. The problem is, that popup only works like this, it doesn't work like a new tab in the browser.
When we execute the recording, the pop-up window is not loaded, but is loaded as one more tab to the main sale.
Apparently there is some configuration in the application that prevents it from working as a tab, the session is closed. It only works as a pop-up window and we cannot continue recording and validate the data in the pop-up window.
1- We test the flow with the incognito window without recording and the popup window loads without problems.
2-We test the recording and the popup is loaded as a tab to the main sale.
Any solution, thanks.
Solved! Go to Solution.
31 Mar 2021 05:07 PM
Complemented the above
We have a script recorded with Vugen (Microfocus LoadRunner), this captures the dynamic values through correlations and then adds them to the URL and makes the POST request, the server responds with 200 ok code and returns all the content of the sale (the body of the HTML).
and We do not suffer with pop-ups.
Is it possible to do this with dynatrace?
Greetings.
25 Apr 2022 01:11 PM
You can add dynamic values to urls using JavaScript events. You can capture the dynamic value and save it using api.setValue(key, value) and you can then add that value to a url using {key}.
22 Apr 2022 10:54 AM
Hi everyone!
As this thread remains unanswered as of now, does anyone have some insights that would be helpful for future visitors and seekers? 🤔
Thanks in advance!
25 Apr 2022 01:07 PM
It is expected that the pop-up is loaded as a tab when run using Dynatrace Synthetic. I'm not aware of any work arounds for this. It might make a good Product Idea if you have an application that does not allow this.
20 Aug 2024 08:22 PM
Hi HannahM
Do you now if the Product Idea was created for the problem ?
Thanks
21 Aug 2024 11:22 AM
A product idea for applications where the pop-up does not work as expected when it is treated as a tab?
20 Aug 2024 08:24 PM
Hi
Did you found any solution for you problem?
Thanks
21 Aug 2024 11:20 AM
For most customers, this solution works: https://community.dynatrace.com/t5/Troubleshooting/How-to-add-conditional-JavaScript-code-to-close-t...
21 Aug 2024 01:52 PM
Hi
In my case I have the first Window to do the login steps, after that I have a Popup Window with my application in this page, I need to do any search to validate if my Application is OK, but my clickpath stops the register after de connection page, like in my image
Thanks
Luis
22 Aug 2024 09:22 AM
This would be easier checked in a support ticket.
Is your image from a playback or recording? If it's playback then I suspect the application is bypassing our player, which directs any new window requests to a new tab instead.
22 Aug 2024 02:11 PM
Hi
My image is during recording, I think the same thing
Luis
22 Aug 2024 02:15 PM
Cool. I don't think that the player moves the new window to a new tab during recording, so that should be fine. It would just be if we saw the new window being opened on playback.
22 Aug 2024 02:32 PM
Hi
The problem here is that as soon as the new window opens, the recording stops and this cuts off my synthetic test, which is a damage for us tests 😞
Luis
22 Aug 2024 02:34 PM
You can try manually adding the next events but that sounds like there's a window.close being sent that we can't prevent. A support ticket would be best for looking at this