Discussion:
[selenium-users] Error on "Choose ok on next confirmation"
Yuri Santos
2018-09-05 17:36:40 UTC
Permalink
Hi, i am trying to run a simple test with 2 steps:
1. choose ok on next confirmation
2. Click at some button that open a prompt confirmation


Expected results: open prompt and selenium ide choose the ok option to
proceed to another steps

what happen: selenium ide is giving the following error:
"1. chooseOkOnNextConfirmation on ... Failed:

e is undefined"


I am not getting whats going on, yesterday i was able to run tests with
this command.


Informations:
Selenium IDE 3.3.1
Firefox 61.0.2
Mac OS X 10.13
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/b280538e-9b4f-4fec-8ac4-6d8d30479132%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
sachin patil
2018-09-07 04:10:49 UTC
Permalink
You can use bello alert method.

Driver.switchTo().alert.accept();

Driver.switchTo().alert.dismiss();

Otherwise find element from that popup and click.



Help me know if this works.
Post by Yuri Santos
1. choose ok on next confirmation
2. Click at some button that open a prompt confirmation
Expected results: open prompt and selenium ide choose the ok option to
proceed to another steps
e is undefined"
I am not getting whats going on, yesterday i was able to run tests with
this command.
Selenium IDE 3.3.1
Firefox 61.0.2
Mac OS X 10.13
--
You received this message because you are subscribed to the Google Groups
"Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an
To view this discussion on the web visit
https://groups.google.com/d/msgid/selenium-users/b280538e-9b4f-4fec-8ac4-6d8d30479132%40googlegroups.com
<https://groups.google.com/d/msgid/selenium-users/b280538e-9b4f-4fec-8ac4-6d8d30479132%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAA_T2rGfC-H%3D6jzRvbx18A_yUaZd-MQCPs39kokguh46FpcAWg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Yuri Santos
2018-09-10 16:10:50 UTC
Permalink
Hi Sachin. Thanks for the response

I am using selenium IDE plugin on firefox, how can i call these functions
you are mentioning?
Post by sachin patil
You can use bello alert method.
Driver.switchTo().alert.accept();
Driver.switchTo().alert.dismiss();
Otherwise find element from that popup and click.
Help me know if this works.
Post by Yuri Santos
1. choose ok on next confirmation
2. Click at some button that open a prompt confirmation
Expected results: open prompt and selenium ide choose the ok option to
proceed to another steps
e is undefined"
I am not getting whats going on, yesterday i was able to run tests with
this command.
Selenium IDE 3.3.1
Firefox 61.0.2
Mac OS X 10.13
--
You received this message because you are subscribed to the Google Groups
"Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an
<javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/selenium-users/b280538e-9b4f-4fec-8ac4-6d8d30479132%40googlegroups.com
<https://groups.google.com/d/msgid/selenium-users/b280538e-9b4f-4fec-8ac4-6d8d30479132%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/1cf67fc5-78c1-41ea-addc-484a4c38a4e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Vikas Thange
2018-09-11 01:23:30 UTC
Permalink
Hi Yuri,

Can you please share your locator , and code snippet with me on
***@gmail.com, I can help you.

*About Me*: I am automation testing expert for web and mobile with 8 years
of experience. I love helping people in my free time. I also share
Sutomation testing videos on my youtube channel for helping people to learn
automation testing free of cost. Subscribe to my channel here:
https://www.youtube.com/channel/UCfqWIItuklKkFWIUr6DHFEw

Thanks,
Vikas Thange.
Post by Yuri Santos
Hi Sachin. Thanks for the response
I am using selenium IDE plugin on firefox, how can i call these functions
you are mentioning?
Post by sachin patil
You can use bello alert method.
Driver.switchTo().alert.accept();
Driver.switchTo().alert.dismiss();
Otherwise find element from that popup and click.
Help me know if this works.
Post by Yuri Santos
1. choose ok on next confirmation
2. Click at some button that open a prompt confirmation
Expected results: open prompt and selenium ide choose the ok option to
proceed to another steps
e is undefined"
I am not getting whats going on, yesterday i was able to run tests with
this command.
Selenium IDE 3.3.1
Firefox 61.0.2
Mac OS X 10.13
--
You received this message because you are subscribed to the Google
Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send
To view this discussion on the web visit
https://groups.google.com/d/msgid/selenium-users/b280538e-9b4f-4fec-8ac4-6d8d30479132%40googlegroups.com
<https://groups.google.com/d/msgid/selenium-users/b280538e-9b4f-4fec-8ac4-6d8d30479132%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an
To view this discussion on the web visit
https://groups.google.com/d/msgid/selenium-users/1cf67fc5-78c1-41ea-addc-484a4c38a4e3%40googlegroups.com
<https://groups.google.com/d/msgid/selenium-users/1cf67fc5-78c1-41ea-addc-484a4c38a4e3%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CALurmazfvX6x71CLZ2ko14kXHaX%3DAwc1Oo2gjE3h_6R_0GJNOQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Continue reading on narkive:
Loading...