Share
Go down
kumar4590
Posts : 1
Join date : 2013-11-22

Nested way of locating elements

on Fri Nov 22, 2013 3:38 pm
Hi

what is the nested way of  identifying id=HousingRepairs_about-directi-debit-form:addressSelector:postcode  in the below code using webdriver?


Code:
<div class="fieldset-container">


<fieldset>


<h3>


<span id="HousingRepairs_about-directi-debit-form:addressSelectedLabel">Your address</span>


</h3>





<div id="HousingRepairs_about-directi-debit-form:addressSelector:address-search-content" class="address-content-panel">


<div id="HousingRepairs_about-directi-debit-form:addressSelector:address-search-input-panel" class="search-panel">


<span id="HousingRepairs_about-directi-debit-form:addressSelector:search-validation"></span>


<fieldset>


<div class="field-label-group">


<label for="HousingRepairs_about-directi-debit-form:addressSelector:postcode">


<span class="mandatory">*</span>


Postcode


</label>


<input id="[b]HousingRepairs_about-directi-debit-form:addressSelector:postcode[/b]" class="small-input" type="text" title="Please enter a postcode" onkeypress="return event.keyCode != 13" value="" name="HousingRepairs_about-directi-debit-form:addressSelector:postcode">


</div>


thanks
kumar
Back to top
Permissions in this forum:
You cannot reply to topics in this forum