Selenium IDE - There was an unexpected Confirmation!
        Posted  
        
            by Ula Krukar
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Ula Krukar
        
        
        
        Published on 2010-01-14T08:21:24Z
        Indexed on 
            2010/03/22
            16:01 UTC
        
        
        Read the original article
        Hit count: 797
        
I have a button that displays Javascript confirmation popup. This is a part of my test case:
<tr>
    <td>clickAndWait</td>
    <td>buttonId</td>
    <td></td>
</tr>
<tr>
    <td>verifyTextPresent</td>
    <td>Object has been deleted</td>
    <td></td>
</tr>
It works as expected: OK is clicked automatically on a popup and verifyTextPresent return true. Still, I get [error] There was an unexpected Confirmation! in the log and test case fails.
Any suggestions?
© Stack Overflow or respective owner