naturally.
Thank you
On Thursday, April 11, 2013 11:38:32 AM UTC+2, CrazyFrog wrote:
>
> Is it possible to use a variable to find an element.
> see the example below
>
> searchParams = :name => "something", :class =>"else"
>
Is it possible to use a variable to find an element.
see the example below
searchParams = :name => "something", :class =>"else"
element = $browser.element(searchParams )
element.to_subtype.click
regards
CrazyFrog
--
--
Before posting, please read ht
Is it possible to press a TAB-key after i set text.
Can i do something like this:
browser.text_field(:name => "q").*set* "We are the People #{:TAB}"
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
http://groups
, CrazyFrog wrote:
>
> When i search for a checkbox and click on it, it always click the checkbox
> below the checkbox i find
>
> lists = $browser.element(:id => checkboxgroup).to_subtype.lis
> lists.each do |li|
> chckbx = li.text
> if
x27; but when
i say 'li.checkbox.set'
then the checkbox with the text 'FB, Facilitair Bedrijf' will be checked.
On Thursday, September 27, 2012 11:56:51 AM UTC+2, CrazyFrog wrote:
>
> When i search for a checkbox and click on it, it always click the checkbox
> below the check
here a snipped of the code i use
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
AB, Algemene Beleids- en Bestu
When i search for a checkbox and click on it, it always click the checkbox
below the checkbox i find
lists = $browser.element(:id => checkboxgroup).to_subtype.lis
lists.each do |li|
chckbx = li.text
if chckbx.strip == "check box to find"
l
Željko
how can this solve my problem? i don't understand how i can use this.
Can you gave me a short example?
CrazyFrog
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
http://groups.google.com/group/
When i want to select the text "GW E&B stuurgroep" from a text box then i
get an error message
I use the follow code to select the text : $browser.element(:id =>
"myDropdownbox").to_subtype.select "GW E&B stuurgroep"
The error message that i get is : ERROR: "GW\u00A0E&B\u00A0Stuurgroep" not
fo
thank you, that is the solution.
Raymond
Op maandag 18 juni 2012 12:34:52 UTC+2 schreef Željko Filipin het volgende:
>
> On Mon, Jun 18, 2012 at 10:33 AM, CrazyFrog
> wrote:
> >
> c:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.0.0/lib/watir-classic/element.rb:433:in
>
Hello i have a question
I want to use the follow script
require 'watir'
include Watir
ie = Watir::IE.new
ie.goto("http://google.com";)
ie.element(:name, "q").set("Watir")
But i get the follow error message:
c:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.0.0/lib/watir-classic/element.rb:43
Thank you! This is exactly where I was looking for.
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
when i use watir and Selenium i can search for an element using
myElement = $browser.find_element(:aFieldName => aValue)
Can i do the same in Watir without using the selenium gem?
After i have found the element i want to call some functions like
click or set text functions is that possible?
Regar
13 matches
Mail list logo