...
Code Block |
---|
browser.link( "AanmeldenLogin" ).in( browser.listItem( "loginInfo" ) ).click(); |
...
In case you did not know: SAHI often checks multiple fields based on the argument.
In the above it will look for an A element with:
- OR the tekst Aanmeldentext Login
- OR id attribute Aanmeldenattribute Login
- OR title attribute Aanmeldenattribute Login
- OR class attribute Aanmeldenattribute Login
Be aware that you don't know which value will win.
...
Code Block |
---|
// <a href="blabla">dit>this is <strong>tekst<<strong>text</strong></a> browser.link("ditthis is teksttext") // <label>Naam<span<label>Name<span class="required">*</span></label> browser.label("NaamName*") // mind the spaces! // <tr><td>eerste<tr><td>first cell</td><td class="active">ja</td></tr> browser.row("/eerstefirst cell/") |
Happy testing...