Selenium test problem with dialog
I wanna use **selenium** for testing my web app.

It works ... but ...

For the confirm dialog box I've rewrite the method 

    function confirm(text,cbk) {
                                    $.prompt(text,{
                                        buttons:{Ok:true, Cancel:false},
                                        opacity: 0.3,
                                        overlayspeed: 'fast',
                                        promptspeed: 'slow',
                                        callback: function(v,m){
                                            if(v){
                                                cbk.call();
                                            }
                                            else{

                                            }
                                        }
                                    });
                                }

I was used **jquery** and the plugin **Impromptu** for the graphic of the confirm box.

I record my test with Selenium IDE.
After I start my test and the test fail.
The test is "*click in a link and should be appear the dialog box (impromptu style), and after that I wanna press key 'Ok'*"

What is the problem?

Please help me,

Regards,

Tommaso
Selenium test problem with dialog
===

I wanna use **selenium** for testing my web app.

It works ... but ...

For the confirm dialog box I've rewrite the method 

    function confirm(text,cbk) {
                                    $.prompt(text,{
                                        buttons:{Ok:true, Cancel:false},
                                        opacity: 0.3,
                                        overlayspeed: 'fast',
                                        promptspeed: 'slow',
                                        callback: function(v,m){
                                            if(v){
                                                cbk.call();
                                            }
                                            else{

                                            }
                                        }
                                    });
                                }

I was used **jquery** and the plugin **Impromptu** for the graphic of the confirm box.

I record my test with Selenium IDE.
After I start my test and the test fail.
The test is "*click in a link and should be appear the dialog box (impromptu style), and after that I wanna press key 'Ok'*"

What is the problem?

Please help me,

Regards,

Tommaso