Hello,
In my Ruby Web driver Scripting I want to fetch the SYSTEM DATE. I wrote
the code like this but it shows me error.
browser.frame(:name,"mainFrame").text_field(:id,"detlSancOrderDt").set(Time.now.strftime("%d/%m/%y
%x"))
My HTML Coding is in below
<div style="width: 960px;margin: 10px auto;display:">
<fieldset style="width: 96%">
<legend style="margin: auto"></legend>
<table class="form_text" style="width: 98%; margin: auto;">
<tbody>
<tr style="margin: auto;">
<td nowrap="nowrap" style="margin: auto;"></td>
<td></td>
<td></td>
<td nowrap="nowrap"></td>
<td>
<input id="detlSancOrderDt" class="false hasDatepicker" type="text"
value="" readonly="readonly" style="width:100px;text-align:center;"
name="detlSancOrderDt" autocomplete="off" tabindex="-1"></input>
</td>
</tr>
</tbody>
</table>
</fieldset>
</div>
On Fri, Apr 25, 2014 at 2:42 PM, Željko Filipin <[email protected]>wrote:
> Please provide more information.
>
> —
> Reply to this email directly or view it on
> GitHub<https://github.com/watir/watir-webdriver/issues/256#issuecomment-41373264>
> .
>
---
Reply to this email directly or view it on GitHub:
https://github.com/watir/watir-webdriver/issues/256#issuecomment-41462257_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development