insert a value in a input field using selenium and phpunit -


<table id="regtable" class="gstable" cellspacing="0" cellpadding="0" style="margin: 20px auto 0px; width: 450px; padding: 5px; font-size: 12px;"> <tbody> <tr> <td width="50%">email address</td> <td> <input id="useremail" class="validate[required,custom[email]]" type="text" name="useremail" style="border: 1px solid rgb(187, 187, 187); box-shadow: 0px 0px 0px rgb(255, 255, 255);"> 

how can insert value in input field using selenium , phpunit?

well question not precise assuming you've got selenium , phpunit installed , want know methods use this:

$this->byid('useremail')->value('testmail@live.com'); 

that should insert text "testmail@live.com" in input filed id "useremail".


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -