how can i use Parametrization in selenium IDE -


i have given login page test,i wish test using selenium ide. manually tested scenario different login values. best way test scenario in selenium

try creating xml file (say testlogin.xml) stores logins want use

<testdata>     <vars uname=”user1” pword=”password1”/>     <vars uname=”user2” pword=”password2”/>     <vars uname=”user3” pword=”password3”/> </testdata> 

in test after have opened login page put in following steps

<tr>     <td>formxml</td>     <td>location of testlogin.xml</td>     <td></td> </tr>  <tr>     <td>type</td>     <td>location of username field</td>     <td>${uname}</td> </tr>  <tr>     <td>type</td>     <td>location of password field</td>     <td>${pword}</td> </tr> 

at end of test

<tr>     <td>endforxml</td>     <td></td>     <td></td> </tr> 

i new selenium , found method worked case.


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -