Re: [wtr-general] Re: How do i set selenium script time out?

2019-02-27 Thread Joe Fleck
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

Re: [wtr-general] Re: How do i set selenium script time out?

2019-02-26 Thread Joe Fleck
ers/b8/87wnshxn3h76c0b59c3f1c8jd10zkq/T/.org.chromium.Chromium.MSnlfZ"}, "cssSelectorsEnabled":true,"databaseEnabled":false, "goog:chromeOptions":{"debuggerAddress":"localhost:54611"}, "handlesAlerts":true,"hasTouchScreen

Re: [wtr-general] Re: How do i set selenium script time out?

2019-02-26 Thread Joe Fleck
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 >

Re: [wtr-general] Re: How do i set selenium script time out?

2019-02-26 Thread Joe Fleck
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 |

[wtr-general] How do i set selenium script time out?

2019-02-25 Thread Joe Fleck
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:

Re: [wtr-general] WATIR can be used for AngularJS?

2019-01-31 Thread Joe Fleck
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

Re: [wtr-general] WATIR can be used for AngularJS?

2019-01-29 Thread Joe Fleck
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 >

Re: [wtr-general] Placing the value inside the text field loads the entire page, So Is there any function which will wait for the page load?

2017-02-12 Thread Joe Fleck
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,

Re: [wtr-general] How to identify the index of an element by text

2016-07-19 Thread Joe Fleck
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

Re: [wtr-general] Time out issue in Watir

2016-01-19 Thread Joe Fleck
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

Re: [wtr-general] Re: Handling a pop up in ruby and getting value from the pop up

2015-09-15 Thread Joe Fleck
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

Re: [wtr-general] Drag n Drop not working for me with Firefox version25

2015-03-19 Thread Joe Fleck
@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,

Re: [wtr-general] Drag n Drop not working for me with Firefox version25

2015-03-17 Thread Joe Fleck
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

Re: [wtr-general] Re: How to display content of text file in the browser using watir?

2015-02-16 Thread Joe Fleck
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

Re: [wtr-general] Re: Does watir checks inputs datatype?

2015-02-11 Thread Joe Fleck
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

Re: [wtr-general] Show number of errors and success in the browser

2015-02-04 Thread Joe Fleck
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 :) --

Re: [wtr-general] Clicking OK in a Save As dialog

2015-01-13 Thread Joe Fleck
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

Re: [wtr-general] Div tag .. issue in set value

2015-01-06 Thread Joe Fleck
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

Re: [wtr-general] Div tag .. issue in set value

2015-01-06 Thread Joe Fleck
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

Re: [wtr-general] watir xpath how to use variable

2014-12-31 Thread Joe Fleck
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

Re: [wtr-general] how to click on this hidden drop down menu

2014-12-05 Thread Joe Fleck
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

Re: [wtr-general] how to click on this hidden drop down menu

2014-12-05 Thread Joe Fleck
' ./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

Re: [wtr-general] Catch Javascript Errors on the Page with Watir

2014-12-02 Thread Joe Fleck
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:

Re: [wtr-general] Re: HELP - Acessing password (text) field

2014-11-24 Thread Joe Fleck
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

Re: [wtr-general] Re: HELP - Acessing password (text) field

2014-11-24 Thread Joe Fleck
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;)

Re: [wtr-general] need help regarding scrolling in watir

2014-11-20 Thread Joe Fleck
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

Re: [wtr-general] Trying To Loop Through Specific Table Rows On Page. Watir 1.9.1

2014-11-19 Thread Joe Fleck
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

Re: [wtr-general] Handling Modal Dialog Box from the web link

2014-11-13 Thread Joe Fleck
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

Re: [wtr-general] Handling Modal Dialog Box from the web link

2014-11-11 Thread Joe Fleck
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

Re: [wtr-general] Can I test Upload Attachment feature using watir-webdriver

2014-10-27 Thread Joe Fleck
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

Re: [wtr-general] Re: duplicate links in the webpage

2014-10-23 Thread Joe Fleck
+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

Re: [wtr-general] Re: Get the link to the Next Page

