FYI
combo = ie.ie.document.getElementById(id).object
combo.SetTextValue(value)
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=3510messageID=9955#9955
___
Hi,
The London Ruby User Group have hoisted up a site of Ruby presentations.
Two that may be of interest to us are:
1) ruby_testing_techniques
2) ruby_dsl_presentation_tiest_2006
http://svn.lrug.org/lrug_sandbox/presentations/
aidy
Hi there, I'm still a novice when it comes to using regular expressions and am having a bit of difficulty figuring out the syntax on the following problem.Here's what I want to do:- I'm trying to create a branch in the code if the PageHeadingLabel contains one of two words.
Here's the line that
Sweet! Worked like a charm. Thanks. Learned something new today. I guess I can go home now. ;-)Cheers! Paul.On 15/08/06, Dave Hoover
[EMAIL PROTECTED] wrote:Yep, use the String#match method.
http://www.ruby-doc.org/core/classes/String.html#M000583
___
Paul Carvalho wrote:
if t_ie.span(:id, /PageHeadingLabel/).text.include?( /Create|Update/ )
the include? method is for strings, not regular expressions. Try:
if t_ie.span(:id, /PageHeadingLabel/).text.match( /Create|Update/ )
or
if t_ie.span(:id, /PageHeadingLabel/).text =~ (
Hi all,
I am new to Watir and
Ruby. I saw the document (which is really good, btw) and it talk about one
scenario of using regular expressions like below.
ie.link(:url,
/shtml/).click
This one, I believe,
will look for the term in a string. What I need do to only look for the
On 8/15/06, Astha Raj [EMAIL PROTECTED] wrote:
What I need do to
only look for the string which ends with the given section. For example, I
have two form fields with id like
FormName_Name1 and FormName_Name1New
So when I use the Watir statement like –
Dave Hoover wrote:
On 8/15/06, Astha Raj [EMAIL PROTECTED] wrote:
What I need do to
only look for the string which ends with the given section. For example, I
have two form fields with id like
FormName_Name1 and FormName_Name1New
So when I use the Watir statement like –
I am running watir 1.5.1.1065
I am simply calling set on a text_field, and I get this error:
WIN32OLERuntimeError: Unknown property or method `scrollIntoView'
HRESULT error code:0x80010004
The caller is dispatching an asynchronous call and cannot make an
outgoing call on behalf of
im calling ie.text_field(:name, /name/i).set(blah)
HTML of textfields is:
tr valign=middle
td width=85User Name/td
td width=100input
name=ctl00$ContentPlaceHolderContentMain$UserName type=text
id=ctl00_ContentPlaceHolderContentMain_UserName //td
td
note, getting the textfield by id, without a regex. works fine.
-Mase (james)
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=3607messageID=10005#10005
___
This appears to be a larger problem.
Any element that is found with a regular expression passed as the value.
Seems subsequent messages to that object results in the above error.
IE crashes as well.
-Mase
-
Posted via Jive Forums
12 matches
Mail list logo