Hi Guys
I am trying to enter some text in the textbox through Watir ,
but it is not able to enter text directly in the textbox until I click on
web page area.
When I click on any where on the page area then it shows description string
in Textbox.
I used set focus method but still it has a problem.
I have to data driven testing. help me to resolve this
Here is the piece of code that I used.
ie.bring_to_front()
ie.text_field(:id,"short_desc").focus()
ie.text_field(:id,"short_desc").set "Description"
<td nowrap colspan=2>
<span id="bugid_label" class="lbl">Description: </span>
<span id="bugid" class="static"></span>
<span id="static_short_desc" class="static" style="width:500px;
display:none;"></span>
<input name="short_desc" type="text" id="short_desc" class="txt"
size="100" maxlength="200" />
<span id="short_desc_err" class="err"> </span>
Best regards,
KiranD
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines:
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---