Hi,
I got to know from my managers that they have 100+ watir scripts for one of
the Delphi application. Will Watir supports Delphi Products? Please let me
know.
Thanks
Ramesh
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
I know it can take screenshot for whole page, but can it take screenshot
for particular area/region by dom selectors etc.?
Or can this be included in future version?
Thanks,
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
On Tue, Apr 9, 2013 at 5:45 AM, Jason Ding dingze...@gmail.com wrote:
I know it can take screenshot for whole page, but can it take screenshot
for particular area/region by dom selectors etc.?
As far as I can see, no:
http://watirwebdriver.com/screenshots/
Hi,
I am curious to know about Logger.rb.
Can i use it in watir webdriver?
Where i can find more about it?
Can someone share simple example?
Thanks
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
On Wed, Mar 20, 2013 at 10:39 AM, Sohail Mirza mrz...@gmail.com wrote:
I am curious to know about Logger.rb.
I am too. :) Can you link to it's home page?
Željko
--
https://leanpub.com/watirbook
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be
Are you talking about the following home page?
http://wiki.openqa.org/display/WTR/Example+Logging
please share logger home page link.
Thanks
On Wed, Mar 20, 2013 at 1:41 PM, Željko Filipin zeljko.fili...@gmail.comwrote:
On Wed, Mar 20, 2013 at 10:39 AM, Sohail Mirza mrz...@gmail.com wrote:
I
On Wed, Mar 20, 2013 at 10:49 AM, Sohail Mirza mrz...@gmail.com wrote:
Are you talking about the following home page?
http://wiki.openqa.org/display/WTR/Example+Logging
I am not talking about anything. I have asked what _you_ are talking about.
:)
The page that you have linked to was last
so i guess logger does not work with Watir Webdriver ...
Can you suggest any other way around for logging the details ? one way
which i know / found is to Test.rb test.txt
is that the only way? Which one are using?
On Wed, Mar 20, 2013 at 1:52 PM, Željko Filipin zeljko.fili...@gmail.comwrote:
okay i explain the context
I want to record each step details in somewhere notepad file.
For example whatever my script do , that should be recorded / logged
in separate file with simplified details
@browser = Watir::Browser.new :chrome
@browser.goto (http://testapp:8080/;)
should be recorded /
On Wed, Mar 20, 2013 at 11:11 AM, Sohail Mirza mrz...@gmail.com wrote:
@browser = Watir::Browser.new :chrome
@browser.goto (http://testapp:8080/;)
should be recorded / outputted / logged as
Opening browser page with specified URL
Did you take a look at available Ruby logger libraries?
Hi guys
I have next situation: When I click on one of buttons in my application,
page is loading for more than two minutes and raise exception inside of
watir-webdriver click method.
Obviously any waiters (like wait_until something) will not help in this
situation, because exception is raised
On Wednesday, March 20, 2013 2:52:15 AM UTC-7, Željko Filipin wrote:
On Wed, Mar 20, 2013 at 10:49 AM, Sohail Mirza mrz...@gmail.comjavascript:
wrote:
Are you talking about the following home page?
http://wiki.openqa.org/display/WTR/Example+Logging
I am not talking about anything. I have
Hello all,
I am currently doing my first script using Watir and I am experiencing an
issue. I tried to get an answer by reading many posts but I was not able to
find by myself.
At some point during the scenario that I am automating, a pop-up appears
and I just want to click on a OK button. I
Hi
strange behavior
when web application is accessed using watir script its opening with
default zoom in (high zooom and UI looks bigger icon and buttons etc)
however if the application open normally it is opening with actual/required
zoom
Why its happening and how to stop it?
--
--
Before
Hi,
I am trying to find the way to save an image when something fail but could
not get much stuff from google.
I am using Watir-WebDriver and needs to save an image in case failure.
Could anyone advise how to save image?
Thanks
--
--
Before posting, please read http://watir.com/support. In
Good news everyone!
I'm happy to announce that Watir-Classic 3.6.0 has been released!
Put it into your Gemfile:
gem watir-classic, ~ 3.6.0
Or install it manually with:
gem install watir-classic
Changes:
* Add full support for Ruby 2.0 and IE10.
* Add support for modal dialogs on Ruby 2.0.
The Cucumber Book from Pragmatic Programmers is excellent. it covers a
lot in terms of how to use the tool correctly. It does NOT have however
examples specific to how to use water to drive the browser, but we have
lots of other resources for that (like the watir book, our wiki, here,
so it is concluded that Cucumber framework has better HTML reporting
techniques.
Could you comments some good cucumber articles? i searched myself but
hardly find anything good.
On Wed, Mar 13, 2013 at 9:00 PM, Chuck van der Linden
cvanderlin...@climate.com wrote:
On Wednesday, March 13, 2013
On Thu, Mar 14, 2013 at 9:14 AM, Sohail Mirza mrz...@gmail.com wrote:
Could you comments some good cucumber articles?
All I know about cucumber I have found here: http://cukes.info/
Željko
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be
Same here
On Thu, Mar 14, 2013 at 5:36 AM, Željko Filipin zeljko.fili...@gmail.comwrote:
On Thu, Mar 14, 2013 at 9:14 AM, Sohail Mirza mrz...@gmail.com wrote:
Could you comments some good cucumber articles?
All I know about cucumber I have found here: http://cukes.info/
Željko
--
--
I found this article that makes a nice intro to get you into it the idea of
cucumber in under a day
http://taooftest.wordpress.com/2012/05/11/cucumber-101/
Be sure to install RSPEC and require it for the examples.
You will likely need rubygems, and devkit installed
On Thursday, March 14, 2013
I have a few posts and code examples here http://thechort.com/blog/
there are a bunch here as well http://watirmelon.com/
On Thu, Mar 14, 2013 at 9:36 AM, Super Kevy
kpe...@scholarshipamerica.orgwrote:
I found this article that makes a nice intro to get you into it the idea
of cucumber in
Hi,
i need to create HTML reports in Watir.
There is one HTML Report Class which i found in google results. i wanted to
confirm is that still the only way to generate HTML reports or there are
some more good approaches to generate HTML Reports?
http://wiki.openqa.org/display/WTR/HTML+report+class
On Wed, Mar 13, 2013 at 8:28 AM, Sohail Mirza mrz...@gmail.com wrote:
i need to create HTML reports in Watir.
Watir just drives browsers, it does not create reports. I think that all
testing frameworks (test/unit, rspec, cucumber) have reporting. I use
cucumber and it has really nice HTML
Hi,
I just got a new Windows 7 64bit workstation and I cannot get IE to supply
credentials.
IE loads, but stops once it hits: text_field(:name, usr).set(my_login)
This worked on my previous workstation, but I have slightly newer software
on the new workstation. ( see versions below )
On Wed, Mar 13, 2013 at 4:50 PM, Anthony Coley anthony.co...@gmail.comwrote:
IE loads, but stops once it hits: text_field(:name,
usr).set(my_login)
Any error messages?
Željko
--
https://leanpub.com/watirbook
--
--
Before posting, please read http://watir.com/support. In short: search
On Wednesday, March 13, 2013 4:56:52 AM UTC-7, Željko Filipin wrote:
On Wed, Mar 13, 2013 at 8:28 AM, Sohail Mirza mrz...@gmail.comjavascript:
wrote:
i need to create HTML reports in Watir.
Watir just drives browsers, it does not create reports. I think that all
testing frameworks
Yes, the error might help... Sorry about that!
C:\Ruby193\binruby C:\scripts\BOE\BOE_IE.rb
C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.5.0/lib/watir-classic/element.rb:328:in
`assert_exists': Unable to locate element, using {:tag_name=[text,
password, textarea], :name=usr}
On Wed, Mar 13, 2013 at 5:27 PM, Anthony Coley anthony.co...@gmail.com
wrote:
Unable to locate element, using {:tag_name=[text, password,
textarea], :name=usr}
Looks like the element is not on the screen. Did you read this?
http://watirwebdriver.com/waiting/
Željko
--
--
Before posting,
On Wed, Mar 13, 2013 at 6:21 PM, Anthony Coley anthony.co...@gmail.comwrote:
Yes, I have the element, see attached element.jpg.
It could be there eventually, but not when the script looks for it.
Željko
--
--
Before posting, please read http://watir.com/support. In short: search before
it might be being rendered by some client side javascript, and FF or Chrome
might be just enough faster than IE that they have created the element when
the script gets to that point, but IE has not.
I'd suggest two things
1 try running those few lines of your script manually (you can cut and
Clicking Anchor Link in Application:
Code for Design:
---
div id=dvBanner class=banners_admin
div style=background-color:#e8e6e3;height:26px; float:right;
padding-right:10px;padding-left:10px;
span id=lblUserKumaran/span
|
a
On Fri, Mar 8, 2013 at 3:30 PM, abr.nand...@gmail.com wrote:
unable to locate element, using {:text
=Logout, :tag_name=a}
A couple of reasons come to mind:
1) logout link is in a frame, try something like this:
browser.frame(:id = frame-id).a(:text = Logout).click
More information:
On Wed, Mar 6, 2013 at 10:02 PM, Jarmo Pertman jarm...@gmail.com wrote:
Watir does not require to be run with administrative privileges. I'm not
sure as to why you think so, Željko.
It has been a while since I have used Watir on Windows. I remember there
was at least one problem when Watir
On Wed, Mar 6, 2013 at 2:07 AM, Joe Fleck joeflec...@gmail.com wrote:
According to the group that created the cucumber scripts they are
excuting against a browser. They are also using jruby instead of
ruby.
How are they driving browsers? With Watir? Selenium? Something else?
You should be
At this point looks like I will need to do that.
The difference is theirs is write as cucumber script mine is not.
Both use watir just the structure/architecture is different.
Thank you for your help Željko.
Joe
On Wed, Mar 6, 2013 at 7:15 AM, Željko Filipin zeljko.fili...@gmail.com wrote:
On
I would also look at which browser their scripts are using, etc. There
might be some difference there.
Also look to the details of the jenkins commands that execute their
scripts, if they are perhaps running as administrator, etc.
On Wednesday, March 6, 2013 5:15:52 AM UTC-8, Joe Fl wrote:
You may also want to be sure you have the latest chromedriver installed
somewhere on your path.
On Friday, February 15, 2013 7:27:54 AM UTC-8, saumya negi wrote:
I get these errors with watir-webdriver + selenium webdriver 2.29.0 as
well :(
On Wednesday, January 30, 2013 9:37:47 PM UTC,
Watir does not require to be run with administrative privileges. I'm not
sure as to why you think so, Željko.
Bibhu, run these scripts directly from the command line itself so you can
see any error messages which might appear.
Jarmo Pertman
-
IT does really matter -
Our QA team has started to use Watir and watir-webdriver for automated
testing.
Our initial tests were written in a Ruby 1.9.3 environment.
As we are setting up a more robust testing environment for Watir, are there
any cautions or warnings we should be aware of while implementing Ruby
On Tue, Mar 5, 2013 at 2:11 AM, Joe Fl joeflec...@gmail.com wrote:
When I try to excute them from Jenkins the browser never launches and the
scripts process never ends.
I am running Watir scripts from Jenkins all the time, but not on Windows.
As far as I remember, Windows needs graphical
Hi All,
I am facing a very unusual problem in Virtual Machine. I have 4 user
accounts 1 Admin account. The Admin account is working fine how ever all
other user accounts are not working with Watir 3X.
steps -
Right Click on SciTE editor select ' run as Administrator '
open a script from
On Tue, Mar 5, 2013 at 7:49 AM, Bibhu acharya chikun.acha...@gmail.comwrote:
The above steps are working fine when I run from the Admin account.
As far as I remember Watir always required admin account to work properly
on Windows. If you are running tests in a virtual machine, why do you care
Željko,
Thank you for responding. We are able to run cucumber scripts on that
same VM. I not that familiar with cucumber but why does it work?
Thank you in advance.
Regards,
Joe
On Tue, Mar 5, 2013 at 4:44 AM, Željko Filipin zeljko.fili...@gmail.com wrote:
On Tue, Mar 5, 2013 at 2:11 AM,
On Tue, Mar 5, 2013 at 1:47 PM, Joe Fleck joeflec...@gmail.com wrote:
We are able to run cucumber scripts on that
same VM. I not that familiar with cucumber but why does it work?
Cucumber does not need GUI to work. Browsers do, and Watir drives browsers.
Željko
--
--
Before posting,
Hi Željko,
According to the group that created the cucumber scripts they are
excuting against a browser. They are also using jruby instead of
ruby. Could this be the problem and can my ruby script be run with
jruby?
I spent the most of the morning messing around with this and got to
point were
Hi,
I am trying to get my scripts to run within Jenkins. We have setup a
Windows8 (64) VM with jenkins to run our watir and cucumber scripts.
When I try to excute them from Jenkins the browser never launches and the
scripts process never ends.
Gem List
Microsoft Windows [Version 6.2.9200]
Hi,
I've faced a problem for what I still haven't found a good solution.
Watir's visible? method iterates up the DOM element tree and checks if any
of the parent elements has visibility attribute set to hidden. If any of
the parents is hidden then visible? returns false and that's it.
In case
On Mon, Feb 18, 2013 at 1:06 AM, Andras Fuge andras.f...@gmail.com wrote:
Is it a feature in Watir and I shall live with it or is there a nice
workaround here?
This is the same answer that I would give:
I assume you are using watir-classic? Given that it seems to work properly
in
Thanks Zeljko for the reply!
Now after two of you developers advise the same I've opened this issue:
https://github.com/watir/watir-classic/issues/52
Andras
2013. február 18., hétfő 12:51:29 UTC+1 időpontban Željko Filipin a
következőt írta:
On Mon, Feb 18, 2013 at 1:06 AM, Andras Fuge
On Fri, Feb 15, 2013 at 4:27 PM, saumya negi saumya.negi...@gmail.comwrote:
I get these errors with watir-webdriver + selenium webdriver 2.29.0 as
well :(
Please provide relevant code and error messages.
Željko
--
--
Before posting, please read http://watir.com/support. In short: search
Hi,
how would you automate following Javascript link in watir-webdriver?
a
href='javascript:selectDevice(122334455,12121212,#divAddCustomerLine);'Select/a
Thanks
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
I use Windows 7, and have two languages installed for my keyboard: English
and Hebrew.
Whenever I use Watir to type into a text field:
browser.text_field(:id=foo).value = gu...@dna-7.com
What gets filled in the text field is
guyץr@dna-7ץcom
ץ is the Hebrew character that would have been typed
On Mon, Feb 4, 2013 at 6:29 PM, Guy Rapaport guy4...@gmail.com wrote:
browser.text_field(:id=foo).value = gu...@dna-7.com
What gets filled in the text field is
guyץr@dna-7ץcom
Please create a new issue here:
https://github.com/watir/watir-webdriver/issues
When creating the issue, please
On Thu, Jan 31, 2013 at 12:54 AM, jw joshuawal...@gmail.com wrote:
Is it true that watir-webdriver has improved significantly in the past 12
months?
Not sure if I would say significantly, but I would say it has improved.
Watir-webdriver was considered watir 2.0, so when I saw
Let me piggyback off of Željko's comments to reiterate that the WebDriver
development team welcomes any and all contributions toward making the drivers
more stable. I realize that having watir-classic is a disincentive for folks to
spend time helping with the IE driver, if only because it
Hi,
I need to test my web application in Google Chrome. My web application is
developed using MVC + Jquery technology.
Can i use Watir-Classic to automate my application in Chrome or i need to
use Watir-webdriver?
Thanks.
--
--
Before posting, please read http://watir.com/support. In short:
On Wed, Jan 30, 2013 at 8:14 PM, Sohail Mirza mrz...@gmail.com wrote:
Can i use Watir-Classic to automate my application in Chrome or i need to
use Watir-webdriver?
watir-classic gem can only automate Internet Explorer. If you want to
automate Crome, you have to use watir-webdriver gem.
Hi, Thanks for your reply.
I have following simple example to automate a scenario in Chrome but i am
getting following error when i execute it. (FYI: The following Test1.rb
works fine in FF browser)
*Test1.rb*
require 'watir-webdriver'
browser = Watir::Browser.new :chrome
browser.goto
On Wed, Jan 30, 2013 at 10:21 PM, Sohail Mirza mrz...@gmail.com wrote:
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.27.2
You have an old version of selenium-webdriver gem. Pleaseupdate it to
2.29.0 and try again.
Željko
--
--
Before posting, please read
Thanks,
how can i update selenium-webdriver gem? please
On Thu, Jan 31, 2013 at 1:27 AM, Željko Filipin zeljko.fili...@gmail.comwrote:
On Wed, Jan 30, 2013 at 10:21 PM, Sohail Mirza mrz...@gmail.com wrote:
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.27.2
You have an old
On Wed, Jan 30, 2013 at 10:36 PM, Sohail Mirza mrz...@gmail.com wrote:
how can i update selenium-webdriver gem?
Go to command line and type this to update all gems: gem update
Željko
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
I have encountered an issue with execute_script using IE9 with ruby
1.9.3p327 and watir-classic 3.4.0. I was doing some research and found my exact
same issue detailed at Stack
Overflowhttp://stackoverflow.com/questions/14142905/issue-with-execute-script,
but the thread is stale (and I'm too
Hey gang,
I developed a very robust framework for a company in 2009-2011 using watir
and converted to watir-webdriver in late 2011- early 2012. During the
conversion I had to make many horrible compromises (inserting retry
statements, wait statements, etc.), and watir-webdriver still gave
Is there a good way to get the user agent using the watir-classic gem?
With webdriver I use something like b.execute_script(return
navigator.userAgent), but that's not going to work with watir-classic.
--
--
Before posting, please read http://watir.com/support. In short: search before
you
Just trying to get some general info. I'm starting from scratch and
installed Watir Classic. I have a collegue who had scripts running using
Watir 1.9.1. he installed Watir Classic and none of the scripts work.
Things like require 'watir/screen_capture' and require 'watir/logger' were
not
On Sun, Jan 6, 2013 at 9:57 PM, Jarmo jarm...@gmail.com wrote:
I'm happy to announce that Watir-Classic 3.4.0 has been released!
Blog post:
http://watir.com/2013/01/20/watir-classic-3-4-0-released/
Social networks:
https://twitter.com/watir/status/292693512112205824
@ Željko and Oscar:
Does Watir-Webdriver support automating Safari in Windows XP or 7.
If yes then does the extension has some effect, since the version of
selenium-webdriver gem is 2.27.2 but the svn check out leads to 2.28.1.
Will this have any affect. I was able to get 2.27.0 which is the
Hi,
I'm facing problems in the following areas:
1. Whether WATiR can be used to automate in Safari browser?
2. If it is possible what are the steps needed to follow for that?
3. If it is not possible, then are there any documents/authentic web
site reference available
On Wed, Jan 16, 2013 at 11:53 AM, Sophia Sunitha
sophia.joac...@gmail.comwrote:
Whether WATiR can be used to automate in Safari browser?
This is all I know about driving Safari:
http://watirwebdriver.com/safari/
Željko
--
https://leanpub.com/watirbook
--
Before posting, please read
+1 it does work its a bit slower than with other browsers and an involved
process of installing the driver
On Wed, Jan 16, 2013 at 6:42 AM, Željko Filipin zeljko.fili...@gmail.comwrote:
On Wed, Jan 16, 2013 at 11:53 AM, Sophia Sunitha sophia.joac...@gmail.com
wrote:
Whether WATiR can be
Hi Željko,
I have faced the same issue once. I did whatever is mentioned in the web
page but I still couldnt automate. The browser opens but it doesnt perform
any operation beyond that.
http://watirwebdriver.com/safari/
@ Oscar,
I dont mind it being slow because I am making a feasibility
Hi ,
Does Watir support Oracle app automation???
I am not able to identify objects on the web pagewhich was developed in
Oracle application. The controls are all having the same property so I am
finding it hard. Kindly assist.
Thanks,
Kalaivanan
--
Before posting, please read
On Wed, Jan 16, 2013 at 1:54 PM, kalai vanan kalai.l...@gmail.com wrote:
Does Watir support Oracle app automation???
Link to the page would help. If the page is not public, link to a similar
page would help, or relevant HTML.
Željko
--
https://leanpub.com/watirbook
--
Before posting, please
Hi Željko
I am new to watir. I would like to know whether watir supports web
application which is actually a part of Oracle E-Business Suite. The thing
is I am able to locate the elements inside the application however none of
the actions that was scripted is getting triggered.
Example:
On Wed, Jan 16, 2013 at 2:31 PM, kalai vanan kalai.l...@gmail.com wrote:
I am new to watir. I would like to know whether watir supports web
application which is actually a part of Oracle E-Business Suite.
I am new to Oracle E-Business Suite. In fact, I do not know anything about
it. If you
Hi,
I was trying to make a screenshot from the page using
browser.screenshot.save and I found that only small part of the page
(even less then visible part in the window) is saved in file. Later I
discovered that before screenshot is taken browser is automatically
minimized and then maximized
On Wed, Jan 16, 2013 at 3:42 PM, Evgeny Shavkunov
dmoroz.thr...@gmail.comwrote:
I was trying to make a screenshot from the page using
browser.screenshot.save and I found that only small part of the page
(even less then visible part in the window) is saved in file.
Which browser and gem are
I'm using Watir-webdriver on IE
On Wednesday, January 16, 2013 3:52:49 PM UTC+1, Željko Filipin wrote:
On Wed, Jan 16, 2013 at 3:42 PM, Evgeny Shavkunov
dmoroz...@gmail.comjavascript:
wrote:
I was trying to make a screenshot from the page using
browser.screenshot.save and I found that
On Wed, Jan 16, 2013 at 4:19 PM, Evgeny Shavkunov
dmoroz.thr...@gmail.comwrote:
I'm using Watir-webdriver on IE
I have noticed right now that the e-mail subject says watir-webdriver. I
did not notice it the first time I was reading the e-mail message.
Željko
--
Before posting, please read
I've done a fair amount of automation against the Oracle suite with
watir-webdriver and it works fine. If the pages are being rendered as html
you're fine. If it's opening an applet you're not going to be able to use
watir-webdriver.
On Wednesday, January 16, 2013 8:31:08 AM UTC-5, kalai
How come i couldn't reproduce it then? Is there anything in additional
which makes that error appear?
Jarmo Pertman
-
IT does really matter - http://itreallymatters.net
On Thursday, January 3, 2013 11:32:44 PM UTC+2, Daniel Berger wrote:
I didn't know this until recently. It seems
I didn't know this until recently. It seems _get_errno is available on
Windows XP, but isn't actually an exported function on that runtime. Phooey.
I'll probably have to replace it with FFI.errno (aka GetLastError) for XP
but it will be potentially inaccurate error information.
Regards,
Dan
Hi all,
I get the following error while trying to open a new IE Window.
I am using Ruby1.8.7 and Watir
irb(main):003:0 $ie = Watir::IE.new NameError: uninitialized constant
Watir from (irb):3
Regards,
Sophia
--
Before posting, please read http://watir.com/support. In short: search
Hi,
Can you post your code?
Joe
On Jan 2, 2013 6:24 AM, Sophia Sunitha sophia.joac...@gmail.com wrote:
Hi all,
I get the following error while trying to open a new IE Window.
I am using Ruby1.8.7 and Watir
irb(main):003:0 $ie = Watir::IE.new NameError: uninitialized constant
Watir from
On Wed, Jan 2, 2013 at 12:24 PM, Sophia Sunitha sophia.joac...@gmail.comwrote:
NameError: uninitialized constant Watir
Please provide the entire IRB session, and watir version. Are you using
watir-classic or watir-webdriver gem?
The problem could be that you did not require the gem. One of
Is it possible to work with watir and multiple instances of IE?
--
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
On Fri, Dec 7, 2012 at 12:07 PM, Kapil Rajak kapil1089thek...@gmail.comwrote:
Is it possible to work with watir and multiple instances of IE?
Yes.
one = Watir::Browser.new
two = Watir::Browser.new
Željko
--
https://leanpub.com/watirbook
--
Before posting, please read
Ok, so I'm down to just seeking the answer which, for me at this time, is
the best teacher.
So go to quibids.com, click one of the items on auction. See the Bidding
History table? I'm trying to get the value, programatically, of the first
name in the list. I used the following:
Thanks for the info, Zeljko. That's going to take some studying to
understand.
one more question and might be a simple answer but after spending a few
hours looking for code example I found nothing. How do I simiply examine
the value of a certain element? For example, on the quibid home
On Thu, Dec 6, 2012 at 9:25 PM, TommyW tommy6206...@yahoo.com wrote:
How do I simiply examine the value of a certain element?
You need an inspector tool. Most browsers have one build in. Right click an
element and select inspect element in context menu that appears.
Željko
--
Before
yes, I use the IE inspector tool but how do you do that in Watir
programatically. I'm thinking it's something like:
b.text_field(:id,abcedf).value?
that's where I'm stuck. :)
On Thursday, December 6, 2012 2:41:10 PM UTC-6, Željko Filipin wrote:
On Thu, Dec 6, 2012 at 9:25 PM, TommyW
I've tried for a couple hours trying to find the right combination of:
browser.button(:id, 929940484).click
to click the button on the Quibids.com item-specific page but have had zero
luck. It keeps giving Unable to Locate Element error. I have also tried
:value of Bid Now.
--
Before
I've tried for a couple hours trying to find the right combination of:
browser.button(:id, 929940484).click
to click the button on the Quibids.com item-specific page but have had zero
luck. It keeps giving Unable to Locate Element error. I have also tried
:value of Bid Now and a countless
Hi Tommy,
I need you to be a bit more specific in order to help you, What Bid now
are you trying to click. On the main entry page there are at least 5 Bid
Now buttons, are you trying to click on the first element or what? IE
Developer tools lists the first Bid Now as div class=271302023
Please provide relevant HTML or a link to the relevant page.
Željko
--
https://leanpub.com/watirbook
On Sat, Dec 1, 2012 at 10:27 PM, TommyW tommy6206...@yahoo.com wrote:
I've tried for a couple hours trying to find the right combination of:
browser.button(:id, 929940484).click
to click
On Sat, Dec 1, 2012 at 10:30 PM, TommyW tommy6206...@yahoo.com wrote:
browser.button(:id, 929940484).click
Looks like relevant HTML is:
a href=# class=buttons bid medium orangeBid Now/a
You should be able to click it with:
browser.a(:text = Bid Now).click
By the way, that will click the
Hi,
I want to save cromedriver.log file in a specific folder instead of the
directory the .rb file is launched from.
ChromeDriver forums say it can be done by launching chromedriver with a
specific flag:
chromedriver.exe --log-path=c:\users\me\desktop\chromedriver.log
Since I am using Watir,
On Fri, Nov 30, 2012 at 10:40 AM, Dmitry Severinov soulwas...@gmail.com
wrote:
Since I am using Watir, I am not launching chromedriver.exe directly and
I cannot figure out, how to pass this flag to chromedriver.
This could help:
http://watirwebdriver.com/chrome/
Željko
--
Yay!!
I have a found a way to make this work. Instead of using the text_field's
set method directly setting the value to the text_field is working without
any issues. Please find the working code which was able to enter japanese
characters in a textbox. I saved the ruby script using the
201 - 300 of 888 matches
Mail list logo