2014-10-23 Thread Joe Fleck
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,

Re: [wtr-general] Re: duplicate links in the webpage

2014-10-23 Thread Joe Fleck
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

Re: [wtr-general] New with Watir .Can we use 'pry' with chrome?

2014-09-22 Thread Joe Fleck
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

Re: [wtr-general] @browser.send_keys :enter not working with chrome

2014-09-22 Thread Joe Fleck
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

Re: [wtr-general] how to know the page had already loaded in watir?

2014-08-31 Thread Joe Fleck
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

Re: [wtr-general] How do I invoke a click on an image partially behind another image (higher z-index) in IE?

2014-08-28 Thread Joe Fleck
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

Re: [wtr-general] Scripts not working in IE11 browser

2014-07-29 Thread Joe Fleck
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

Re: [wtr-general] Unable to handle dialog box in IE

2014-06-13 Thread Joe Fleck
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

Re: [wtr-general] Re: application/x-shockwave-flash : Need help

2014-06-09 Thread Joe Fleck
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

Re: [wtr-general] How to handle unknown browser popup with text Stop running this script?

2014-05-23 Thread Joe Fleck
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

Re: [wtr-general] Re: Just started with Watir

2014-01-23 Thread Joe Fleck
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

Re: [wtr-general] Getting Error: `WebDriverError': Element is not currently visible and so may not be interacted with (Selenium::WebDriver::Error::ElementNotDisplayedError)

2014-01-03 Thread Joe Fleck
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,

Re: [wtr-general] Getting Error: `WebDriverError': Element is not currently visible and so may not be interacted with (Selenium::WebDriver::Error::ElementNotDisplayedError)

2014-01-03 Thread Joe Fleck
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

Re: [wtr-general] watir syntax for span class=LinkClassAvailability

2013-12-30 Thread Joe Fleck
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

Re: [wtr-general] watir syntax for span class=LinkClassAvailability

2013-12-30 Thread Joe Fleck
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

Re: [wtr-general] Cannot identify a tick or cross symbol

2013-12-13 Thread Joe Fleck
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

Re: [wtr-general] Re: Implementing logging and asserts

2013-12-01 Thread Joe Fleck
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,

Re: [wtr-general] help connecting to database

2013-11-12 Thread Joe Fleck
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

Re: [wtr-general] Newbie - Requests for resources/ tutorials on Watir online

2013-10-25 Thread Joe Fleck
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

Re: [wtr-general] How can I click on specific place of image ?

2013-10-08 Thread Joe Fleck
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

Re: [wtr-general] [Watir-webdriver] - Drag and drop using watir webdriver

2013-07-03 Thread Joe Fleck
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

Re: [wtr-general] accessing the browser's print dialog box

2013-06-27 Thread Joe Fleck
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

Re: [wtr-general] Selecting items from JS drop down list

2013-06-27 Thread Joe Fleck
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:

Re: [wtr-general] Re: How to delete specific table data from a table?

2013-06-26 Thread Joe Fleck
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

Re: [wtr-general] Re: How to delete specific table data from a table?

2013-06-26 Thread Joe Fleck
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 -

Re: [wtr-general] Re: How to delete specific table data from a table?

2013-06-26 Thread Joe Fleck
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

Re: [wtr-general] Open local excel file and assert data

2013-06-07 Thread Joe Fleck
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?

Re: [wtr-general] Any fast ways to parse a table

2013-06-07 Thread Joe Fleck
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

Re: [wtr-general] Unable to click a class=close href=javascript:;x/a

2013-06-03 Thread Joe Fleck
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:

Re: [wtr-general] Unable to click a class=close href=javascript:;x/a

2013-06-03 Thread Joe Fleck
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

Re: [wtr-general] Problem: Couldn't load 2.0/gherkin_lexer_en

2013-05-06 Thread Joe Fleck
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

Re: [wtr-general] Watir and Jenkins

2013-04-12 Thread Joe Fleck
, 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

Re: [wtr-general] retrieve hidden text values with watir webdriver

2013-03-07 Thread Joe Fleck
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

Re: [wtr-general] Watir and Jenkins

