You still haven't demonstrated if its a standard textbox control or a
hybrid,
See http://watir.com/guides/wysiwyg/
On Sunday, October 14, 2018 at 7:56:50 PM UTC-5, Sharat Oommen wrote:
> Hi all,
> I have been facing this issue with watir where i havent been able to copy
> a particular datase
You really haven't explained if it's a textbox control or a hybrid.
For example,
https://groups.google.com/forum/#!topic/watir-general/7RvP3zIdPAw
On Sunday, October 14, 2018 at 7:56:50 PM UTC-5, Sharat Oommen wrote:
>
> Hi all,
> I have been facing this issue with watir where i havent been
It may be as simple as acting on the parent element to the specific element
(i.e. like a click)
On Friday, April 13, 2018 at 9:03:42 PM UTC-5, Jeff Fagot wrote:
>
> Hello all,
>
> I am very confused by what I am experiencing.
> I am using watir 6.10.2 with firefox (did not try a different brow
Ref:
https://saucelabs.com/blog/native-vs-web-vs-hybrid-mobile-apps-testing-tools-and-techniques
On Thursday, March 29, 2018 at 8:37:23 AM UTC-5, christina wrote:
>
> Hi all,
>
> I went to an interview and their apps are native on mobile and desktop.
>
> This is new to me and I am asking here t
Check W3Shools https://www.w3schools.com/Tags/ref_standardattributes.asp
and https://www.w3schools.com/tags/att_name.asp
That attribute is not a default as far as I understand.
On Tuesday, November 21, 2017 at 9:06:36 AM UTC-6, Cooper Legeza wrote:
>
> Hello,
>
> I've been hitting exception
+1 example. Also check out w3Schools for some cool samples and
learning https://www.w3schools.com/angular/default.asp
enjoi
On Saturday, October 14, 2017 at 11:17:38 AM UTC-5, Sean Poulter wrote:
>
> Hey Raymond,
>
> I've worked with Angular 1.x for a few years. I'm pretty sure the problem
> yo
Looks like angularJS
Does the control resemble anything like the controls on
http://angular-file-upload.appspot.com
If yes file_field.set should work.
Sample code:
require "rubygems"
require 'watir'
puts 'start'
$browser = Watir::Browser.new :chrome
$browser.goto("http://angular-file-upload.ap
resent
On Thursday, August 10, 2017 at 11:23:19 AM UTC-5, Raja gopalan wrote:
>
> when_present is not necessary now because it's implicit since WATIR 6.0
> ONWARDS.
>
> On Aug 10, 2017 9:34 PM, "Super Kevy" >
> wrote:
>
>> The object may not b
The object may not be visible
The first hack is to add a sleep before the select. Not elegant but the
kludge usually works
sleep 30
A better method is to wait for it to be present
b.select_list(:id => 'entry_1').when_present.select('Ruby')
or
b.select_list(:id => 'entry_1')..wait_until_
This issue been around for a quite some time.
http://guides.rubygems.org/ssl-certificate-update/
Should help. Research the topic for steps to resolve.
On Thursday, June 22, 2017 at 2:24:17 PM UTC-5, Raja gopalan wrote:
>
> I have recently noticed that new WATIR versions released, it's 6.4 n
Ref: http://www.rubydoc.info/gems/watir-webdriver/Watir/Window
browser.window(title: "closeable window").use do
browser.a(id: "close").click
end
On Thursday, May 18, 2017 at 9:11:13 AM UTC-5, sivam wrote:
>
> Thanks Rajagopalan. I opened 2 IE Windows from watir and I tried
> Windows[n].use a
lection is done , complete select list would be
> disabled.
>
> On Mar 17, 2017 9:00 PM, "Super Kevy" >
> wrote:
>
>> Is that the way it works manually?
>>
>> Inputs can be disabled.
>> For example, https://www.w3schools.com/tags/att_op
e here is after the selection, select list is
> getting disabled, once after the selection you can't do it again.
>
> On Mar 17, 2017 8:46 PM, "Super Kevy" >
> wrote:
>
>> That would be a logical indicator. If the page refreshes object handles
>> w
t;
> Note : selection is successfully happen.
>
> On Mar 17, 2017 8:29 PM, "Super Kevy" >
> wrote:
>
>> So can't access dead object - indicates the object is no longer valid .
>> Try google search with subject "can't access dead object DOM"
own and program was terminated.
>>
>> On Thursday, March 16, 2017 at 11:20:26 PM UTC+5:30, Super Kevy wrote:
>>>
>>> So the error is intermittent, 1 of 10 failures.
>>> Your select may need to be attached to a parent object which has
>>> refreshed.
So the error is intermittent, 1 of 10 failures.
Your select may need to be attached to a parent object which has refreshed.
( a div, a table, an element, who knows)
This is based on the assumption:
b.select_list(:id,'PolicyTypeANDL').select_value
'225'
where b is just the gross browser obje
ave the select_list problem too but I will create a separate
> question for that. Our selenium framework selects successfully but Watir
> doesn't! (I will create separate thread for that)
>
>
>
>
> On Tuesday, February 14, 2017 at 11:49:32 PM UTC+5:30, Titus Fortner
So the issue occurs manually as well. That suggests maybe there is a bug.
Perhaps bad JS validation or field validation.
You can always put a static sleep as a work-around. Not elegant.
Change the sets to send keys and see if the behaviour alters.
On Monday, February 13, 2017 at 12:10:45 PM
This seems to work for me.
Use send keys :end to drive the browser scroll to the bottom of the page
Reference: #
http://watir-techniques.blogspot.com/2013/02/scroll-down-using-sendkeys-space.html
ie = Watir::Browser.new( :chrome)
ie.window.maximize()
ie.goto('shop.coles.com.au/online/mobile/na
vent on td.
> The table has been created on the page as editable html using javascipt.
> When we click on table cell, that cell becomes editable.
> On Jun 9, 2016 1:23 PM, "Super Kevy" > wrote:
>
> Looks like your table ID is not a string. You may have meant to use
Looks like your table ID is not a string. You may have meant to use index.
Your index may be zero based, I don't recall what 1.8.6 used.
If you can use chrome's inspector (or your browsers inspector) to help
figure out IDs and Names of elements it makes life easier.
Check table within http://rel
Why such and old version of Watir that version is from 2009:
https://rubygems.org/gems/watir/versions
Why not show us your code. It makes debugging for the group easier.
On Wednesday, June 8, 2016 at 10:46:45 AM UTC-5, sivam wrote:
>
> Hi all,
>
> I am using watir 1.6.5 to interact with page
Consider something like this.
browser.link(text: "Full website").parent.click
Ref:
http://stackoverflow.com/questions/19251356/how-to-access-the-following-link-element-using-watir
On Tuesday, April 19, 2016 at 6:08:52 AM UTC-5, Awesome Possum wrote:
>
> I am trying to automate tests in Ruby usi
Also consider this type of variant format. (I had to resort to this for a
funky designed control using angular js )
ie.radio(:id => 'idname', value => '0').parent.click
On Friday, April 8, 2016 at 8:38:34 AM UTC-5, Super Kevy wrote:
>
> Instead of se
Instead of set on the radio button try .click
On Thursday, April 7, 2016 at 6:53:38 PM UTC-5, Ricardo RodriguezsSalinas
wrote:
>
>
>
> El miércoles, 22 de julio de 2015, 6:24:52 (UTC-5), Mahesh Mesta escribió:
>>
>> Hi,
>>
>> I tried using browser.span(:text, 'Submit').click,
>> It worked.
>>
And when you look at whats been sent into the input is it greater then 33
chars or is it suppressed. (i.e. b.text_field(:id => "text").value)
When you submit the form are you pushing the clipped string or the full
string to the server.
Is there a maxlength and/or size attribute on the input?
On
Likely the timeout it too short
Add this prior
@b.button(:id => 'exitActionButton').wait_until_present(120)# up to 3
minutes
@b.button(:id => 'exitActionButton').click
Or use another verification point with the .wait_until_present(nSecs)
On Tuesday, January 19, 2016 at 5:41:27 PM UTC-6,
See
http://stackoverflow.com/questions/10713102/how-do-i-locate-a-custom-tag-like-g
You may be looking at something like: browser.element( :tag_name => "g"
).click
On Tuesday, December 8, 2015 at 1:53:44 AM UTC-6, ibrahim deek wrote:
>
> Can anyone help please?
>
>
--
--
Before posting, pleas
You are lacking a verification that the page is ready or the object exists.
b.button(:class => "ga_Finder_Load_More").wait_until_present(60)
b.button(:class => "ga_Finder_Load_More").click
or
b.button(:class => "ga_Finder_Load_More").when_present(60).click
On Monday, December 7, 201
Try this link and see if it fills the need.
http://stackoverflow.com/questions/15697983/directory-traversal-in-ruby
On Friday, November 27, 2015 at 3:57:04 AM UTC-6, VIDYA SAGAR POGIRI wrote:
>
>
>
>
>
> Hi,
> I want to access the files in folder 2 from the folder 4, I mean my Present
> Working
How can I get all the content in a div element then strip out a table
element leaving only what elements I want?
Assume a structure like
http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-genera
Here's my social take on ruby based watir and ruby based watir-webdriver.
A fast ramp-up with good productivity in less then 2-3 weeks.
Great proficiency in one to two months.
On Thursday, December 3, 2015 at 9:28:32 AM UTC-6, Super Kevy wrote:
>
> Google watir cheat sheet. Al
Google watir cheat sheet. Also consider Watir-WebDriver
https://github.com/watir/watir/wiki/Cheat-Sheet
http://watir.com/documentation/
Good help is always found on stackoverflow. Just google a watir topic and
it usually shows up.
On Friday, November 13, 2015 at 12:26:38 AM UTC-6, Nida An
ks for your reply...
>
> Regards
> Gauri
>
> On Thursday, October 1, 2015 at 8:34:47 AM UTC-5, Super Kevy wrote:
>>
>> Why not just to ruby FileUtils file compare the *.pdf?
>>
>> BTW: other readers that are 100% gems are
>> http://www.rubydoc.info/gems
Why not just to ruby FileUtils file compare the *.pdf?
BTW: other readers that are 100% gems are
http://www.rubydoc.info/gems/pdf-reader/1.3.3 PDF-Reader
https://github.com/prawnpdf/pdf-inspector PDF-Inspector
On Wednesday, September 30, 2015 at 8:23:29 PM UTC-5, Gauri Kuwar wrote:
>
> Hello
other code .
> THanks
>
> On Friday, September 25, 2015 at 6:54:19 PM UTC+5:30, Super Kevy wrote:
>>
>> 1. Had it been a standard control I would have suggested something like:
>> browser.file_field.set 'C:/watir.txt'
>> 2. Consider trying the alert api.
1. Had it been a standard control I would have suggested something like:
browser.file_field.set 'C:/watir.txt'
2. Consider trying the alert api. this
reference http://watirwebdriver.com/javascript-dialogs/
- It may be as simple as
# Enter text to prompt
browser.alert.set "C:/watir.txt"
3. Fina
What type of popup. A div element set or a modal dialog like a javascript
alert.
On Monday, September 14, 2015 at 11:13:35 PM UTC-5, Harsha Vardhan wrote:
>
> Hi,
> I am using ruby mine and using watir or selenium webdriver how can I
> handle pop up.??
> I am trying to get a value displayed dyn
Duplicate
see https://groups.google.com/forum/#!topic/watir-general/FQIj73kqJj4
On Friday, September 4, 2015 at 7:00:23 AM UTC-5, VIDYA SAGAR POGIRI wrote:
>
> Hi i want to call a test script from another test script, kindly help me.
>
--
--
Before posting, please read http://watir.com/support
A simple way
http://stackoverflow.com/questions/6841995/how-to-run-multiple-watir-scripts-from-one-general-script
or consider wrapping in exec or system see
http://mentalized.net/journal/2010/03/08/5-ways-to-run-commands-from-ruby/
On Friday, September 4, 2015 at 7:00:51 AM UTC-5, VIDYA SAGAR
Isn't that the default behavior of the click method?
On Wednesday, August 5, 2015 at 9:43:37 AM UTC-5, VIDYA SAGAR POGIRI wrote:
>
> Hi i want to click on center of xpath element in watir web driver, so
> kindly help me... Waiting for reply eagerly
>
--
--
Before posting, please read http://wa
I use a method where I take the text on the screen and put it into a master
reference file.
Then i write the test screen text into a compare file
Then I use FileUtils to compare the two files.
You could use HTML instead of text for the scrape.
Whey text or html instead of bitmaps. I replay on
Please review this article
http://brian.rarevisions.net/articles/2011/12/16/setting-the-file-for-html-input-file-fields-with-webdriver/
On Tuesday, July 28, 2015 at 9:34:10 AM UTC-5, swapna gadkari wrote:
>
> I have no fiel_field present in DOM.
> I want on button click file should get uploaded
You may wish to
review:
https://jkotests.wordpress.com/2012/08/28/locate-element-via-custom-attribute-css-and-xpath/
else something as simple as
browser.text_field(:class,"ng-pristine ng-valid
ng-touched").send_keys('thefilename')
The checkbox code eludes me, This looks like the remove featu
http://stackoverflow.com/questions/7340380/can-watir-webdriver-capture-console-errors
No idea if this works
On Monday, March 16, 2015 at 5:22:34 AM UTC-5, swapna gadkari wrote:
>
> I want to catch console errors using watir webdriver.Is there any way to
> do it?
>
--
--
Before posting, plea
myArray = b.divs(:class=>"_again")
myArray.each do | theDiv |
puts div.text.to_s
end
On Friday, March 13, 2015 at 8:07:50 AM UTC-5, Dan wrote:
>
> Posting the error you get would help. You don't need the "for i" or the
> each. Just the below should do it:
>
> b.divs(:class => "_again").each {
Lets see maybe using pluralism of ruby
myArray = browser.divs(:class,"_neveragain")
On Thursday, March 12, 2015 at 4:30:27 AM UTC-5, Vish wrote:
>
> Hey,
>
> I'm trying to sieve through all the div elements in a page and print the
> content of all those whose class value is "_neveragain". How
Firefox for google gives me the default text scrape:
Screen reader users, click here to turn off Google Instant.
Gmail
Images
Sign in
Google
Privacy Terms Settings Advertising Business About
This line is working correctly. its returning the whole page text not just
search results
puts "b
What version of Watir are you on?
require 'watir-classic' # or require 'watir-webdriver'
ie = Watir::Browser.new(:internet_explorer')
ie.maximize
On Monday, February 23, 2015 at 11:38:19 PM UTC-6, Mike McClarin wrote:
>
> Hi, I am trying to automate httpwatch with watir. Please see my
What exactly are you trying to do?
Get the value of the street (i.e return the street address of the user?)
I assume you are using watir-webdriver ruby. Correct?
On Friday, February 20, 2015 at 3:20:36 AM UTC-6, Nice Faith wrote:
>
> i try this one:
>
> puts @browser.execute_script <<-JS
>
What is your version of ruby and watir-webdriver. Access to frames is now
separated by frame type (ie. frame & iframe)
to access an iframe typically need to include it the watir syntax
browser.iframe(:id,'player').exists?
browser.iframe(:id,'player').visible?
browser.iframe(:id,'player').pres
Please see your other topic with this item as this is topic hijack
https://groups.google.com/forum/#!topic/watir-general/gG8pQ2OknLk
On Monday, February 23, 2015 at 10:09:39 AM UTC-6, teste...@gmail.com wrote:
>
>
> i have a similar problem, im trying to click on the play icon of an
>> embedd
You seem compliant based on http://www.w3schools.com/html/html_youtube.asp
what does your test code look like?
On Monday, February 23, 2015 at 10:13:04 AM UTC-6, teste...@gmail.com wrote:
>
> https://www.youtube.com/embed/9KBlXb3j2Q8?autoplay=0&autohide=1&rel=0&enablejsapi=1&origin=https%3A%2F%2
Did you try using the watir browser.goto( theURL) with the file attribute
instead of http
When I manually open a text file with the chrome browser the url shows
something like
file:///C:/ABC.txt
therefore something like
browser.goto('file:///C:/ABC.txt')
Reference:
http://stackoverflow.c
Plus 1 Chuck van der Linden. I am only interested in errors as well.
*I have scripted mine so that it only includes screenshots of failed
steps.*
Even then consider screen shots may only provide limited value on
understanding failure cause.
A well versed failed message should lead you to the ca
/runner.rb:85:in `run'
> from
> c:/Ruby193/lib/ruby/gems/1.9.1/gems/rspec-core-3.2.0/lib/rspec/core
> /runner.rb:70:in `run'
> from
> c:/Ruby193/lib/ruby/gems/1.9.1/gems/rspec-core-3.2.0/lib/rspec/core
> /runner.rb:38:in `invoke'
> from
&
I'm not sure if what you mean datatype.
Typical inputs
.text_field for any text inputs
.checkbox for any checkboxes
.select for any select lists
On Tuesday, February 10, 2015 at 11:21:45 PM UTC-6, Ping-0t wrote:
>
> Hello Again guys,
>
> I am just wondering if watir checks inputs datatyp
Welcome! Assume the following example and apply to your test
Keep in mind simple verification points using things like
.wait_until_present(90)
.include?
.present?
.visible?
Very rough sample
require 'watir-webdriver'
ie = Watir::Browser.new(:chrome)
ie.window.maximize()
ie.goto('http://mys
hy the label is containing the input, that looks weird.
On Tuesday, January 27, 2015 at 9:07:30 PM UTC-6, jacksta...@gmail.com
wrote:
>
>
> Hi Super Kevy, Thanks for the suggestions.. unfortunately the set? and
> checked? don't work.
>
> the checkbox, which is
Set/Clear
.set? Returns true if the element is checked. alias .checked?
.clearWill clear the check.
@browser.checkbox(:id,'sampleId').set?
if @browser.checkbox(:id=>"sampleId").attribute_value('class') ==
"custom-checkbox checked" then puts 'hello' end
myCheckedCheckboxes = @browser.ch
Are you actually doing authorized work on this Apple website?. Are you
compliant with the terms of use agreements?
http://www.apple.com/legal/internet-services/terms/site.html
Your Use of the Site
You may not use any “deep-link”, “page-scrape”, “robot”, “spider” or other
automatic device, progr
puts @browser.span(:id,'lblTitleHolder').text.to_s
puts @browser.span(:id,'lblTitleHolder').text.include?('Welcome').to_s
puts @browser.html.include?('Welcome').to_s
On Friday, December 26, 2014 4:15:19 PM UTC-6, Ma St wrote:
>
> I have reviewed many posts, but am unable to get passed this. I
Here's some hints.
1. Save your scripts in format UTF-8
2. Use .encode('UTF-8') with your input data strings or sources "sólo
está".encode('UTF-8').
2-1. In some cases I've had to encode twice as
sString.encode('UTF-8').encode('UTF-8').
3. add #encoding: UTF-8 as the first line of the script
Div don't use the symbolic :text for dom matching (locating) which is what
you're trying to do. with the failing syntax.
Divs use :name :id :index
On Wednesday, November 5, 2014 3:36:23 PM UTC-6, Andrew Le wrote:
>
> In Ruby, I'm trying to scrape a page's visible text, save it to a
> datab
ie.link(:text=>'Building Address',:index=>1).click
ie.link(:text=>'Building Address',:index=>2).click
On Saturday, August 2, 2014 4:36:48 AM UTC-5, Rams wrote:
>
>
> Hi,
>
> I have duplicate links in the webpage as I attached (ex. Building
> Address). When I looked at the html source/through deve
# Focus on last known input and tab to the next field,
$browser.text_field(:id, 'password').send_keys( :tab )
$browser.send_keys( :space, :tab ) #checkbox 1
$browser.send_keys( :space, :tab ) #checkbox 2
On Wednesday, November 6, 2013 4:04:42 PM UTC-6, Mihir Dhandhusaria wrote:
>
> This is
Try this reference: https://github.com/kl/autoit-ffi
gem install autoit-ffi
# code sample for watir
require ' watir''
require 'autoit-ffi'
ie = Waitir::Browser:new( :chrome )
ie.window.maximize()
sleep 2
ie.goto('http://www.google.com')
sleep 2
ai = AutoItFFI::AutoIt
# Open chromes developer
1. Check your zoom level. It should be set to 100%
2. To launch chrome with the window maximized (ruby, webdriver)
ie = Watir::Browser.new ( :chrome, :switches => %w[ --disable-extensions
] )
ie.window.maximize
window.maximize works in IE, FF, CHROME
On Tuesday, August 26, 2014 11:22:
You may need to encode. Something like:
puts @agent.element(:id,'blah').encode('UTF-8').to_s
NOTE: Some characters may not encode to UTF-8 however the euro is.
If the comparisons are in your script then that script file needs to be
saved in UTF-8 format.
On Tuesday, September 23, 2014 11:35:
ks for responding Roman and Super Kevy!
>
> My code is as below
>
> def search_emp(id)
>
> #self.emp_id = id
>
> @browser.send_keys [self.emp_id=id , :enter]
> end
>
> the solution here works ,but send the emp id twice and hit enters
> for e.g.
> if emp id = 1234
>
I'm sure send_keys itself is working fine. When you execute the send_keys
method do you know what object has focus or are you just playing to the
browser in whatever state its in.
Try making sure the object you want to send_keys to is in focus or is
consistently reached.
On Monday, Septembe
It may be as simple as timing issue. What do you fingerprint to verify you
logged in ok.
You can use and .exists? present? visible?
Typically after a click i follow up with a fingerprint assertion something
like
browser.span(:text,'Add a new Quick Event').wait_until_present(30)
BTW: When in
You may be able to offset the click. See referernce:
http://stackoverflow.com/questions/14685418/how-to-click-on-a-specific-coordinates-of-an-element
Alternately if the object can be tabbed to manually then set focus to the
preceding element and .send_keys { : tab, ;enter }.
On Thursday, Augu
Method Missing implies your not calling a valid method in rautomation
I don't see the find_hwnd method
in
http://www.ruby-doc.org/gems/docs/r/rdp-rautomation-0.6.3.1/RAutomation/Adapter/WinFfi/Window.html
Sample
Referece:
http://itreallymatters.net/post/2352350743/automating-windows-and-their-c
What is the doctype of the parent page? What is the doctype of the frames?
I have also seen the issue with frame failures on some older XP machines
with limited memory.
My work-a-round was to tab to the control - very ugly and brittle.
On Wednesday, January 23, 2013 8:38:33 AM UTC-6, Deepak
his kind of binding?
>
> Doesn't watir just use xpath or css underneath to find the element from
> the document? Why will it trigger any binding?
>
> On Wednesday, July 16, 2014 10:10:47 AM UTC-4, Super Kevy wrote:
>>
>>
>> > href="/url?sa=t&rct=j&q=&a
http://watir.com/*";>Watir.com | Web Application
Testing in Ruby
Perhaps its a data binding technique. Notice there is also a related
mousedown event which is the target url.
On Wednesday, July 16, 2014 8:33:17 AM UTC-5, Steven Yue wrote:
>
> Hi, guys
>
> I'm new to watir. I'm trying to use
browser.refresh
http://stackoverflow.com/questions/12215770/how-you-can-refresh-a-page-in-watir-webdrive
On Thursday, June 19, 2014 10:15:07 AM UTC-5, Alexander Farley wrote:
>
> Is there a mechanism for automatically reloading if a page fails to load?
>
> I'm not talking about timeout. I am
Did you ever get a handle on your problems? I've got hints for 1 & 2, I
think if you search this forum for logging pass fails you may find some
hints.
Item 1) You need it to navigate back to the source page after the assert.
it may be as simple as $browser.back or $browser.navigate.back
$brow
Try the wd private method, it may work.
something like: browser.li( ).wd.location_once_scrolled_into_view
#scroll to object
On Monday, June 9, 2014 12:30:31 PM UTC-5, Joe Fl wrote:
>
> Hi,
>
> I have div that has a number of checkboxes that display columns in a grid
> to the right. The pro
Try this link: https://github.com/enix12enix/sikuli-remote-control
Search this group for the topic flash. Its been discussed many times.
On Thursday, May 22, 2014 8:43:34 AM UTC-5, Sanjeev Singh wrote:
>
> Hi All,
>
> My application has the following HTML code
> type="application/x-shockwave-f
This thread may help. Regards
https://groups.google.com/forum/#!searchin/watir-general/Any$20fast$20ways$20to$20parse$20a$20table%7Csort:relevance/watir-general/jk58Xf0DomE/Vdwwz2pYndQJ
On Friday, June 6, 2014 3:21:18 PM UTC-5, Joe Fl wrote:
>
> Hi Everyone,
>
> I am putting a test together to
Chrome has upgraded to Version 34.x and when I run watir-webdriver I see
the that Chrome 34 displays the banner message you are using an unsupported
command-line flag --ignore-certificate-errors
Chromedriver --version reports 2.10.267521
browser = Watir::Browser.new ( :chrome, :switches=%w[ --
Try
http://stackoverflow.com/questions/5818403/jenkins-hudson-environment-variables.
It may provide insight on jenkins $path.
On Wednesday, March 27, 2013 4:05:05 PM UTC-5, Pavak Shah wrote:
>
> It is working fine if I run my test case from the IDE but when I try to
> run the same file from
Such an old version. Makes no sense not to update.
However I think this is what you're looking for:
ie.*select_list*(:index, 1).getAllContents
https://groups.google.com/forum/#!searchin/watir-general/select_list$20contents/watir-general/_ehpmnhbEi4/MLLkGj2qOe0J
You can probably search this
First your running some ancient Ruby and Watir. Consider moving forward.
see reference: https://raveendran.wordpress.com/tag/execute_script/
Code for Watir WebDriver IE Browser :
require 'rubygems'
require 'watir-webdriver'
br=Watir::Browser.new :ie
ie=br.execute_script("return navigator.userA
Oscar is right I may have given you a tough example so I'll dumb it down,
but it may not be dumbed down enough.
Simple ruby hash example:
Ref: google search: Ruby Class Hash
myHash = { "userName" => "henry", "password"=>"thepw" }
In your form fill assume two text fields login and password
b
Has anyone used the Module: Watir::PerformanceHelper
Ref: http://90kts.com/2011/04/19/watir-webdriver-performance-gem-released/
I'm curious about it and would like to know more.
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-genera
TRY:
http://roo.rubyforge.org/ and search the group for this topic
also search xls.rb and read excel in this group you'll find hints and
methods
I personally use xls.rb https://github.com/bash0C7/XLS/blob/master/xls.rb
xls.rb exists all over the web.
I put this and an excel spreadsheet i
Watir-Classic or Watir-Webdriver?
If Watir-Classic check this link https://github.com/watir/watir-classic
Does classic work with chrome?
Here's a sample browser method using watir-webdriver
require 'watir-webdriver'
def method_OpenBrowser(ie,sURL,sBrowserType)
puts ' * method_OpenBrowser'
maybeelement.parent.click
On Friday, December 13, 2013 10:09:44 AM UTC-6, Lucian Stan wrote:
>
>
> Hi,
>
> I have the following html sample:
>
> ...
>
>
>
>
>
>
>
>
>
>
> Browse
>
>
>
>
>
> ...
>
> I'm trying to click on the Browse span:
>
> $driver = Wat
Object.wait_until_present
On Monday, January 13, 2014 5:33:14 AM UTC-6, QOExcel wrote:
>
> Hi, everyone!!
> I try to find button on just opened page without sleep command.
>
> def open_user_creation_dialog
> sleep 1
> self.create_user_button_element.when_visible.click
> end
>
> When
Seems like a lot of overhead reading and parsing a file that way.
Look at http://roo.rubyforge.org/ the Roo gem. I believe you'll find
useage and hints in this list somewhere.
You may want to rethink into using Ruby Class Hash for this as well.
myParams = { 'url' => 'http://198.44.23.11
hint Google Ruby Class file
http://www.ruby-doc.org/core-2.0.0/File.html
On Monday, September 14, 2009 5:36:50 AM UTC-5, msazeez28july wrote:
>
> Hi,
> We have watir scripts which requires url, username, password and
> path (location of the datatables).
> These parameters are ch
Try this reference:
http://stackoverflow.com/questions/14845338/how-to-scroll-a-web-application-in-watir
On Friday, December 20, 2013 3:53:20 AM UTC-6, Anisha wrote:
>
> Hi,
>
> I am using watir-webdriver. The application that I am testing has infinite
> scrolling implemented. It is more or les
And you did gem install mysql?
On Wednesday, December 4, 2013 2:33:59 AM UTC-6, Bhavesh wrote:
>
> Hi,
>
>
>
> I have ruby 193 installed and have following gems on my machine :
>
>
>
> *** LOCAL GEMS ***
>
>
>
> archive-tar-minitar (0.5.2)
>
> bigdecimal (1.1.0)
>
> childprocess (0.3.9)
>
Assuming the code snippet.
Visit the Useful Tips Section
... more page layout here ...
Useful Tips Section
Is there a way to confirm the element scrolls into view using the page
anchor or should I just confirm the target anchor has the matching id?
--
--
Before posting, please read
Maybe somthing like this
http://stackoverflow.com/questions/7245702/watir-webdriver-counting-number-of-items-in-a-ul-list
MyList = browser.ul(:id => "rcbList")
MyList.lis.each do |li|
puts li.text
MyArray << li.text #etcend
On Monday, September 30, 2013 7:46:06 AM UTC-5, sp22 wrote:
>
>
Are the developers doing (or writing) unit tests?
I'm assuming your developed code is not based on ruby or rails but some
other language.
But that should be no problem as most languages allow unit testing.
Chuck is steering you in the right direction with test first design.
Cucumber works great f
updating the selenium-webdriver gem since it's at 2.35.
> Also did you get Chromedriver2 or chomedriver? I don't think chromedriver
> will even work at all, so you've probably got the new new.
>
> On Friday, August 23, 2013 12:08:08 PM UTC-4, Super Kevy wrote:
>>
>
1 - 100 of 245 matches
Mail list logo