I'm looking to store a value from a popup box, split it into two and then use one of them to enter in a text box. The content I want is Document ID.
<div id="approval-dialog" class="modal hide fade in" style="display: block;" aria-hidden="false">
<div>
<div class="modal-header">
<div class="modal-body">
<div id="DialogError" class="hide"> </div>
<form id="ApprovalForm" class="form-horizontal" method="post" action="/Practice/Approve">
<div class="approved">
<div class="well well-small"> The following approval certificate has been applied to - EMED.pdf </div>
<div class="well well-small certificate">
<ul>
<li>Name: Client 001</li>
<li>
TimeStamp: 18/03/2013 11:49
<span>(UTC)</span>
</li>
<li>Document ID: 11330922E6258</li>
</ul>
</div>
</div>
</div>
<div class="modal-footer">
</div>
</div>
So far I have: StoreText | //div[@id='approval-dialog']/div/div[2]/div[2]/div[2]/ul/li[5] | DocumentID (Not sure how to split it) Type | id=TrackingID | ${DocumentID}
Note: Echoing displays the Document ID variable as : Document ID: 11330922E6258
I'd like the 11330922E6258 to be able to do a search in the Tracking ID box