Re: [wtr-general] Re: Multithreading WATIR Script

2011-01-27 Thread Željko Filipin
On Wed, Jan 26, 2011 at 5:59 PM, watirboy enrique.j.ma...@gmail.com wrote: The test is to see if a generated unique id can collide with our system (example, I write a note and save it, the unique ID would be 0001.pdf. if i have two people trying to save at the same time, will both get 0001.pdf

Re: [wtr-general] Watir Installation

2011-01-27 Thread Željko Filipin
On Thu, Jan 27, 2011 at 8:14 AM, Chandu80 chandu.she...@gmail.com wrote: C:/jruby-1.5.0/bin/jruby.exe extconf.rb WARNING: JRuby does not support native extensions or the `mkmf' library. I do not think Watir works with JRuby[1]. You will have to install it in CRuby/MRI[2]. [1]

Re: [wtr-general] Re: Recent Stack Overflow Questions Tagged Watir

2011-01-27 Thread Željko Filipin
http://stackoverflow.com/questions/4807016/running-the-watir-test-suite -- 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

Re: [wtr-general] Watir with JRuby

2011-01-27 Thread Željko Filipin
On Thu, Jan 27, 2011 at 3:12 PM, Chandu80 chandu.she...@gmail.com wrote: JRuby support watir installation? As far as I know, only operawatir and celerity run on jruby. Other drivers require cruby/mri. More information: http://watir.com/installation/ http://celerity.rubyforge.org/

Re: [wtr-general] How to click on the Save button from PDF file opened in a browser window

2011-01-26 Thread Željko Filipin
On Wed, Jan 26, 2011 at 12:42 AM, Shri shripad.deshpand...@gmail.com wrote: I want to click on the Save button of the PDF file which is opened in a browser page. OS? Browser? Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software

Re: [wtr-general] Multithreading WATIR Script

2011-01-26 Thread Željko Filipin
On Tue, Jan 25, 2011 at 7:11 PM, watirboy enrique.j.ma...@gmail.com wrote: Here is my situation. The user has a portal that they can enter data. Once this data is entered, our back end system generates a unique ID for the PDF Image associated with this data. The issue at hand is that sometimes

Re: [wtr-general] Access hidden div and attach activation link to url

2011-01-26 Thread Željko Filipin
On Wed, Jan 26, 2011 at 11:07 AM, Dan Claudiu Pop danclaudiu...@gmail.com wrote: Now, i don't know how to store the value (activation link) and parse it to the url. Try this to get the text of the div and let me know if it does not work (not tested): browser.div(:id = QALink).text Željko --

Re: [wtr-general] Re: Recent Stack Overflow Questions Tagged Watir

2011-01-25 Thread Željko Filipin
http://stackoverflow.com/questions/4789661/using-xpath-with-firewatir http://stackoverflow.com/questions/4786970/ruby-watir-cant-find-the-assert-method-outside-of-the-running-class -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

Re: [wtr-general] two buttons Search and Go

2011-01-24 Thread Željko Filipin
On Fri, Jan 21, 2011 at 5:16 PM, Aravind aravindredd...@gmail.com wrote: I am able to click Go but not the Search, wiered Show us the Watir code that clicks Go button, and one that does not click Search button. Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com -

Re: [wtr-general] Re: Recent Stack Overflow Questions Tagged Watir

2011-01-24 Thread Željko Filipin
http://stackoverflow.com/questions/4758928/watir-looking-for-a-more-elegant-solution-for-html-element-checking -- 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

Re: [wtr-general] How to use IE#log() function?

2011-01-21 Thread Željko Filipin
On Fri, Jan 21, 2011 at 8:24 AM, Ekin Han nbkhic...@gmail.com wrote: Could you kindly tell me how to use IE#log() function? Well, posting the same question twice in one hour is not the way to use it. :) What do you want to do? Željko -- watir.com - community manager watirpodcast.com - host

Re: [wtr-general] Script in a page runs for few seconds, how to wait

2011-01-21 Thread Željko Filipin
On Fri, Jan 21, 2011 at 10:40 AM, Aravind aravindredd...@gmail.com wrote: How to wait. Did you read this? http://wiki.openqa.org/display/WTR/How+to+wait+with+Watir Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of

Re: [wtr-general] Re: Recent Stack Overflow Questions Tagged Watir

2011-01-21 Thread Željko Filipin
http://stackoverflow.com/questions/4755946/run-watir-on-a-client-browser -- 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

Re: [wtr-general] Re: Recent Stack Overflow Questions Tagged Watir

2011-01-21 Thread Željko Filipin
http://stackoverflow.com/questions/4756905/clearing-session-in-firefox-for-every-request-made-watir-issue -- 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

Re: [wtr-general] Re: Recent Stack Overflow Questions Tagged Watir

2011-01-20 Thread Željko Filipin
http://stackoverflow.com/questions/4734681/watir-problem-econnaborted http://stackoverflow.com/questions/4736124/firewatir-button-does-not-click-no-error http://stackoverflow.com/questions/4739953/using-celerity-to-login-to-saleforce-com-on-linux-w-no-gui-js-vb-errors

Re: [wtr-general] Click on link with href Javascript:calllogout()

2011-01-19 Thread Željko Filipin
On Wed, Jan 19, 2011 at 1:24 PM, Aravind aravindredd...@gmail.com wrote: I am trying to click on a link with href = javascript:callLogOut(); and text = Logout but failed to click. Show us your code. Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio

Re: [wtr-general] Click on link with href Javascript:calllogout()

2011-01-19 Thread Željko Filipin
2011/1/19 Aravind aravindredd...@gmail.com lia href=javascript:callLogOut(); onclick='javascript:return navigateTo(/abcd/LogOut.jsp);'Logout/a/li What have you tried so far? Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

Re: [wtr-general] Click on link with href Javascript:calllogout()

2011-01-19 Thread Željko Filipin
On Wed, Jan 19, 2011 at 3:45 PM, Aravind aravindredd...@gmail.com wrote: I have tried using both href and text as perameters. Show us the code! :) (And error messages, if any.) Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

Re: [wtr-general] Re: Recent Stack Overflow Questions Tagged Watir

2011-01-14 Thread Željko Filipin
http://stackoverflow.com/questions/4688049/how-can-i-make-a-variable-out-of-an-id-that-is-made-after-the-item-using-the-id-i -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

[wtr-general] Re: Watir Podcast #40 Dave McNulla 1/2

2011-01-14 Thread Željko Filipin
And the second and final part: http://watirpodcast.com/41-dave-mcnulla-2-2/ Željko -- 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

Re: [wtr-general] Re: Finding an element that is rendered as a link but was an asp button

2011-01-14 Thread Željko Filipin
Is the page public, so we could take a look? Željko -- 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

Re: [wtr-general] Watir virtual appliances?

2011-01-13 Thread Željko Filipin
On Wed, Jan 12, 2011 at 4:58 PM, Emmanuel Cecchet cecc...@gmail.com wrote: I'll make VMs available for Linux. Great. The Windows VM can be made available as Amazon EC2 AMIs for those who are willing to run their VMs in the cloud. Can they be shared? Željko -- Before posting, please read

Re: [wtr-general] Automating the object with in TD tag

2011-01-13 Thread Željko Filipin
On Thu, Jan 13, 2011 at 8:34 AM, sweet flower ure...@gmail.com wrote: I tried with SRC also... it is not working. any other way?? Sure, a lot of other ways: http://wiki.openqa.org/display/WTR/HTML+Elements+Supported+by+Watir

Re: [wtr-general] Re: Recent Stack Overflow Questions Tagged Watir

2011-01-13 Thread Željko Filipin
http://stackoverflow.com/questions/4675500/if-there-are-two-links-with-the-same-element-name-but-are-on-different-forms-of-a -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

Re: [wtr-general] Watir virtual appliances?

2011-01-13 Thread Željko Filipin
On Thu, Jan 13, 2011 at 3:59 PM, Emmanuel Cecchet cecc...@gmail.com wrote: I will keep you posted with my progress on this front. Please do. This sounds like a good topic for a podcast[1]. :) Željko -- [1] http://watirpodcast.com/ -- Before posting, please read http://watir.com/support. In

Re: [wtr-general] Finding an element that is rendered as a link but was an asp button

2011-01-13 Thread Željko Filipin
On Friday, January 14, 2011, micako mic...@gmail.com wrote: ie.link(:id,ctl00_cph_statusRepeater_ctl26_deleteLinkButton).click This should work. Any error messages? Are you sure the link is on the page? Is it in a frame? Željko -- Before posting, please read http://watir.com/support. In

Re: [wtr-general] Re: Executing a javascript command in firewatir

2011-01-12 Thread Željko Filipin
On Wed, Jan 12, 2011 at 2:50 AM, xguarder shams...@gmail.com wrote: not sure how to do them quickly in a sequence. browser.element(how, what).fire_event onclick browser.element(how, what).fire_event onmousedown ... Željko -- Before posting, please read http://watir.com/support. In short:

Re: [wtr-general] Re: Recent Stack Overflow Questions Tagged Watir

2011-01-12 Thread Željko Filipin
http://stackoverflow.com/questions/4661400/it-seems-as-though-firewatir-is-not-being-found-when-trying-to-run-my-script http://stackoverflow.com/questions/4664155/how-to-handle-tinymce-when-automating-with-watir-webdriver -- Before posting, please read http://watir.com/support. In short: search

Re: [wtr-general] button type = submit + Click

2011-01-12 Thread Željko Filipin
On Wed, Jan 12, 2011 at 3:54 PM, Aravind aravindredd...@gmail.com wrote: input type=submit value=I Concur button(:id, one).click Try this: button(:value = I Concur ).click Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software testing.

Re: [wtr-general] require 'socket'

2011-01-11 Thread Željko Filipin
On Tue, Jan 11, 2011 at 3:00 PM, Usman Hussain usmanhhuss...@gmail.com wrote: So if someone can tell me what i need to: gem install .. in order to require 'socket' that would be brilliant. You will probably get faster and better answers on a Ruby mailing list. I would take a look at this

Re: [wtr-general] watir-webdriver with IE and Chrome

2011-01-11 Thread Željko Filipin
Looks like you should report a few bugs: https://github.com/jarib/watir-webdriver/issues Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them -- Before posting, please read http://watir.com/support. In short:

Re: [wtr-general] Watir virtual appliances?

2011-01-11 Thread Željko Filipin
On Tue, Jan 11, 2011 at 4:06 PM, Emmanuel Cecchet cecc...@gmail.com wrote: Does anyone know if there are virtual machines available (Xen, VMWare, AMI, ...) with Watir and version of browsers that are known to work fine together? No as far as I know. If not, is there any plan for the dev team

Re: [wtr-general] Re: Recent Stack Overflow Questions Tagged Watir

2011-01-11 Thread Željko Filipin
http://stackoverflow.com/questions/4618478/visual-analysis-of-web-pages-in-ruby http://stackoverflow.com/questions/4629634/simple-watir-commands-in-cucumber-and-in-irb-produce-different-results http://stackoverflow.com/questions/4643978/read-only-text-field

Re: [wtr-general] Executing a javascript command in firewatir

2011-01-11 Thread Željko Filipin
Did you try just clicking the element? browser.element(how, what).click Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them -- Before posting, please read http://watir.com/support. In short: search before you

Re: [wtr-general] Re: Executing a javascript command in firewatir

2011-01-11 Thread Željko Filipin
Did you try to fire the event? browser.element(how, what).fire_event onclick http://stackoverflow.com/questions/3787555/how-to-find-out-which-javascript-events-fired Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

Re: [wtr-general] Re: Executing a javascript command in firewatir

2011-01-11 Thread Željko Filipin
On Wed, Jan 12, 2011 at 12:27 AM, xguarder shams...@gmail.com wrote: However, there was some redesign on the calendar and any of the fire_events don't work anymore. Did you take a look at the link I have posted? Did you check which events get fired? Željko -- Before posting, please read

Re: [wtr-general] Beginner, can Watir control Firefox?

2011-01-10 Thread Željko Filipin
On Sun, Jan 9, 2011 at 10:30 PM, RF rfrank...@airportview.net wrote: For example, I want to close a modal dialog that pops up All I know about popups is here: http://wiki.openqa.org/display/WTR/Pop+Ups Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio

Re: [wtr-general] Can I run tests in IE and FF one by one in the one ruby script?

2011-01-05 Thread Željko Filipin
This should open both browsers and navigate in each browser to some page (not tested). require 'watir' Watir::Browser.default = 'ie' ie = Watir::Browser.new ie.goto url Watir::Browser.default = 'firefox' ff = Watir::Browser.new ff.goto url Željko -- watir.com - community manager

Re: [wtr-general] Re: How to handle Jquery UI Select menu using watir

2011-01-04 Thread Željko Filipin
On Mon, Jan 3, 2011 at 10:48 PM, jv-watir jvoot...@gmail.com wrote: Any ideas, any one else? I did not reply because it is not clear to me what the problem is. I will reply if you get really explicit. Example: on this page, I have done that, I expected something to happen, but something else

Re: [wtr-general] Re: How to handle Jquery UI Select menu using watir

2011-01-04 Thread Željko Filipin
On Tue, Jan 4, 2011 at 3:00 PM, jv-watir jvoot...@gmail.com wrote: mybrowser.select_list(:id,speedC).select(Faster) This does not change select list to Faster? What happens? Nothing? Any error messages? I have tried with Firefox and watir-webdriver on Mac and it worked fine, I do not have IE7

Re: [wtr-general] Re: How to handle Jquery UI Select menu using watir

2011-01-04 Thread Željko Filipin
On Tue, Jan 4, 2011 at 3:30 PM, jv-watir jvoot...@gmail.com wrote: Nothing happens in UI, no error messages that I could see. Did you try with another browser (Firefox) or another driver (watir-webdriver)? Željko -- Before posting, please read http://watir.com/support. In short: search before

Re: [wtr-general] Re: Recent Stack Overflow Questions Tagged Watir

2011-01-03 Thread Željko Filipin
http://stackoverflow.com/questions/4572753/getting-the-error-msvcrt-ruby18-dll-is-missing-when-running-watir-scripts-after http://stackoverflow.com/questions/4576095/how-to-create-arrays-from-show-links-show-tables-show-images-show-divs-that-ca -- Before posting, please read

[wtr-general] Fwd: Donate to Watir

2011-01-03 Thread Željko Filipin
If you like the Watir project, you can make a donation. There is donate button at http://watir.com/. We've raised $695 last year. We will spend it on hosting and stuff like that. You can see list of donors and Bret's thank you note at http://pledgie.com/campaigns/2982 Željko -- Before

Re: [wtr-general] Not able to install watir

2010-12-31 Thread Željko Filipin
On Fri, Dec 31, 2010 at 12:17 AM, sridhar sridhar...@gmail.com wrote: 'nmake' is not recognized as an internal or external command, operable program or batch file. Looks like you need devkit: http://rubyinstaller.org/add-ons/devkit/ Željko -- watir.com - community manager watirpodcast.com -

Re: [wtr-general] Re: Recent Stack Overflow Questions Tagged Watir

2010-12-31 Thread Željko Filipin
http://stackoverflow.com/questions/4568423/not-able-to-install-watir-gem -- 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

[wtr-general] Watir Podcast #42 with Andreas Tolf Tolfsen on OperaWatir

2010-12-31 Thread Željko Filipin
On Tuesday, January 4th 2011 I am recording a podcast with Andreas Tolf Tolfsen on OperaWatir. If you have any questions, post them here. If you do not know what I am talking about: http://my.opera.com/core/blog/operawatir-pre-release http://operawatir.org/ Željko -- watir.com - community

Re: [wtr-general] How to check a text in the lightbox (javascript)

2010-12-29 Thread Željko Filipin
On Tue, Dec 28, 2010 at 8:15 PM, Irfan Ahmed irfan...@gmail.com wrote: browser.text.enable?(text).should == true. Please provide relevant HTML or link to the page (or similar one). Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software

Re: [wtr-general] Re: Need to display the DIV(h3,p) values in results

2010-12-29 Thread Željko Filipin
Does this flash the correct div? browser.div(:class = name_address).flash Željko -- 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

Re: [wtr-general] Re: Need to display the DIV(h3,p) values in results

2010-12-29 Thread Željko Filipin
On Wed, Dec 29, 2010 at 12:20 PM, V vaditya2...@gmail.com wrote: No value is displaying.It is still showing the empty in the result. It should not display anything in the command line. It should flash the div in the browser. Željko -- Before posting, please read http://watir.com/support. In

Re: [wtr-general] Need to display the DIV(h3,p) values in results

2010-12-28 Thread Željko Filipin
On Tue, Dec 28, 2010 at 1:16 PM, V vaditya2...@gmail.com wrote: My HTML code is something like. I need to display the value of h3 in the DIV. div class=name_address h3 Name /h3 /div Try this (not tested): browser.div(:class = name_address).h3(:index = 1).text Željko -- watir.com -

Re: [wtr-general] Re: Need to display the DIV(h3,p) values in results

2010-12-28 Thread Željko Filipin
On Tue, Dec 28, 2010 at 2:11 PM, V vaditya2...@gmail.com wrote: Tested the below returning Null .(Empty). Does this flash the correct text? browser.div(:class = name_address).h3(:index = 1).flash Željko -- Before posting, please read http://watir.com/support. In short: search before you

Re: [wtr-general]

2010-12-24 Thread Željko Filipin
2010/12/24 深谷 芳和 richv...@gmail.com How can we download files using Watir without autoit. You can set up Firefox to automatically download files without asking anything, and then just click the link with Watir and the file is downloaded. I have done that a few days ago. I guess you could

Re: [wtr-general] Re: Select from select list

2010-12-21 Thread Željko Filipin
On Mon, Dec 20, 2010 at 9:50 PM, Igor Tiutiunnykov igorr...@gmail.com wrote: but click on the required element is not happening. I have Windows 7, watir, firewatir ^( You probably need to fire some javascript event:

Re: [wtr-general] Retrieving Nested Lists

2010-12-21 Thread Željko Filipin
On Mon, Dec 20, 2010 at 11:24 PM, Paul tester.p...@gmail.com wrote: * Foo 1. abc 2. def 3. ghi * Bar 1. xyz 2. tuv 3. lmn * Baz 1. pqr 2. jkl 3. mno If you post HTML of the list I will give it a try. Željko -- watir.com - community manager watirpodcast.com - host

Re: [wtr-general] Watir 1.7.0.rc1 Released

2010-12-21 Thread Željko Filipin
On Tue, Dec 21, 2010 at 9:34 AM, Jarmo jarm...@gmail.com wrote: Give it a try and let us know in case of any issues. And if you want to give it a try: 1) Windows gem install watir --pre 2) Mac and Linux sudo gem install firewatir --pre Željko -- watir.com - community manager

Re: [wtr-general] Using AutoIt in Watir to verify file existence.

2010-12-21 Thread Željko Filipin
On Tue, Dec 21, 2010 at 11:28 AM, IP ipsp...@gmail.com wrote: However I am facing one issue where all the functions from Autoit are working fine however Autoit's inbuilt function FileExists don't work with Watir. Watir uses Autoit distributable that has only subset of Autoit functionality, so

Re: [wtr-general] Re: Retrieving Nested Lists

2010-12-21 Thread Željko Filipin
On Tue, Dec 21, 2010 at 5:31 PM, Paul tester.p...@gmail.com wrote: http://www.google.com/intl/en/press/zeitgeist2010/ What do you want from that page? Fastest Rising, Fastest Falling...? Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be

Re: [wtr-general] Select from select list

2010-12-20 Thread Željko Filipin
On Sun, Dec 19, 2010 at 1:59 PM, Igor Tiutiunnykov igorr...@gmail.com wrote: select Whiskey from the dropdown list. The problem is that you are not dealing with select list, but with a button and unordered list. This worked for me (Mac, Firefox, watir-webdriver): browser.button(:id =

Re: [wtr-general] unable to click on list list item inside a div

2010-12-11 Thread Željko Filipin
What have you tried? Željko On Saturday, December 11, 2010, mike_sukhi sukhija...@gmail.com wrote: PLease any body help MEEE On Dec 11, 1:49 pm, Arto Vuori vuo...@iki.fi wrote: Try fire_event with onclick. --A. Vuori On Dec 11, 10:31 am, mike_sukhi sukhija...@gmail.com wrote:

Re: [wtr-general] are you sure you want to navigate from this page.

2010-12-09 Thread Željko Filipin
On Thu, Dec 9, 2010 at 1:26 PM, Ramu Gadde ramu.ga...@gmail.com wrote: Can any one help to handle this message are you sure you want to navigate from this page. Did you read this? http://wiki.openqa.org/display/WTR/Pop+Ups http://wiki.openqa.org/display/WTR/JavaScript+Pop+Ups I tried in

Re: [wtr-general] Data Driven testing

2010-12-06 Thread Željko Filipin
On Sun, Dec 5, 2010 at 10:58 PM, Kay karthigaya...@gmail.com wrote: The test data is provided by a seperate data team to us in the form of excel spreadsheet Watir just drives browser(s). It does not know anything about Excel. There are other tools that know about it, for example roo[1]. Watir

Re: [wtr-general] Re: Recent Stack Overflow Questions Tagged Watir

2010-12-06 Thread Željko Filipin
http://stackoverflow.com/questions/4356281/how-do-i-use-watirwaiterwait-until-to-force-chrome-to-wait -- 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

Re: [wtr-general] Unable to identify the object error

2010-12-06 Thread Željko Filipin
On Mon, Dec 6, 2010 at 2:42 PM, Sudeep sudeeppattn...@gmail.com wrote: browser.select_list(:name,ModuleID).set(Audits) option value=13nbsp;nbsp;nbsp;Audits Maybe one of these would work: browser.select_list(:name,ModuleID).set( Audits) browser.select_list(:name,ModuleID).set(/Audits/) Does

Re: [wtr-general] I can find an element with irb, but when I run the test it cannot be found, and also not by SciTE tool.

2010-12-03 Thread Željko Filipin
When the code works in IRB, but does not work in a script, the problem is usually in timing. In IRB you issue commands with a few second delay (while typing the next command), while in script there is no delay. Probably the element you are trying to access is not (yet) there. More information:

Re: [wtr-general] Error in script as button is disable for some time

2010-12-02 Thread Željko Filipin
On Thu, Dec 2, 2010 at 12:20 PM, Sudeep sudeeppattn...@gmail.com wrote: Do we have any feature to make the control wait for sometime till the button is enabled again. Sure: http://wiki.openqa.org/display/WTR/How+to+wait+with+Watir I remember people saying wait syntax changed in the new Watir

Re: [wtr-general] If-Else and loops

2010-12-01 Thread Željko Filipin
On Wed, Dec 1, 2010 at 7:49 AM, Sudeep sudeeppattn...@gmail.com wrote: Please can you let me know how to write IF..ELSE and loops in WATIR with example?? Watir is just a browser driver implemented in Ruby (programming language). Watir does not know about loops. Loops are a feature of Ruby. So,

Re: [wtr-general] Handling of Jquery objects by Watir

2010-12-01 Thread Željko Filipin
On Wed, Dec 1, 2010 at 2:23 PM, the_zonker the.zonk...@gmail.com wrote: I'm stopped on step 2. I tried to open sub menu Sub 2 - 2 in several ways: Works just fine for me (Mac, Firefox, watir-webdriver[1]): $ irb require watir-webdriver = true browser = Watir::Browser.new :ff =

Re: [wtr-general] Error while installing Watir on Windows 7

2010-11-30 Thread Željko Filipin
On Mon, Nov 29, 2010 at 8:00 PM, abhirevo1 abhi.r...@gmail.com wrote: Please have a look at attached file and let me know is it an error? If you take a closer look, you will see that you got those (warning) messages while installing ri and rdoc documentation for nokogiri gem (that watir gem

Re: [wtr-general] Opening new browser window from existing one

2010-11-30 Thread Željko Filipin
On Tue, Nov 30, 2010 at 7:24 AM, Amit Kulkarni amitkkulkarni...@gmail.com wrote: titleUsers: new/title titleUsers: index/title on the top Browser.attach(:title, '/Users: new/') I am now completely confused what is the title of the page that you want to attach to. One of these could work:

Re: [wtr-general] Error message while typing the command require 'Watir'

2010-11-29 Thread Željko Filipin
On Fri, Nov 26, 2010 at 12:34 PM, sudeep pattnaik sudeeppattn...@gmail.com wrote: after writing require rubygems it is returning the value as true. Are you saying everything works now? Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

Re: [wtr-general] Opening new browser window from existing one

2010-11-29 Thread Željko Filipin
On Mon, Nov 29, 2010 at 5:13 PM, Amit Kulkarni amitkkulkarni...@gmail.com wrote: Browser.attach(:title, '/test123/') a title=test123 href=/users/newNew user/a If a link has title test123, it does not mean that the page that it leads to will have the same title. Inspect the page code and take a

Re: [wtr-general] Opening new browser window from existing one

2010-11-29 Thread Željko Filipin
This line does not care what is on the current page: Browser.attach(:title, '/test123/') it cares what is on the page that will be opened. So, open the page that will open after clicking the link manually, and take a look what it inside it's title tag (in header). Željko -- Before posting,

Re: [wtr-general] Methods written in Tear down not working consistently

2010-11-26 Thread Željko Filipin
On Fri, Nov 26, 2010 at 7:53 AM, Pavithra pavi...@gmail.com wrote: After the execution of first tc (in the test script), Tear down works exactly fine. You do not call teardown method anywhere in the code you have provided. Are you using test/unit? Željko -- Before posting, please read

Re: [wtr-general] Watir Console issues

2010-11-26 Thread Željko Filipin
On Wed, Nov 24, 2010 at 9:10 PM, Ethan notet...@gmail.com wrote: I don't think watir console is maintained or really supported. Should we remove it from Watir then? Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of

Re: [wtr-general] Error message while typing the command require 'Watir'

2010-11-26 Thread Željko Filipin
On Fri, Nov 26, 2010 at 12:10 PM, Sudeep sudeeppattn...@gmail.com wrote: require 'Watir' or require 'watir' You should only use require 'watir' irb(main):002:0 require 'watir' LoadError: no such file to load -- watir Do you have Watir installed? Try this from command line: gem list

Re: [wtr-general] Re: Option in select

2010-11-24 Thread Željko Filipin
On Wed, Nov 24, 2010 at 1:43 AM, Shlomit Gazit shlomitpatr...@gmail.com wrote: Should I be able to do it with xpath? Probably. Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

Re: [wtr-general] Option in select

2010-11-24 Thread Željko Filipin
On Tue, Nov 23, 2010 at 8:47 PM, Shlomit Gazit shlomitpatr...@gmail.com wrote: Is there an option to use title for option? This is the html code: option id=http://semanticweb.databaserepublic.com/c2p/systemData/ searchField#attachmentTargetItself value=341 title=true,Inner

Re: [wtr-general] Re: Recent Stack Overflow Questions Tagged Watir

2010-11-24 Thread Željko Filipin
http://stackoverflow.com/questions/4264089/how-to-record-ssis-reports-in-ruby-watir http://stackoverflow.com/questions/4264210/how-to-select-a-value-from-dropdown http://stackoverflow.com/questions/4264531/watir-web-testing-is-not-working-if-the-site-is-taking-some-time-to-load -- Before

Re: [wtr-general] Re: Converting Watir::Waiter.wait_until to element.wait_until

2010-11-22 Thread Željko Filipin
On Mon, Nov 22, 2010 at 1:06 AM, dt_nz david.tay...@sungard.com wrote: Hi, I cant find the rdoc for Watir::Wait and Watir::ElementExtensions. Can you tell me how to generate it or where it located locally in the ruby directories. I took a quick look here, but also could not find it:

Re: [wtr-general] Call to Arms :)

2010-11-22 Thread Željko Filipin
On Mon, Nov 15, 2010 at 10:34 PM, Charley Baker charley.ba...@gmail.com wrote: This might help some of you and definitely worth checking out : http://www.cheezyworld.com/ Thanks for the link. I have subscribed to his blog after reading the first post or two. Željko -- watir.com - community

Re: [wtr-general] Ms Sql reports -changin zoom of page nothing happend

2010-11-19 Thread Željko Filipin
On Tue, Nov 16, 2010 at 3:32 PM, Danijel danijel.vuko...@gmail.com wrote: onchange=ClientToolbarctl00_ContentMain_ReportViewer1_ctl01.OnZoomChanged(event.srcElement.value); This could help: http://stackoverflow.com/questions/3787555/how-to-find-out-which-javascript-events-fired This could do

[wtr-general] Re: Problem click on browse button

2010-11-19 Thread Željko Filipin
On Fri, Nov 19, 2010 at 12:33 PM, mike_sukhi sukhija...@gmail.com wrote: input type=file class=m1 name=upfile The answer is here: http://wiki.openqa.org/display/WTR/File+Uploads Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software

Re: [wtr-general] Re: Problem click on browse button

2010-11-19 Thread Željko Filipin
On Fri, Nov 19, 2010 at 1:10 PM, mike_sukhi sukhija...@gmail.com wrote: $IE.text_field(:name,upfile).set(C:\Documents and Settings\vvdntech \Desktop\pImage) Try this: $IE.file_field(:name,upfile).set(C:\Documents and Settings\vvdntech\Desktop\pImage) Željko -- Before posting, please read

Re: [wtr-general] Re: Watir doesn't wait for redirect to complete on IE6

2010-11-19 Thread Željko Filipin
On Tue, Nov 16, 2010 at 1:07 PM, dimovich dimov...@gmail.com wrote: On __IE6___ the 'click' call will fail because Watir cannot find the link (redirect hasn't finished yet so this is expected). On IE8 everything works just fine. What happens if you thy that manually? Željko -- Before

Re: [wtr-general] Excel interface class - does excel actually need to be installed

2010-11-18 Thread Željko Filipin
On Wed, Nov 17, 2010 at 11:10 PM, Dan dfra...@gmail.com wrote: Hello! This may be a silly question, but does excel actually need to be installed on the machine to be able to read from an excel file with the Excel interface class? Chances are the machines that will be running my scripts won't

[wtr-general] Re: Javascript pop uo using firewatir

2010-11-18 Thread Željko Filipin
On Thu, Nov 18, 2010 at 8:21 AM, Amit Kulkarni amitkkulkarni...@gmail.com wrote: On delete action popup is there which onclick it shows a pop up box along with two buttons i.e. Ok and Cancel Maybe something from here could help you: http://wiki.openqa.org/display/WTR/Pop+Ups

Re: [wtr-general] Automating websiet implemented using AJAX

2010-11-18 Thread Željko Filipin
On Thu, Nov 18, 2010 at 10:32 AM, Hrishikesh Bose hrishikesh.b...@gmail.com wrote: so got this questions on whether we can use WATIR to automate AJAX web pages. You should be able to do it. Most of us automate web applications with a lot of javascript. Let us know if you have a problem with

Re: [wtr-general] Automating websiet implemented using AJAX

2010-11-18 Thread Željko Filipin
2010/11/18 Hrishikesh Bose hrishikesh.b...@gmail.com so the first time i select the text field i get INPUT id=c_179 Once the page is reloaded i get INPUT id=c_2 You should figure out what is common between them. In this case I would use: browser.text_field(:id = /c_/).set name Or, as

Re: [wtr-general] Automating websiet implemented using AJAX

2010-11-18 Thread Željko Filipin
should do so that even if these IDs are changing i can find the same element. thanks, hrishikesh bose On Thu, Nov 18, 2010 at 3:14 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Thu, Nov 18, 2010 at 10:32 AM, Hrishikesh Bose hrishikesh.b...@gmail.com wrote: so got

[wtr-general] Watir Podcast #39: Jeff Lusenhop on Janova 3/3

2010-11-18 Thread Željko Filipin
The final part of Watir podcast on Janova: http://watirpodcast.com/39-jeff-lusenhop-on-janova-3-3/ Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them -- Before posting, please read http://watir.com/support. In

[wtr-general] Watir Podcast #40: Dave McNulla

2010-11-18 Thread Željko Filipin
I am recording the next podcast with Dave McNulla[1] this Saturday, November 20th, 2pm UTC. If you have a question or two for Dave, post it here. Dave, do not answer to questions here, but on the podcast. :) [1] http://twitter.com/#!/dmcnulla Željko -- watir.com - community manager

Re: [wtr-general] Re: Ms Sql reports -changin zoom of page nothing happend

2010-11-18 Thread Željko Filipin
I took a look at Danijel's app (via Skype screen sharing), he executed this from IRB: $ie.select_list(:id, ctl00_ContentMain_ReportViewer1_ctl01_ctl03_ctl00).set(10%) The page zoomed to 10%, but IRB was stuck, it never returned the prompt. My guess is that Watir is waiting for IE to say it is

Re: [wtr-general] Re: Excel interface class - does excel actually need to be installed

2010-11-18 Thread Željko Filipin
On Thu, Nov 18, 2010 at 4:47 PM, Dave McNulla mcnu...@gmail.com wrote: Able to use google.docs spreadsheets? That's cool, a world-wide central repository for test data.I like it. Is this sarcasm? :) Željko -- Before posting, please read http://watir.com/support. In short: search before you

Re: [wtr-general] Re: Excel interface class - does excel actually need to be installed

2010-11-18 Thread Željko Filipin
On Thu, Nov 18, 2010 at 5:01 PM, Dave McNulla mcnu...@gmail.com wrote: No, it's genuine. Maybe I get too excited about stupid things, people think I'm mocking it. ;-) I thought you were concerned about test data being public (and potentially confidential). :) Željko -- Before posting,

Re: [wtr-general] Re: Watir doesn't wait for redirect to complete on IE6

2010-11-17 Thread Željko Filipin
On Tue, Nov 16, 2010 at 6:50 PM, dimovich dimov...@gmail.com wrote: A reboot fixed it Reboot is your friend. :) (Especially on Windows.) Well, that is out of scope of Watir project, it just drives the browser and assumes it is functional. Željko -- Before posting, please read

Re: [wtr-general] Re: Ms Sql reports -changin zoom of page nothing happend

2010-11-17 Thread Željko Filipin
2010/11/17 Danijel danijel.vuko...@gmail.com $ie.select_list(:id, ctl00_ContentMain_ReportViewer1_ctl01_ctl03_ctl00).set(zoom) puts stisnuo $ie.select_list(:id, ctl00_ContentMain_ReportViewer1_ctl01_ctl03_ctl00).fire_event('onchange') and naver came to line :

Re: [wtr-general] Re: Access area element after search results

2010-11-16 Thread Željko Filipin
On Mon, Nov 15, 2010 at 6:36 PM, Dan Claudiu Pop danclaudiu...@gmail.com wrote: I've tried with fire_event, but none of them worked. Sometimes you have to fire two (or more) events one after the other. This is a good time to ask a developer how it works. Željko -- Before posting, please read

Re: [wtr-general] Re: Watir tests - result reporting

2010-11-16 Thread Željko Filipin
On Tue, Nov 16, 2010 at 10:12 AM, Babitha babitha.augus...@gmail.com wrote: But, isn't there any solution that would give an excel report? If you need simple table, you can export data as CSV file. If you need more functionality, take a look at these: http://rasta.rubyforge.org/

Re: [wtr-general] Watir doesn't wait for redirect to complete on IE6

2010-11-16 Thread Željko Filipin
On Tue, Nov 16, 2010 at 12:05 PM, dimovich dimov...@gmail.com wrote: On IE6 when requesting a page that redirects Watir will return imediately. On IE8 Watir will wait for redirect to complete. Did anybody else bump into this? Please show us the code. So, it works manually, but not from a

Re: [wtr-general] Please help me with watir-ruby script

2010-11-16 Thread Željko Filipin
On Tue, Nov 16, 2010 at 1:28 PM, Robin D'Souza robin.so...@gmail.com wrote: Please help me with code for javascript pop up confirmation box for Fire Fox to click OK button Take a look at this: http://wiki.openqa.org/display/WTR/JavaScript+Pop+Ups Željko -- watir.com - community manager

<    5   6   7   8   9   10   11   12   13   14   >