UnexpectedAlertPresentException- How to handle the alert in RFT

62 views
Skip to first unread message

Ananda Kumar

unread,
Feb 20, 2019, 7:04:38 AM2/20/19
to robotframework-users

Hi,

Any one help me on this, i am getting UnexpectedAlertPresentException for running thr test case
How to handle the alert in RFT

Error message

UnexpectedAlertPresentException: Alert Text: None
Message: unexpected alert open: {Alert text :
   (Session info: chrome=72.0.3626.109)
  (Driver info: chromedriver=2.45.615291 (ec3682e3c9061c10f26ea9e5cdcf3c53f3f74387),platform=Windows NT 6.1.7601 SP1 x86_64)

20190220 17:24:37.287 :  WARN :

Thanks
Ananda

Tatu Aalto

unread,
Feb 20, 2019, 11:09:38 AM2/20/19
to anandak...@gmail.com, robotframework-users
Ugh

Have you tried to close the alert?

-Tatu
Send from my mobile

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.

Ananda Kumar

unread,
Feb 20, 2019, 12:33:09 PM2/20/19
to Tatu Aalto, robotframework-users
Yes, I have tried to close the alert, but not able to close the alert

Please tell any library required to add
How to handle the alert

Thanks & Regards
Ananda


Tatu Aalto

unread,
Feb 21, 2019, 1:27:50 AM2/21/19
to Ananda Kumar, robotframework-users
Ugh

Well, could you provide more context to your problem? because we don't see what triggers the alert, what you have done to solve the problem, how it did it worked, what did you except and what was the full stack trace of the possible errors. For further reading about smart questions http://www.catb.org/esr/faqs/smart-questions.html


-Tatu
Send from my mobile
Reply all
Reply to author
Forward
0 new messages