selenium rc - Not redirecting to next page -


i have recorded script in selenium ide , working fine it. have login form, after successful login should redirect dashboard. when run through selenium rc not redirecting dashboard after clickandwait. chrome says page not available when reload page working. me.

selenium rc: selenium-server-standalone-2.34.0 selenium version: selenium ide 2.2.0 os:windows 7 browser:firefox, chrome browser version: firefox 23

code:

<tr> <td>setspeed</td> <td>1000</td> <td></td> </tr>  <tr> <td>open</td> <td>login.aboutone.com/</td>; <td></td> </tr>  <tr> <td>waitforpagetoload</td> <td>50000</td> <td></td> </tr> <tr> <td>waitforelementpresent</td> <td>id=login_form</td> <td></td> </tr>  <tr> <td>type</td> <td>id=username</td> <td>uitest+aotest13763045730@abc.com</td> </tr> <tr> <td>clickandwait</td> <td>css=input.btn.primary</td> <td></td> </tr>  <tr> <td>type</td> <td>id=password</td> <td>xyx$</td> </tr>  <tr> <td>clickandwait</td> <td>css=input.btn.primary</td> <td></td> </tr>  

try following:-

  1. remove waitforpagetoload test - open command automatically waits.

  2. remove first clickandwait command.

  3. remove setspeed command - not yet implemented.


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -