[Wtr-general] clicking on menu

2007-03-23 Thread VIKASH KUMAR
I am using watir (1.5.1.1100) and ruby 1.8.4 In my web page there are menus, I want to trigger event OnMouseOver so that the submenu inside those main menus can get visible. When I ran ie.show_active, the content of main menu is displayed, as shown below. irb(main):093:0> ie.show_active => " i

Re: [Wtr-general] Watir / Ruby / Mysql

2007-03-23 Thread Bernard Kenik
Adam & Paul, > > Thanks for responding. I was just reading the prerequisites section for > the > Ruby DBI, and it says: > > "...you'll need to have both the Ruby MySQL module and the C API > installed." > > Can you tell me where I can find these packages? > > Paul mysql module ==> gem install

Re: [Wtr-general] Watir / Ruby / Mysql

2007-03-23 Thread Paul Rogers
you need to create a dsn goto control panel, administrative tools Data sources click the system dsn then add and add stuff for your db, host etc then you can use odbc from DBI, something like this dbh=DBI::ODBC::my_DSN.connect Paul - Original Message - From: "Paul Hammer" <[EMAIL PROTE

Re: [Wtr-general] handling custom HTML attribute

2007-03-23 Thread Paul Rogers
try searching the list - there was a discussion on custom tags about a month ago Paul - Original Message - From: "x y" <[EMAIL PROTECTED]> To: Sent: Friday, March 23, 2007 4:07 PM Subject: [Wtr-general] handling custom HTML attribute > Hi, > > I'm new to this tool and learning through

Re: [Wtr-general] Watir / Ruby / Mysql

2007-03-23 Thread Paul Hammer
Paul, I'm making progress. I downloaded the mysql ODBC driver to my machine, and run the setup.exe. This seems to have run fine. Now, how is ruby setup to know about the driver, and how do I configure the driver to know about the mysql on the machine? I've dug around on the mysql site for

[Wtr-general] handling custom HTML attribute

2007-03-23 Thread x y
Hi, I'm new to this tool and learning through. Currently I'm facing a problem while starting the script: weare using the WinRunner and the scripts are designed such that we can use the same scripts in different languages. To overcome the language barrier we introduced a custom html element name

Re: [Wtr-general] How to access browser authentication pop-up

2007-03-23 Thread Chau, Peter
I had to do this recently and choose the WinClicker route basically I have a separate script called by this line just before the authentication pops up system("start rubyw.exe window_login.rb #{username} #{password}") The contents of window_login.rb looks something like this clas

Re: [Wtr-general] Watir / Ruby / Mysql

2007-03-23 Thread Paul Rogers
Ive never installed like that. Ive always used the mysql odbc driver and used that http://dev.mysql.com/downloads/connector/odbc/3.51.html - Original Message - From: "Paul Hammer" <[EMAIL PROTECTED]> To: Sent: Friday, March 23, 2007 11:25 AM Subject: Re: [Wtr-general] Watir / Ruby / My

Re: [Wtr-general] clicking image (button?)

2007-03-23 Thread Charley Baker
Good question. Go to the JIRA page for this issue: http://jira.openqa.org/browse/WTR-74 On the left hand side in a frame you should see a link called Vote for It. Click on that and you've voted for it. :) This is actually a good thing for everyone to know. The higher the votes for issues in JIRA

Re: [Wtr-general] clicking image (button?)

2007-03-23 Thread Parv
How do i vote? ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Watir / Ruby / Mysql

2007-03-23 Thread Paul Hammer
Adam & Paul, Thanks for responding. I was just reading the prerequisites section for the Ruby DBI, and it says: "...you'll need to have both the Ruby MySQL module and the C API installed." Can you tell me where I can find these packages? Paul >From: Paul Rogers <[EMAIL PROTECTED]> >Reply-T

[Wtr-general] WATiR contract work for San Francisco

2007-03-23 Thread Bob
Experienced test engineer needed to work on Ecommerce related apps. Requires an automation background and experience in the Ruby/WATiR package. Combination of scripting and test execution. On site, 6 months plus. Please call or email. Thanks, Bob Lepesh Bob Lepesh JD Strategies a wor

Re: [Wtr-general] problem with text_field.set

2007-03-23 Thread Charley Baker
Try setting it directly: $ie.text_field(:id, /grp_name_txtbox/i) = "12345" This won't cause any events to be fired on the control which might in this case be what's tripping up the test. -Charley On 3/23/07, jhun <[EMAIL PROTECTED]> wrote: My application is written on ajax and im having an

Re: [Wtr-general] Unable to select the button from button-menu

2007-03-23 Thread Charley Baker
It looks like a frame access error. There's a workaround in the latest code in svn. Follow the instructions for Installing a gem from source on the FAQ page and try it again. http://wiki.openqa.org/display/WTR/FAQ#FAQ-devgem -Charley On 3/23/07, Mathew Jacob <[EMAIL PROTECTED]> wrote: Hi,

Re: [Wtr-general] Unable to select the button from button-menu

2007-03-23 Thread Angrez Singh
Hi Mathew, I am using watir gem 1.5.1.1145 and the script works fine. I don't know much about this error. Regards, Angrez On 3/23/07, Mathew Jacob <[EMAIL PROTECTED]> wrote: Hi, I installed latest gem and run the script. But I am getting following error in Run-time. *** WARNING

[Wtr-general] Question about "wait_until(n) {element.exists?}"

2007-03-23 Thread John Lolis
waitr 1136 Lets say I have the following action i want to perform $ie.frame('Frame').table(:id,'ID).table(:index,1)[1][2].click But, the this is frame heavy page, and wait sometimes doesn't play nice, so I decide to do element = $ie.frame('Frame').table(:id,'ID).table(:index,1) wait_until(30)

Re: [Wtr-general] problem with text_field.set

2007-03-23 Thread Prema Arya
Hi Jhun, The problem is not very clear to me, I was trying to figure out..You click on a link and then the text box with grp_name_txtbox id gets displyed(ajax). If you are not able to set the value of that text box ..may be you are not waiting for it to load. You can check on a loop if the t

Re: [Wtr-general] Unable to select the button from button-menu

2007-03-23 Thread Mathew Jacob
Hi, I installed latest gem and run the script. But I am getting following error in Run-time. *** WARNING *** Windows users should check the "Run process in terminal" check box in the Debugger Preferences to see STDOUT and STDERR output in real time. c:/ruby/lib/ruby/gems/1.8/ge

Re: [Wtr-general] problem with text_field.set

2007-03-23 Thread jhun
Please.. i need your help badly. Thanks in advance! ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Unable to select the button from button-menu

2007-03-23 Thread Ċ½eljko Filipin
I think element_by_xpath is only in watir 1.5, hence the error message (you have watir 1.4). -- ZeljkoFilipin.com ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Unable to select the button from button-menu

2007-03-23 Thread Angrez Singh
Hi, Sorry forgot to mention the watir version. You should use watir 1.5.x(latest version for this to work). XPath functionality is added after watir 1.4.1 is released. So its not there in 1.4.1. Uninstally the current version and install latest gem. Regards, Angrez On 3/23/07, Mathew Jacob <[EM

Re: [Wtr-general] Unable to select the button from button-menu

2007-03-23 Thread Mathew Jacob
Hi Angrez, I have run that script and getting the error. Error : ./MongoFnDef.rb:119:in `markasRead': undefined method `element_by_xpath' for # (NoMethodError) from C:/Program Files/Watir/examples/MongoMain.rb:43 Environment Ruby-184-20 , Wa

[Wtr-general] problem with text_field.set

2007-03-23 Thread jhun
My application is written on ajax and im having an error when im setting a value on textfield. here's the details: my code: def addGroup $ie.link(:id,"button_addgroup").click $ie.text_field(:id, /grp_name_txtbox/i).set("12345") end error: 1) Error: te