[wtr-general] Re: Need help in accessing radio button created through java script

2010-10-27 Thread vasu
Hi iam doing POC using WATIR on our application. I need to get the management approval to implement this and iam struck in this issue. Please let me know anyone have any suggestions here. Thanks & regards, Vasuki On Oct 28, 1:40 am, Super Kevy wrote: > And finally: > Seehttp://wtr.rubyforge.org

[wtr-general] Re: Unable to click on login button

2010-10-27 Thread Chuck van der Linden
What happened to the original posting? did the author delete it? gawds that's annoying On Oct 27, 1:20 am, Željko Filipin wrote: > On Wed, Oct 27, 2010 at 8:29 AM, vasu wrote: > > > I tried to click on the button using > > ie.image(:src, /btn_login/).click > > Try this: > > ie.button(:src, /bt

[wtr-general] Re: Need help in accessing radio button created through java script

2010-10-27 Thread Super Kevy
And finally: See http://wtr.rubyforge.org/rdoc/1.6.5/classes/Watir/Container.html#M000315 In many instances, radio buttons on an html page have the same name, but are identified by different values. Daily Email Weekly Email Monthly Email Watir can access these using the following: browser.radio

[wtr-general] Re: Need help in accessing radio button created through java script

2010-10-27 Thread Super Kevy
OK. Having trouble try some debugging or fingerprinting to help yourself out! This code snippet will show all objects on the page then show you info about the radio buttons require 'rubygems' require 'watir' ie = Watir::IE.new ie.goto('http://www.w3schools.com/html/html_forms.asp') # show all th

Re: [wtr-general] Unclickable DIV in GWT project

2010-10-27 Thread CJ Romberger
I got this to work by making it wait for a little bit after the save. I don't have time to put any code in here now, but you might want to try that. Someone else here suggested that, and it worked like a charm. On Tue, Oct 26, 2010 at 7:41 PM, jpapa wrote: > I'm attempting to use Watir to test

Re: [wtr-general] Re: Unclickable DIV in GWT project

2010-10-27 Thread Ethan
Vapir is a fork of Watir which, among many other improvements, correctly performs click actions including both the relevant events (mousedown, mouseup, and click) as well as setting correct information on the events such as mouse button, mouse position, etc. see http://vapir.org/ -Ethan 2010/10/2

Re: [wtr-general] javscript popup - confirmation window

2010-10-27 Thread Charley Baker
You're using ie in your test, but $ie in the method. You might want to change the method signature to pass in the browser: def startClicker( browser, button , waitTime= 9, user_input=nil ) # get a handle if one exists hwnd = browser.enabled_popup(waitTime) . hth, Charley Baker Lead Devel

[wtr-general] Watir/Firewatir Question

2010-10-27 Thread Todd Feathers
We have a web app that needs to work in IE/FF so Watir for Windows is a natural choice. However, only 1/3 of our QA team has Windows as we are a Linux(Mac OSX) shop. Does anyone have a recommendation for how to best use Watir/Firewatir in this environment? Should we convert the few scripts we have

[wtr-general] javscript popup - confirmation window

2010-10-27 Thread Shiv
*My form.rb:* require "watir" require "test/unit" require 'watir/winClicker' require 'watir\contrib\enabled_popup' *#this is the code i got from help forums for javascript popup* def startClicker( button , waitTime= 9, user_input=nil ) # get a handle if one exists hwnd = $ie.enabled_popup(wai

[wtr-general] Re: Need help in accessing radio button created through java script

2010-10-27 Thread vasu
No its in a table . Please refer the source code here So please help me in this regard. Regards, Vasuki On Oct 27, 3:34 pm, Željko Filipin wrote: > On Wed, Oct 27, 2010 at 10:34 AM, vasu wrote: > > getting the error as "unable to locate element" > > ie.radio(:name, 'accounts').set > > I

[wtr-general] Re: Access Denied

2010-10-27 Thread sivam
Thanks Željko This code "ie.logger.level = Logger::ERROR" is working fine. Thanks a lot On Oct 27, 1:14 pm, Željko Filipin wrote: > On Wed, Oct 27, 2010 at 6:33 AM, sivam wrote: > >     While running ruby watir on my machine sometimes i am getting > > error like "Access is Denied". > > For acc

Re: [wtr-general] Re: Need help in accessing radio button created through java script

2010-10-27 Thread Željko Filipin
On Wed, Oct 27, 2010 at 10:34 AM, vasu wrote: > getting the error as "unable to locate element" > ie.radio(:name, 'accounts').set Is it in a frame? http://wiki.openqa.org/display/WTR/Frames Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be ni

Re: [wtr-general] Fwd: mac system connected by windows.

2010-10-27 Thread Željko Filipin
On Wed, Oct 27, 2010 at 12:18 PM, Arihan wrote: > I am using ruby+watir in my framework . I have guessed that. General Ruby questions are welcome on the list, but I just wanted to say you will get better and/or quicker ruby support on general ruby forum/list/stackoverflow. Željko -- Before pos

Re: [wtr-general] Fwd: mac system connected by windows.

