Very well explained, thanks for all the details and you have covered it from very much basics.Appreciate the time taken to share the same. Will be sharing with other forums. Best selenium training institute in chennai
Thanks for sharing the best practices, will definitely use it as a reference for our projects.Please keep sharing such articles.
For Selenium IDE.
ReplyDelete<tr>
<td>verifyHtmlSource</td>
<td>*Text is here*</td>
<td></td>
</tr>
<tr>
<td>verifyHtmlSource</td>
<td>*Text i here*</td>
<td></td>
</tr>
Basic question here, but how do you actually put the above code into IDE? I'm having a hard time getting it to work!
Deletehi Niraj.Do you know how to do white box testing in Junit? If yes,Please tell me how to use verifyForward command.Thanks in advance
ReplyDeleteHi Niraj, could you please me on how to verify the following HTML source...
ReplyDeletetry { Add('/si/prdview','type=search&prd=NE430,NE431&price=350.00,350.00,12.79&query=exact%3Acoffee%3A&hits=58');
} catch(err) { /* fail without notification */ }
From the above source I want to verify whether values 'type,prd,price,query,hits' are present.
I am using the following code to verify the presence of words once at a time. I want to do it all in one command..
storeHtmlSource|Source1|
verifyEval|javascript{storedVars['Source1'].indexOf("type",0) > 0}|true
verifyEval|javascript{storedVars['Source1'].indexOf("prd",0) > 0}|true
please reply me asap...thankx.
Hi i found the solution to the above mentioned issue...here u go..
ReplyDeleteverifyEval|javascript{storedVars['Source1'].indexOf("type",0) > 0 && storedVars['Source1'].indexOf("prd",0) > 0}|true
Thanks.
Thanks , it is really a very useful information ...
ReplyDeleteVery well explained, thanks for all the details and you have covered it from very much basics.Appreciate the time taken to share the same. Will be sharing with other forums.
ReplyDeleteBest selenium training institute in chennai
Thanks for sharing the best practices, will definitely use it as a reference for our projects.Please keep sharing such articles.
Thanks a lot!!