Hi Titus,
Just wanted to confirm what I did and provided yesterday helped.
Joe
On Tue, Feb 26, 2019 at 4:42 PM Joe Fleck wrote:
> Hi Titus,
>
> Never mind. I believe I figured out where it went. If not please let me
> know.
>
> I used the 'Selenium::WebDriver.lo
ers/b8/87wnshxn3h76c0b59c3f1c8jd10zkq/T/.org.chromium.Chromium.MSnlfZ"},
"cssSelectorsEnabled":true,"databaseEnabled":false,
"goog:chromeOptions":{"debuggerAddress":"localhost:54611"},
"handlesAlerts":true,"hasTouchScreen
Sorry still learning but can that be added to my current setup?
On Tue, Feb 26, 2019 at 3:07 PM Titus Fortner
wrote:
> Try setting w3c: true in Chrome options, maybe I'm using the wrong
> signature for legacy Chrome.
>
> --
> --
> Before posting, please read
>
Hi Titus,
Here is the output you're looking for. It looks like it is setting it but
I am not see it reflected when the spec is run.
2019-02-26 14:13:22 INFO Selenium>>>
http://127.0.0.1:9556/session |
Hi,.
I need to expand the duration of the wait on the *@page.run_asset* because
it could take longer than 30secs for the process to complete. When I run
the test it still fails and displays the same error as before:
Failure/Error: @page.run_asset
Selenium::WebDriver::Error::ScriptTimeOutError:
It came in helpful for a few objects in our angular app but I was able to
use watir for most of it.
On Thu, Jan 31, 2019, 1:49 PM rajagopalan madasami <
rajagopalanmadas...@gmail.com wrote:
> Ok thank you
>
> On Fri, 1 Feb, 2019, 12:01 AM Titus Fortner
>> This gem used to be a bigger deal
Hi,
Yes, there is watir_angular.
https://github.com/titusfortner/watir_angular
Joe
On Tue, Jan 29, 2019, 10:10 AM Hi Titus,
>
> Is it possible to automate AngularJs application using WATIR? Any gem is
> available?
>
> --
> --
> Before posting, please read
>
Hi.
I am not sure I follow what happens after the field is set but if you need
to wait for the text field you can use wait_until_present or .present?.
Joe
On Feb 11, 2017 10:21 AM, "Raja gopalan" wrote:
There are certain kind of a text_field which I am automating,
I believe this should work.
div(:index => 4).text
Joe
On Jul 18, 2016 5:05 PM, "Soori" wrote:
> I have a scenario where there is a grid of elements with same class name.
> I need to identify the element position using index.
>
> For example:
>
>
>
> text1
> text3
> text4
Hi,
I have run into this and it's usually the slowness of the app in the
browser. Have watched the the script run to see if the button displays and
is enabled?
You might want to try watir-webdriver too.
Hi,
I am new to watir. I am trying to write a script to automate web testing at
my work. I
Hi.
If you could provide related html that might help get an answer faster.
On Tue, Sep 15, 2015 at 9:28 AM, Super Kevy
wrote:
> 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
@Chuck,
I completely agree and since posting this I did update to the latest
version of firefox but based on Justin reply it will not work with Firefox.
At the moment I have switch to Chrome.
@Justin, thank you for that information.
I really appreciate everyones feedback.
On Thu, Mar 19,
Hi Titus,
Thanks for responding. I gave that a try and still produce the same
result. Probably something i am doing wrong. I did not have a lot time
yesterday to work through this.
Joe
On Mon, Mar 16, 2015 at 12:24 PM, Titus Fortner titusfort...@gmail.com
wrote:
Selenium 2.45 does not
Hi,
Here is a discussion about using CLReport which is disguised here in the
group.
https://groups.google.com/forum/#!searchin/watir-general/Clreport/watir-general/TYJzYeLmC2c/36vWuMQ5WHMJ
you can build a nice report and then launch in a browser when the tests are
done.
You guys might look
Maybe share the test case you are trying to automate.
Thank you,
Joe
On Wed, Feb 11, 2015 at 9:25 AM, Super Kevy kpe...@scholarshipamerica.org
wrote:
I'm not sure if what you mean datatype.
Typical inputs
.text_field for any text inputs
.checkbox for any checkboxes
.select for any
Hi,
A number of people use cucumber or rspec with watir to show the number of
successes and errors.
Joe
On Tue, Feb 3, 2015 at 8:04 PM, Ping-0t ping092...@gmail.com wrote:
Dear All,
How can I show the numbers of errors in a prompt using watir webdriver?
Thanks all for the help :)
--
So, I tried the example for firefox and i am still getting the dialog save
window for our app.
I am attempting to download an excel file. I enter the page click a button
'Show Download Link' then an 'Accept' button and lastly the link to
download the file. At this point the save dialog window
Hi Sohail,
Have you tried anything?
This might work:
@browser.div(:class='ng-scope ngCellElement').send_keys Test
Thank you,
Joe
On Tue, Jan 6, 2015 at 9:18 AM, Sohail Mirza mrz...@gmail.com wrote:
Hi,
The following code is rendered for a text box. It does not have Input tag
and it does
Sohail,
Anytime. Glad i could help.
Joe
On Tue, Jan 6, 2015 at 9:47 AM, Sohail Mirza mrz...@gmail.com wrote:
Hi Joe,
It worked actually.
thanks you.
On Tue, Jan 6, 2015 at 6:44 PM, Joe Fleck joeflec...@gmail.com wrote:
Hi Sohail,
Have you tried anything?
This might work
Hi,
What is the error you are receiving?
Joe
On Dec 31, 2014 4:08 AM, Sohail Mirza mrz...@gmail.com wrote:
Can we use variable for XPath property?
The following line of codes failing
$rowCount = @browser.table(:class, 'table table-hover table-condensed
table-bordered table-striped
Hi Cristina,
did you try these?
browser.a(:title='Location')
or
browser.a(:href='location.html')
Joe
On Fri, Dec 5, 2014 at 9:12 AM, c w cristina.wa...@gmail.com wrote:
Hi,
please check the attached file. Can one tell me how can I click on the
a href=location.html
I
'
./features/step_definitions/vizlly_steps.rb:31:in `/^click on
Location$/'
features\web.feature:11:in `And click on Location'
Failing Scenarios:
On Fri, Dec 5, 2014 at 11:59 AM, Joe Fleck joeflec...@gmail.com wrote:
Hi Cristina,
did you try these?
browser.a(:title
Hi,
Here is one article that talks about your question. You might be get some
ideas from it.
http://www.3pillarglobal.com/insights/how-to-capture-javascript-errors-from-your-web-application
A Watir solution:
Yes. Definitely not having the iframe will cause it not to work.
Joe
On Mon, Nov 24, 2014 at 2:37 PM, Titus Fortner titusfort...@gmail.com
wrote:
Ah, the html didn't have the iframe in it. so:
browser.iframe(id: 'ws').text_field(id: 'claveConsultiva').set foobar
On Mon, Nov 24, 2014 at
Alberto,
What line is this failing on?
Joe
On Mon, Nov 24, 2014 at 5:26 PM, Alberto Magalhaes aacmagalh...@gmail.com
wrote:
Titus,
I'm trying this:
require 'watir-webdriver'
browser = Watir::Browser.new :chrome
browser.goto(https://www.santandertotta.pt/pt_PT/Particulares.html;)
Hi mizans,
We ran into the same issue with our tests and we are using watir
webdriver. I solved the problem by using a gem called watir-scroll and it
works great. Just google the name you will find it.
Joe
On Nov 20, 2014 3:27 PM, mizan rahman mizansa...@gmail.com wrote:
Hi All,
I am
Hi.
I would include the html for the table. It will allow us to help you
quicker.
Joe
On Nov 19, 2014 12:09 PM, Bo Boateng boaten...@gmail.com wrote:
Hey Guys,
I'm using Watir 1.9.1 and in trying to find the right way to loop through
a rows on a specific table on a page to match and select
The thing you can do is use Sikuli. It is a open source automation tool
that captures images and then interacts with them. It can be called within
your watir-webdriver script. I have not had much success with
watir-webdriver and those types of modal dialog boxes.
http://www.sikuli.org/
You'll
Hi Geeta Patil,
Here is a solution i found doing a search on google:
http://stackoverflow.com/questions/18843880/how-to-access-modal-pop-up-using-watir
and another
http://stackoverflow.com/questions/20102433/watir-webdriver-unable-to-click-cancel-target-button-on-popup-window
Can you get the
Anisha,
If the upload attachment is written in html. If not you might like into
sikuli. Sikuli.org
Some people use autoit with IE.
Joe
On Oct 27, 2014 7:35 AM, Anisha Narang anisha.naran...@gmail.com wrote:
Hi,
I want to know if I can test the upload attachment feature using watir
+1
Super Kevy
On Thu, Oct 16, 2014 at 3:47 PM, Super Kevy kpe...@scholarshipamerica.org
wrote:
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
Can you provide the full html so we can get a better idea what you are
trying to do?
Joe
On Thu, Oct 23, 2014 at 2:03 PM, Genexodus bryanjsho...@gmail.com wrote:
You description is pretty vague. However, you could do this pretty easy
with
whatever_variable_for_your_browser.link(:text,
Address' to make sure you select the right item.
If you show me the source, I can build the xPath to demonstrate what I am
trying to explain. :)
On Thu, Oct 23, 2014 at 5:06 AM, Joe Fleck joeflec...@gmail.com wrote:
+1
Super Kevy
On Thu, Oct 16, 2014 at 3:47 PM, Super Kevy
kpe
hi,
You need to install the chrome driver to have watir-webdriver and pry work.
if I understand your question correctly.
Joe
On Mon, Sep 22, 2014 at 10:16 AM, Sudarshan Study sudarshan.st...@gmail.com
wrote:
Hi,
I am new to watir . I am able to pry using firefox, but can we do the same
Hi,
What are you trying to accomplish with this method? Test case you are
trying to automate
Joe
On Mon, Sep 22, 2014 at 8:51 AM, Sudarshan Study sudarshan.st...@gmail.com
wrote:
@browser.send_keys :enter
: works with firefox , but is not working with chrome browser. Kindly let
me know
Hi Lei,
I am not totally sure what you are asking but one way to confirm a page
loaded is using the 'wait_until_present' method.
@browser.a(:id='workout_details_edit').wait_until_present
Find an element that is always on that page like a header.
Joe
On Thu, Aug 28, 2014 at 11:25 PM, Lei
Hi C,
Can you provide some of the code you have tried so far?
Have you tried something like this?
@browser.div(:id='id2').img(:id='thing2image').click
@browser.div(:id='id1').img(:id='thing1image').click
I have been using the watir webdriver for a couple of years and each
browser is different
Hi Rahul,
I have run into the same problem running with IE11 and have no found a
solution. I did several searches on this issue and did not find an
solution. Sorry I am not answering your question but i wanted to be a part
of the thread.
Joe
On Tue, Jul 29, 2014 at 9:27 AM, Rahul Singla
MinYi,
You could try using sikuli (sikuli.org) it can be called within your script
to close those dialog boxes.
I did find these two solutions:
http://grokbase.com/t/gg/watir-general/1282yx6mvs/wtr-general-re-handling-a-windows-file-upload-dialog-box
Hi Sanjeev,
I have used this tool in past for similar challenges. Very straight
forward and easy to use.
Joe
On Mon, Jun 9, 2014 at 12:15 PM, Super Kevy kpe...@scholarshipamerica.org
wrote:
Try this link: https://github.com/enix12enix/sikuli-remote-control
Search this group for the topic
Hi,
I have seen this particular error in our application when we try and load
large lists. I can not remember what the resolution was but it is
something that needs attention by dev team.
Thank you,
Joe
On May 23, 2014 3:10 AM, v b baba kanchustambham vbb...@gmail.com wrote:
Hi,
We are
Hi,
If you are looking to use watir with cucumber this book and the one
mentioned above are good resources.
The Cucumber Book
http://www.amazon.com/The-Cucumber-Book-Behaviour-Driven-Development/dp/1934356808/ref=sr_sp-atf_title_1_1?ie=UTF8qid=1390515159sr=8-1keywords=the+cucumber+book
Some
The 5 represents the time in which it will wait. I believe its 5 seconds.
You could also use the 'wait_until_present' method.
http://rdoc.info/gems/watir-webdriver/Watir/EventuallyPresent#wait_until_present-instance_method
browser.link(:id, showlink).wait_until_present
browser.link(:id,
Hi,
You could also do the following:
browser.link(:id, showlink).when_present.click
Joe
On Fri, Jan 3, 2014 at 9:28 AM, Joe Fleck joeflec...@gmail.com wrote:
The 5 represents the time in which it will wait. I believe its 5 seconds.
You could also use the 'wait_until_present' method
Hi Priti,
@browser.span(:class='LinkClassAvailability')
Thanks!
- Joe
Sent from my iPad
On Dec 29, 2013, at 6:55 AM, Priti Fhuse pore.pr...@gmail.com wrote:
I have been stuck for 2 days in
this water using testwise tool
I would like to know what should be the sysntax for span
Priti,
I am not familiar with test wise but I think you would write the loop within
Test 'm' do
While
End
End
Thanks!
- Joe Fleck
Sent from my iPad
On Dec 30, 2013, at 10:02 AM, Joe Fleck joeflec...@gmail.com wrote:
Hi Priti,
@browser.span(:class='LinkClassAvailability
Hi,
Can you post the html of both situations you're try to test?
Joe
On Dec 13, 2013 4:46 AM, Prathyush Parat prathyushpa...@gmail.com wrote:
The scenarios is when a valid username is entered against the field a ✔
appears and if the username is invalid a ✖ appears. So how can i check the
Hi Tez,
Some people use Rspec and Cucumber. Links below.
http://cukes.info/
https://relishapp.com/rspec
Joe
On Sun, Dec 1, 2013 at 7:01 PM, Tez M tezma...@gmail.com wrote:
So far I've implemented log4r as a logging extension and test/unit as the
assert handler.
--
--
Before posting,
Hi Gary,
I found this on stackoverflow and it seems straight forward and easy to use.
https://github.com/rails-sqlserver/tiny_tds/blob/master/README.md
Another Article that might help
http://stackoverflow.com/questions/12684416/connect-ruby-to-sql-server-2012-express
We use activerecord at work
Hi,
I have found the following books pretty helpful:
http://www.amazon.com/RSpec-Book-Behaviour-Development-Cucumber/dp/1934356379/ref=sr_1_1?s=booksie=UTF8qid=1382702342sr=1-1keywords=rspec
Hi Luis,
Can you provide the relevant html for the progress bar?
Joe
On Tue, Oct 8, 2013 at 9:18 AM, Luis Espla luises...@gmail.com wrote:
Hello,
I'm testing video recorded application and I want to test progress bar
video recorded, How can I click on specific place of the progress bar
Hi,
I have notice different behavior in the drag n drop method depending on the
os and browsers used. I originally developed the drag_n_drop step on a
Mac/Firefox combo and will see the object being moved. Though when I run
the same script on a WIN7 IE8 VM the visible object doesn't move but
Anne,
I had a similar situation were the browser dialog box displayed and
watir-webdriver wouldn't interact with it. I ended up using an open source
tool called Sikuli (http://www.sikuli.org/) to interact with those dialog
boxes. Called it through command line connection in my scripts. Uses
Hi Shannon,
I have dealt with JS dropdowns and in some cases you need to expand the
list and then select the item.
In the example you provided I don't see this element:
browser.ul(:id,ctl00_ChangeCustodyMenu)
though it is shown as a list item li.
You might need to do something like this:
Sorry,
Typo
Replace this:
@browser.a(:href=delete.page?#{href_arr[href_arr.count - 1]})
with:
@browser.a(:href=delete.page?#{link_href_arr[link_href_arr.count - 1]})
Joe
On Wed, Jun 26, 2013 at 11:02 AM, watir webdriver
watirwebdriver...@gmail.com wrote:
Thanks Joe for ur reply...but its
After looking at what I sent you its missing something still. Did you add
a click method to the end of line '@browser.a(:href=delete.page**
?#{link_href_arr[link_href_**arr.count - 1]})'? If not it won't do
anything.
@browser.a(:href=delete.page**?#{link_href_arr[link_href_**arr.count -
No problem. Grad I could help.
Joe
On Wed, Jun 26, 2013 at 12:40 PM, watir webdriver
watirwebdriver...@gmail.com wrote:
Thanks a lot Joeit worked
On Wednesday, June 26, 2013, Joe Fleck wrote:
hi,
you could do this
Original:
@browser.a(:href=delete.page**?#{link_href_arr
Hi,
Watir can open a csv file which you save an excel file as. Ruby alone can
to what you want and there is a gem that will work with excel. You might
need to do google search for it.
Joe
On Jun 7, 2013 11:56 AM, He Bing Lin peter...@gmail.com wrote:
Can watir open local excel sheet file?
Hi.
Can you post the html?
Joe
On Jun 7, 2013 4:36 PM, Super Kevy kpe...@scholarshipamerica.org wrote:
I have a table on a page with 7 columns of data that I need to match
against in order to click a button associated with row.
My current method is to do compares of the row data but it seems
Hi Raymond,
What is the error you are getting? Can you copy and paste in thread?
Joe
On Mon, Jun 3, 2013 at 8:25 AM, Raymond Wiertz reedys...@gmail.com wrote:
Hello,
Can anybody help me?
I want to click on a html element a class=close href=javascript:;x/
a
I used:
Hi,
Include your code too.
Joe
On Mon, Jun 3, 2013 at 10:14 AM, Joe Fleck joeflec...@gmail.com wrote:
Hi Raymond,
What is the error you are getting? Can you copy and paste in thread?
Joe
On Mon, Jun 3, 2013 at 8:25 AM, Raymond Wiertz reedys...@gmail.comwrote:
Hello,
Can anybody
Hi,
Are you using 64 or 32 bit windows machine?
Joe
On May 6, 2013 8:20 AM, LuisE luises...@gmail.com wrote:
Hello, I am trying to use Watir with Cucumber in Windows 7(I use ruby 2.0
and gherkin 2.12.0) and It doesn't work fine. It always give the same error:
WARNING: cannot load such file
, 2013 at 1:13 PM, Joe Fleck joefl...@gmail.com wrote:
They are using watir to drive the scripts.
Why can't you use their setup? What is different in your setup?
Željko
--
--
Before posting, please read http://watir.com/support. In short:
search
before you ask, be nice.
watir
Hi,
Can you paste your code?
Joe
On Thu, Mar 7, 2013 at 10:47 AM, fabian.aroc...@gmail.com wrote:
Hey guys!
I'm trying to retrieve the text from a textarea, which appears as hidden,
although I can dee it on the browser. This is the html tag:
tr
td
Certification Request Number
:
On Wed, Mar 6, 2013 at 1:13 PM, Joe Fleck joeflec...@gmail.com wrote:
They are using watir to drive the scripts.
Why can't you use their setup? What is different in your setup?
Željko
--
--
Before posting, please read http://watir.com/support. In short: search
before you ask, be nice
Ž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,
:54 AM, Željko Filipin zeljko.fili...@gmail.com wrote:
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
Hi,
You could try
browser.tr(:title=Add a new request to the list).click
On Fri, Feb 22, 2013 at 9:46 AM, fabian.aroc...@gmail.com wrote:
Hi Guys!
I'm new to watir and I must say I'm very excited with what I have
acomplished so far with it. It's magic! I'm having trouble locating the
Hi,
Can you use firebug the javascript popup and paster the html code here?
Joe
On Fri, Feb 22, 2013 at 2:34 PM, fabian.aroc...@gmail.com wrote:
This doesn't work for me ... The pop up is a javascript confirm method
popup and it doesn't react to any of the browser.alert.* methods. I then
I use Sikuli to handle such pop up windows. AutoIT is also a good alternative.
Joe
On Wed, Feb 6, 2013 at 6:53 AM, Alex Shtayer ashta...@gmail.com wrote:
I automate such kind of things through AutoIT due pop-ups are not usual
window and cannot be attached or something
On Tuesday, July 17,
Can you paste the code you are executing here?
Joe
On Mon, Feb 4, 2013 at 10:22 PM, Phuoc Can Hua h...@huaonline.com wrote:
On Tuesday, 5 February 2013 13:58:04 UTC+11, Joe Fl wrote:
Make sure to remove the require statement for firewatir and replace it
with
require 'watir-webdriver'.
Hi,
Try placing the require statement in the begin of your code. Sorry it's
capitalized but my kindle fire kept auto correcting.
Require 'WATIR-WEBDRIVER'
runHMSTests.rb:8
require 'HMS_TestSuite'
HMS_TestSuite.rb:8
require 'HMS_Priority1_Add_TestCases'
HMS_Priority1_Add_TestCases.rb:4
Hi Phouc,
I make it a practice to do the following regardless of the OS I
running the scripts on:
require 'rubygems'
require 'watir-webdriver'
I believe Firewatir is no longer supported since the release of
watir-webdriver. I would remove it all together because
watir-webdriver supports the
:
Thanks for providing this useful information.
Could you please suggest me that which versions of Ruby, Rubygems and Watir
should I use on Windows 8?
I am currently using Ruby1.8.7, rubygems1.8.25.
On Fri, Feb 1, 2013 at 8:46 PM, Joe Fleck joeflec...@gmail.com wrote:
Hi Amit,
Here is my
Hi Sohail,
I would treat it as a input.
@browser.input(:value=Add New Customer).click
Or any of the above.
Joe
On Mon, Feb 4, 2013 at 8:20 AM, Sohail Mirza mrz...@gmail.com wrote:
Oscar,
if i am not wrong, the following URL tells to record it as a button.
Phuoc,
I don't see our previous conversation here but did you initially
install firewatir on that VM? If so you might need to do a 'gem
uninstall firewatir'. Also can you do a gem list and paste the
results here.
I am pasting the error message here in the thread.
Hi Joe,
Thanks for the reply.
Make sure to remove the require statement for firewatir and replace it with
require 'watir-webdriver'.
Joe
On Feb 4, 2013 9:53 PM, Phuoc Can Hua h...@huaonline.com wrote:
On Tuesday, 5 February 2013 12:55:56 UTC+11, Joe Fl wrote:
Phuoc,
I don't see our previous conversation here but did you
Hi Sohail,
Can you provide more of the html code that surrounds the field you
looking at setting?
Thanks,
Joe
On Sat, Feb 2, 2013 at 1:19 PM, Sohail Mirza mrz...@gmail.com wrote:
Hi,
my question is how to set value in the textbox with following html code
div id=idDiv_PWD_UsernameExample
Hi Amit,
When driving Firefox you need to use watir-webdriver not watir.
These are the two line I changed.
require 'watir-webdriver'
browser = Watir::Browser.default = firefox
On Fri, Feb 1, 2013 at 8:52 AM, Amit Kumar amit.sr...@gmail.com wrote:
Dear All:
Hope you all are doing great.
(:id, signin).text_field(:id, password).set(Password)
browser.form(:id, signin).button(:value, Sign In).click
On Fri, Feb 1, 2013 at 7:35 PM, Joe Fleck joeflec...@gmail.com wrote:
Hi Amit,
When driving Firefox you need to use watir-webdriver not watir.
These are the two line I changed
using Windows 8 and Ruby 1.8.7
Could you please suggest me which versions of the Ruby, Rubygems and Watir
are best for Windows 8.
I will really appreciate. if you provide me complete package for Watir on
Windows 8.
On Fri, Feb 1, 2013 at 7:49 PM, Joe Fleck joeflec...@gmail.com wrote:
I would
Hi Sohail,
You will use the watir-webdriver to automate Chrome, Firefox, IE
(versions), and Opera. The code you have developed will work
on any of the those browsers.
* Line to indicate the browser to run against.
@browser = Watir::Browser.new :chrome
Joe
On Fri, Feb 1, 2013 at 11:10 AM,
Command line
Ruby - v
Or
Gem list
All lower case
On Jan 30, 2013 12:56 PM, Sohail Mirza mrz...@gmail.com wrote:
How do i check version of my installed watir?
Thanks
--
--
Before posting, please read http://watir.com/support. In short: search
before you ask, be nice.
Hi,
First thing.. make sure you use firebug or developer tool to get the html.
Don't use view source.
You will need to first expose the submenu and then select the submenu item
you want.
Repost the html code here and we will be better able to help you.
Joe
On Jan 30, 2013 1:55 PM, Sohail Mirza
On Wed, Jan 30, 2013 at 10:58 PM, Joe Fleck joeflec...@gmail.com wrote:
Hi,
First thing.. make sure you use firebug or developer tool to get the html.
Don't use view source.
You will need to first expose the submenu and then select the submenu item
you want.
Repost the html code here
(:text='Sub Menu 1').click
D:/Watir/Examples/Test1.rb:4:in `main': undefined method `li' for
nil:NilClass
(NoMethodError)
On Wed, Jan 30, 2013 at 11:43 PM, Joe Fleck joeflec...@gmail.com wrote:
Hi Sohail,
Yes.
@browser.li(:class=potato-menu-item potato-menu-has-vertical).click
, Joe Fleck joeflec...@gmail.com wrote:
Okay.
you need to change my @browser to what you initialized your browser as.
Joe
# if you have to sign in do that
On Wed, Jan 30, 2013 at 2:48 PM, Sohail Mirza mrz...@gmail.com wrote:
Joe,
i tried following
@browser.li(:class=potato-menu
?
Do you have simple example for developing script for chrome??
Thanks
On Thu, Jan 31, 2013 at 12:05 AM, Joe Fleck joeflec...@gmail.com wrote:
No problem.
On Wed, Jan 30, 2013 at 3:04 PM, Sohail Mirza mrz...@gmail.com wrote:
Sorry my mistake here.
Sub Menu 1 was a dummy name. i
executable. Please download the server from
http://code.google.com/p/chromedrive
r/downloads/list and place it somewhere on your PATH. More info at
http://code.g
oogle.com/p/selenium/wiki/ChromeDriver.
(Selenium::WebDriver::Error::WebDriverEr
ror)
On Thu, Jan 31, 2013 at 12:23 AM, Joe Fleck
hi,
did you try
$ie.frame(:name,centent).text_field(:name,dealerCode).present?
I would even try this too:
$ie.frame(:name,centent).form(:name,validateDealer).present?
and
$ie.frame(:name,centent).form(:name,validateDealer).text_field(:name,dealerCode).present?
What is '#document'? Is text?
Hi, can you provide us with your code?
Thank you,
Joe
On Jan 23, 2013 9:38 AM, Deepak Kumar deepak.maveric...@gmail.com wrote:
Hi everyone,
I am trying to access a text_field of page.HTML format is as follows
html
head-/head
body
iframe name=centent src=homepage.jsp
Deepak,
I don't see the text_field is your html. Can you give us all of the html?
Thanks,
Joe
Just something I found. May not pertain to your issue.
Watir has a method that shows all frames on a page:
$ie.show_frames
result:
there are 2 frames
frame index: 1 name: menu
frame index: 2 name:
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
Have you tired just using sleep after you have selected the option
from the select list?
Ex.
@br.select_list(:index,2).select item
sleep 3
On Wed, Dec 19, 2012 at 2:48 PM, Marco Antonio Mamani Espinoza
natmik...@gmail.com wrote:
I am doing some automation in my application, in one part there is
Hi,
I have not been able to resolve this issue. Does anyone have any
suggestions on how to resolve this issue?
The VM is running Chrome version 23.0.1271.64 with the latest
web-driver and chrome driver.
Thank you,
Joe
On Tue, Nov 20, 2012 at 5:24 PM, Joe Fleck joeflec...@gmail.com wrote:
Hi
Hi,
Are there more than one field like this on the page?
Joe
On Fri, Nov 9, 2012 at 4:20 AM, Nicolas nicolas.gar...@ebuzzing.com wrote:
Hi, thanks for your answer,
but unfortunately, it doesn't work.
Le jeudi 8 novembre 2012 17:01:43 UTC+1, Željko Filipin a écrit :
On Thu, Nov 8, 2012 at
Hi Aidy,
Are there any other elements you can use for this link?
Have you tried this?
browser.link(:id,/Tovabb/).click
Regards,
Joe
On Fri, Nov 9, 2012 at 7:49 AM, Adrian Killens ack...@googlemail.com wrote:
Hi There,
Does anyone know how I can click things in non-english languages that have
Hi,
I normally use the mysql gem and create a method that will do the
database connect and querying.
Joe
On Thu, Nov 8, 2012 at 1:37 AM, Aaron Schwartz
schwartz.aar...@gmail.com wrote:
Hi all,
I couldn't find anything on this group already posted so please direct me to
any resources. I am
Hi Željko,
I get the following:
@browser.select_list(:index,1).options
= #Watir::OptionCollection:0x1018ffa00
@parent=#Watir::Select:0x154f950de located=true
selector={:tag_name=select, :index=1},
@selector={:tag_name=option}
and if I change it up a little:
Hi Paul,
You might try using AutoIT instead of Watir. It don't think your
going to be able to use Watir with an embedded browser.
Regards,
Joe
On Thu, Oct 25, 2012 at 8:41 PM, Paul d...@paradise.net.nz wrote:
Hi, I am testing an IE web application that gets served up from a windows
app. I
1 - 100 of 181 matches
Mail list logo