Access confirmation boxes

23 views
Skip to first unread message

mada

unread,
Oct 8, 2010, 8:28:18 AM10/8/10
to FuncUnit
Hello,

It is possible to access with funcunit the application's confirmation
boxes that appears before performing a certain action?

Thanks.

Justin Meyer

unread,
Oct 8, 2010, 8:46:31 AM10/8/10
to func...@googlegroups.com
Before you cause the action that will pop up the confirm, you should be able to do something like:

S.confirm(true);
S('.destroy').click();


Justin Meyer

Jupiter Consulting
\Development\Training\Support
847-924-6039
justin...@gmail.com

mada

unread,
Oct 8, 2010, 9:28:46 AM10/8/10
to FuncUnit
S('.destroy').click() is the action that pops up the confirmation box?

On Oct 8, 3:46 pm, Justin Meyer <justinbme...@gmail.com> wrote:
> Before you cause the action that will pop up the confirm, you should be able
> to do something like:
>
> S.confirm(true);
> S('.destroy').click();
>
> Justin Meyer
>
> Jupiter Consulting
> \Development\Training\Support
> 847-924-6039
> justinbme...@gmail.com

mada

unread,
Oct 12, 2010, 9:23:25 AM10/12/10
to FuncUnit
I tried using S.confirm(true) before causing the action, but it
doesn't work, the confirmation box is still there. :(
Reply all
Reply to author
Forward
0 new messages