How to deal with two confirmation dialogs in a button

View: New views
2 Messages — Rating Filter:   Alert me  

How to deal with two confirmation dialogs in a button

by Marcos Sousa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

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

by tommy234 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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