« Return to Thread: How to deal with two confirmation dialogs in a button

Re: How to deal with two confirmation dialogs in a button

by tommy234 :: Rate this Message:

Reply to Author | View in Thread

hi,
Check out solution your problem here
http://seleniumforum.forumotion.net/index.htm
bye
Marcos Sousa wrote:
Hello,

I have one button that has a onclick javacript that shows 2 confirmations dialog. I have would like to know to cancel the second confirmation like:

chooseOkOnNextConfirmation ("Are sure about updating this record?")
chooseCancelOnNextConfirmation ("Would you like to save a copy before saving the changes?")


But, doing this it will cancel the first confirmation dialog and my workflow will break. Is anyone have an idea do solve this problem?

Thanks

 « Return to Thread: How to deal with two confirmation dialogs in a button