2013-03-06 Thread Joe Fleck
: 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

Re: [wtr-general] Watir and Jenkins

2013-03-05 Thread Joe Fleck
Ž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,

Re: [wtr-general] Watir and Jenkins

2013-03-05 Thread Joe Fleck
: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

Re: [wtr-general] Table cell with javascript

2013-02-22 Thread Joe Fleck
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

Re: [wtr-general] Re: accessing a firefox popup woith watir-webdriver

2013-02-22 Thread Joe Fleck
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

Re: [wtr-general] Re: How to handle download bar in IE 9

2013-02-06 Thread Joe Fleck
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,

Re: [wtr-general] How to run Watir with Firefox 18?

2013-02-05 Thread Joe Fleck
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'.

Re: [wtr-general] How to run Watir with Firefox 18?

2013-02-05 Thread Joe Fleck
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

Re: [wtr-general] How to run Watir with Firefox 18?

2013-02-05 Thread Joe Fleck
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

Re: [wtr-general] I am beginner, getting error please help !

2013-02-04 Thread Joe Fleck
: 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

Re: [wtr-general] input type=image

2013-02-04 Thread Joe Fleck
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.

Re: [wtr-general] How to run Watir with Firefox 18?

2013-02-04 Thread Joe Fleck
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.

Re: [wtr-general] How to run Watir with Firefox 18?

2013-02-04 Thread Joe Fleck
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

Re: [wtr-general] help please

2013-02-03 Thread Joe Fleck
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

Re: [wtr-general] I am beginner, getting error please help !

2013-02-01 Thread Joe Fleck
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.

Re: [wtr-general] I am beginner, getting error please help !

2013-02-01 Thread Joe Fleck
(: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

Re: [wtr-general] I am beginner, getting error please help !

2013-02-01 Thread Joe Fleck
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

Re: [wtr-general] Chrome automation using watir

2013-02-01 Thread Joe Fleck
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,

Re: [wtr-general] query

2013-01-30 Thread Joe Fleck
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.

Re: [wtr-general] How to automate Sub Menu using Wtir?

2013-01-30 Thread Joe Fleck
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

Re: [wtr-general] How to automate Sub Menu using Wtir?

2013-01-30 Thread Joe Fleck
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

Re: [wtr-general] How to automate Sub Menu using Wtir?

2013-01-30 Thread Joe Fleck
(: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

Re: [wtr-general] How to automate Sub Menu using Wtir?

2013-01-30 Thread Joe Fleck
, 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

Re: [wtr-general] How to automate Sub Menu using Wtir?

2013-01-30 Thread Joe Fleck
? 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

Re: [wtr-general] How to automate Sub Menu using Wtir?

2013-01-30 Thread Joe Fleck
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

Re: [wtr-general] Re: Unable to acces text_field inside a frame coz of some #document tag in the HTML.

2013-01-24 Thread 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?

Re: [wtr-general] Unable to acces text_field inside a frame coz of some #document tag in the HTML.

2013-01-23 Thread Joe Fleck
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

Re: [wtr-general] Re: Unable to acces text_field inside a frame coz of some #document tag in the HTML.

2013-01-23 Thread Joe Fleck
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:

Re: [wtr-general] Watir cant open IE Window

2013-01-02 Thread Joe Fleck
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

Re: [wtr-general] Problems with Select Lists in my application

2012-12-21 Thread Joe Fleck
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

Re: [wtr-general] Chromedriver error when trying to run watir-webdriver

2012-11-26 Thread Joe Fleck
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

Re: [wtr-general] Set a text in div with js text field

2012-11-09 Thread Joe Fleck
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

Re: [wtr-general] Clicking links that use non-english characters

2012-11-09 Thread Joe Fleck
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

Re: [wtr-general] best practice- mysql and web applications

2012-11-09 Thread Joe Fleck
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

Re: [wtr-general] Selection list options with leading white spaces not able to select.

2012-10-30 Thread Joe Fleck
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:

Re: [wtr-general] IE within a windows application

2012-10-25 Thread Joe Fleck
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   2   >