Unable to handle alert pop ups

Ask general questions here.
samarthpukale
Posts: 8
Joined: Tue Feb 19, 2019 7:44 am

Unable to handle alert pop ups

Post by samarthpukale » Mon Mar 18, 2019 12:05 pm

Hi Team,

I am unable to handle the Alert Web Messages coming on the screen.
I have attached the screenshot for it.
Please find the attached screenshot.
Last edited by samarthpukale on Mon Mar 18, 2019 1:56 pm, edited 1 time in total.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 5052
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Unable to handle alert pop ups

Post by odklizec » Mon Mar 18, 2019 12:28 pm

Hi,

I’m afraid, Screenshot is not helpful. Could you please create and share a Ranorex snapshot of entire page? Also, have you tried to examine the page with Ranorex Spy and search the popup in Dom tree?
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

samarthpukale
Posts: 8
Joined: Tue Feb 19, 2019 7:44 am

Re: Unable to handle alert pop ups

Post by samarthpukale » Mon Mar 18, 2019 1:04 pm

Hi Team,

I did try with spy. but it is not locating the pop up frame and ranorex gets hang.
Please help me with how to handle this kind of alerts.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 5052
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Unable to handle alert pop ups

Post by odklizec » Mon Mar 18, 2019 1:11 pm

Hi,

I'm afraid, it's impossible to tell how to handle this popup, without seeing the problem in action, or at very least, Ranorex snapshot. So if you are unable to save the snapshot of entire page (DOM), I would suggest you to contact Ranorex support, via their support form and request a remote session with them. Once they see the problem in action, they may be able to suggest a solution/workaround.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

User avatar
Vega
Posts: 160
Joined: Mon Jul 11, 2016 2:15 pm

Re: Unable to handle alert pop ups

Post by Vega » Tue Mar 19, 2019 5:53 pm

FYI a lot of the time alerts come from the browser form object rather than the DOM depending on how the alert was implemented. If you look at the application tree in Spy, all websites / web applications will show up as a DOM object, but you will also see the browser form object as well usually lower in the tree. However as odklizec mentioned, it will be difficult to assess the issue without a Ranorex snapshot.

Hope this helps