views:

43

answers:

0

Hi,

I'm using selenium for auto testing .

Though the reference manual says it doesnt support Javascript. Would like to know if any alternative is there for passing confirm dialog box ??

My script is failing when trying to click "OK" on confirm box .

Failing at this line

    assert /^Quantity Unavailable\. Do you want to continue[\s\S][\s\S]$/ =~ @selenium.get_confirmation

Gives error "OR: There were no confirmations"

Can any one have a solution ?

thanks in advance,
srinath.