2010-10-27 Thread Arihan
I am using ruby+watir in my framework . So posted if anyone have encountered similar kind of things can put the response . Regards Arihan Sent from my iPhone On 27 Oct 2010, at 11:06, Željko Filipin wrote: > On Wed, Oct 27, 2010 at 12:01 PM, arihan sinha wrote: > > can anyone please guide me

Re: [wtr-general] Fwd: mac system connected by windows.

2010-10-27 Thread Željko Filipin
On Wed, Oct 27, 2010 at 12:01 PM, arihan sinha wrote: > can anyone please guide me so that I can access the folders in Mac like \\System3\Users\teamcity\Library. How is this related to Watir? You will probably get faster/better help at a general ruby forum/list. Željko -- watir.com - community

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

2010-10-27 Thread Željko Filipin
http://stackoverflow.com/questions/4027026/firewatir-firewatir-dynamic-drop-down-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 watir-general+unsubscr...@googleg

[wtr-general] Fwd: mac system connected by windows.

2010-10-27 Thread arihan sinha
Hi All, I wanted to do the following actions.Delete some files from a location in windows and mac system . System1 ( win 7) > System2 (Win 7) which I've done as below and is working fine pwd = Dir.pwd Dir.chdir("System2\\C$\\Users\\TeamCity\\AppData\\Local\\Google\\Chrome\\User Data\\D

[wtr-general] Re: Need help in accessing radio button created through java script

2010-10-27 Thread vasu
getting the error as "unable to locate element" Using the below mentioned line of code: ie.radio(:name, 'accounts').set Regards, Vasu On Oct 27, 1:26 pm, vasu wrote: > Hi, > > I tried all those examples but was not able to continue. Getting the > error as unable to locate. Please help me in thi

Re: [wtr-general] Unclickable DIV in GWT project

2010-10-27 Thread Željko Filipin
On Wed, Oct 27, 2010 at 2:41 AM, jpapa wrote: > I've also confirmed with WatirMaker.rb that the element is > what I think it is. I would not rely on that. > However, none of these produce the click and there is no error > reported. I just fails silently. My guess is that some javascript event h

[wtr-general] Re: Need help regarding click login button using src

2010-10-27 Thread vasu
Thanks. I got the answer and i was able to continue successfully. Thanks a lot for the support provided. Regards, VAsu On Oct 27, 1:21 pm, Željko Filipin wrote: > I have approved both questions, now I see they are similar. I have already > answered in another thread. Please let me know if this

Re: [wtr-general] Unable to click on login button

2010-10-27 Thread Željko Filipin
On Wed, Oct 27, 2010 at 8:29 AM, vasu wrote: > I tried to click on the button using > ie.image(:src, /btn_login/).click Try this: ie.button(:src, /btn_login/).click More information: http://wiki.openqa.org/display/WTR/Buttons Željko -- watir.com - community manager watirpodcast.com - host te

[wtr-general] Re: Need help in accessing radio button created through java script

2010-10-27 Thread vasu
Hi, I tried all those examples but was not able to continue. Getting the error as unable to locate. Please help me in this regard. As all those details will be displayed on UI based on the java script which i pasted on top. regards, Vasu On Oct 27, 1:22 pm, Željko Filipin wrote: > What have yo

Re: [wtr-general] Need help in accessing radio button created through java script

2010-10-27 Thread Željko Filipin
What have you tried? More information on radio buttons: http://wiki.openqa.org/display/WTR/Radio+Buttons Ž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.

Re: [wtr-general] Need help regarding click login button using src

2010-10-27 Thread Željko Filipin
I have approved both questions, now I see they are similar. I have already answered in another thread. Please let me know if this is different problem. Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them -- Before p

Re: [wtr-general] Re: FireWatir: attach()

2010-10-27 Thread Peter Szinek
Thanks Bill - will go through this and let you know! Cheers, Peter On Mon, Oct 25, 2010 at 12:54 PM, pet3r wrote: > Hi all, > > I am wondering whether there's no answer because it's not possible to > do the stuff below? It would be very important for me, so I'd like to > implement it in FW (and

Re: [wtr-general] Access Denied

2010-10-27 Thread Željko Filipin
On Wed, Oct 27, 2010 at 6:33 AM, sivam wrote: > While running ruby watir on my machine sometimes i am getting > error like "Access is Denied". For accesd denied errors take a look at this page: http://wiki.openqa.org/display/WTR/Frames Željko -- watir.com - community manager watirpodcast.co

[wtr-general] Re: Unclickable DIV in GWT project

2010-10-27 Thread Ivan Kabluchkov
Hi I had got problem with test of GWT (GWT-Ext) projects, too. I can't click on GWT editable grid's cell. This topic help me http://kspace.in/blog/2010/02/11/selecting-extjs-grid-row-using-watir/ May be it be useful for you too On 27 окт, 04:41, jpapa wrote: > I'm attempting to use Watir to test

[wtr-general] Need help regarding click login button using src

2010-10-27 Thread vasu
Login Id or Credit / Debit Card number: Password:     Please help me to click on login button using src ( ) -- Before posting, please read http://watir.com/support. In short: search before you ask, b

[wtr-general] Unable to click on login button

2010-10-27 Thread vasu
Source code is like this: I tried to click on the button using ie.image(:src, /btn_login/).click Please help me as iam not able to complete the POC. regards, Vasu -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.