[wtr-general] Test::Unit::TestCase used to override the results xml file but not anymore

2012-08-08 Thread Shlomit Gazit
I think after I upgrade Ruby to 1.9.3 it is not overriding anymore the test results, but keep adding a number next to the test results file name. What happen is that I am not getting the correct results when getting results by mail. Any idea? -- Before posting, please read

[wtr-general] Re: Test::Unit::TestCase used to override the results xml file but not anymore

2012-08-08 Thread Shlomit Gazit
Or maybe I have watir 2.0, not sure. On Wednesday, August 8, 2012 11:26:18 AM UTC-7, Shlomit Gazit wrote: I think after I upgrade Ruby to 1.9.3 it is not overriding anymore the test results, but keep adding a number next to the test results file name. What happen is that I am not getting

[wtr-general] browser.radio(:name,'email_frequency', 'weekly') is not working with watir 2.0.4

2012-04-16 Thread Shlomit Gazit
http://wtr.rubyforge.org/rdoc/1.6.5/. It was working with previous watir version. Now I am getting an error: ArgumentError: wrong number of arguments (3 for 2). -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

Re: [wtr-general] ERROR: Failed to build gem native extension.

2012-03-27 Thread Shlomit Gazit
On Wed, Mar 21, 2012 at 12:44 PM, Shlomit Gazit shlomitpatr...@gmail.comwrote: Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\Administratorruby -e 'require watir;puts Watir::IE: :VERSION' -e:1: warning: toplevel constant VERSION

Re: [wtr-general] ERROR: Failed to build gem native extension.

2012-03-27 Thread Shlomit Gazit
-1.0.11 for inspection. Results logged to C:/Ruby/lib/ruby/gems/1.8/gems/ffi-1.0.11/ext/ffi_c/gem_make.o ut C:\devkit On Tue, Mar 27, 2012 at 10:15 AM, Shlomit Gazit shlomitpatr...@gmail.comwrote: I dont remember doing it in the past, is that a new step? Shlomit. On Wed, Mar 21, 2012

Re: [wtr-general] ERROR: Failed to build gem native extension.

2012-03-27 Thread Shlomit Gazit
:18 PM, Shlomit Gazit shlomitpatr...@gmail.comwrote: After installing devkit, I am still getting an error installing watir: After I failed with the above installation, I downgrade ruby and watir but still failing with the same error: C:\devkitgem install watir --no-ri --no-rdoc Temporarily

Re: [wtr-general] ERROR: Failed to build gem native extension.

2012-03-27 Thread Shlomit Gazit
then try gem update --system also that is a different error from before got to love progress On Tue, Mar 27, 2012 at 1:38 PM, Shlomit Gazit shlomitpatr...@gmail.comwrote: That's what I did, but then trying to do gem install watir, I got the error. See below: now I am getting

[wtr-general] What is the different between watir and watir-webdriver?

2012-03-27 Thread Shlomit Gazit
What is the different between watir and watir-webdriver? -- 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] Re: What is the different between watir and watir-webdriver?

2012-03-27 Thread Shlomit Gazit
is released this shouldn't be too hard a task. On Tuesday, March 27, 2012 1:41:58 PM UTC-7, Shlomit Gazit wrote: What is the different between watir and watir-webdriver? -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general

[wtr-general] Re: Option in select

2011-01-05 Thread Shlomit Gazit
The problem is also if the title I am looking for doesnt exists I am getting an exception: Watir::Exception::NoValueFoundException: No option with :title of pop_instr_type in this select element C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.7/lib/watir/ input_elements.rb:87:in

[wtr-general] Re: Option in select

2010-12-09 Thread Shlomit Gazit
or text associated with each selection choice that has a title looking like the one you want.  it means writing a tiny parser in ruby code, but the ruby string methods make that fairly easy to do. puts browser.select_list(how, what).getAllContents On Dec 8, 12:11 pm, Shlomit Gazit shlomitpatr

[wtr-general] Re: Option in select

2010-12-08 Thread Shlomit Gazit
I have lots of options like this one: option id=http://semanticweb.databaserepublic.com/c2p/systemData/ searchField#attachmentTargetItself value=341 title=true,Inner Search,^50$|^62$|^56$,attachmentTargetItselfAttachment::/option and I am trying to capture all options with title x. As I know

[wtr-general] Re: Option in select

2010-12-07 Thread Shlomit Gazit
Please help On Dec 1, 12:22 pm, Shlomit Gazit shlomitpatr...@gmail.com wrote: The thing is for testing I dont want to go through all the select options since it is a lot. I want to have only one from each. I have about 11 select items with variedoptiontitles, and these options

[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-02 Thread Shlomit Gazit
The watir code I have is: ie.cell(:class,c2p-action-down-arrow-horizontal).click When I do inspect element I see: td class=c2p-action-down-arrow- horizontal /td When I do view source I cannot find 'c2p-action-down-arrow- horizontal'. Any idea why? -- Before posting, please read

[wtr-general] Re: Option in select

2010-12-01 Thread Shlomit Gazit
here:http://wiki.openqa.org/display/WTR/XPath Hope it helps. orde On Nov 24, 3:01 pm, Shlomit Gazit shlomitpatr...@gmail.com wrote: I am not sure I know how. could I get help on that? On Nov 24, 1:16 am, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Tue, Nov 23, 2010

[wtr-general] Option in select

2010-11-23 Thread Shlomit Gazit
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 Search,^50$|^62$|^56$,attachmentTargetItselfAttachment::/option -- Before posting, please read

[wtr-general] Re: Option in select

2010-11-23 Thread Shlomit Gazit
Should I be able to do it with xpath? On Nov 23, 4:25 pm, orde ohil...@gmail.com wrote: Not according tohttp://wiki.openqa.org/display/WTR/HTML+Elements+Supported+by+Watir. Check out the select_list method, and there's a red X for :title attribute. orde On Nov 23, 11:47 am, Shlomit Gazit

Re: [wtr-general] More than one condition

2010-08-25 Thread Shlomit Gazit
at 11:44 PM, Shlomit Gazit shlomitpatr...@gmail.com wrote: I would like to be able to click on the link that is located outside of the table above. Please post sample HTML. Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software

Re: [wtr-general] Re: More than one condition

2010-08-25 Thread Shlomit Gazit
? Instead of supplying us with detailed HTML of the table and links you don't want to select, how about you provide some HTML of the one you DO want to select? Perhaps it is inside some other unique container like a div which could be used to identify it better? On Aug 25, 7:37 am, Shlomit Gazit

[wtr-general] More than one condition

2010-08-24 Thread Shlomit Gazit
I would like to be able to click on a link in the page that is not inside a table with id = breadcrumbTable. How can I do that? -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to

Re: [wtr-general] More than one condition

2010-08-24 Thread Shlomit Gazit
://wiki.openqa.org/display/WTR/Links @browser.link(:id, breadcrumbTable).click might solve your problem but again I'm assuming On Tue, Aug 24, 2010 at 4:32 PM, Shlomit Gazit shlomitpatr...@gmail.comwrote: I would like to be able to click on a link in the page that is not inside a table

[wtr-general] Re: link with url title empty.

2010-08-11 Thread Shlomit Gazit
george.sand...@gmail.com wrote: Have you tried this: $ie.link(:title = ,:href = /reqView.do.*?navigationTrail/).click On Aug 10, 2:38 pm, Shlomit Gazit shlomitpatr...@gmail.com wrote: How should I click on that link that has this url and doesn't have the title then, should I do

[wtr-general] link with url title empty.

2010-08-10 Thread Shlomit Gazit
I have two links leading to two different places in my application. (It is quite a bug but there is no urgent to fix it from the development department. Unfortunately it is breaking my test). I was thinking for a while on a solution, and what I found maybe is that one of the links has title and

[wtr-general] Re: link with url title empty.

2010-08-10 Thread Shlomit Gazit
, 11:57 am, Basim Baassiri ba...@baassiri.ca wrote: Shlomit, Can you provided a small sample of the html to give some context? Basim On Tue, Aug 10, 2010 at 2:46 PM, Shlomit Gazit shlomitpatr...@gmail.comwrote: Hello Basim, * * I dont see a solution to my problem in the link you have

[wtr-general] Re: link with url title empty.

2010-08-10 Thread Shlomit Gazit
changes Is there a reason why you are not considering accessing the link using :xpath? On Tue, Aug 10, 2010 at 3:43 PM, Shlomit Gazit shlomitpatr...@gmail.comwrote: I think I have a work around it with back browser button and index, but I think it will be nice to know what I asked here

[wtr-general] Redo the last command

2010-07-13 Thread Shlomit Gazit
Is there any way to redo the last command of the test? The problem is that sometimes I see that in my application the page is not loading completely so I need to refresh the page. I was thinking as a solution to check for a certain word every page load, and if the word doesn't appear, the page

[wtr-general] Re: Iterate through radio buttons

2010-07-05 Thread Shlomit Gazit
, Shlomit Gazit shlomitpatr...@gmail.com wrote: Joe, For example I was trying: $ie.radios.each do |radio|           if($ie.radio(:id,ID_OTHER_OPTION_BUTTON))             puts(yes)           else             puts(NO)           end         end The output was 15 yes instead of 1

[wtr-general] Re: Iterate through radio buttons

2010-07-04 Thread Shlomit Gazit
: Schlomit, Could you post the code you created from my example so folks can look at it to try to determine why the conditional is not working? Please include the output as well. Thanks, Joe On Jul 2, 5:59 am, Željko Filipin zeljko.fili...@wa-research.ch wrote: 2010/7/2 Shlomit Gazit

[wtr-general] Re: Iterate through radio buttons

2010-07-02 Thread Shlomit Gazit
   if(browser.radio(:id,  myID ))       # Do whatever you need to do with it (e.g. set it)       browser.radio(:id,  myID ).set    end end # End of Loop Hope that helps, Joe On Jul 1, 5:08 am, Shlomit Gazit shlomitpatr...@gmail.com wrote: I am trying to iterate through radio buttons

[wtr-general] Re: Iterate through radio buttons

2010-07-02 Thread Shlomit Gazit
Hello Joe, It is actually doesnt work. The condition is not working, it is still going through all the radio buttons. On Jul 2, 1:51 am, Shlomit Gazit shlomitpatr...@gmail.com wrote: Thank you! that's working. On Jul 1, 5:39 am, joedio joe...@comcast.net wrote: Shlomit, This may work

[wtr-general] Re: Iterate through radio buttons

2010-07-02 Thread Shlomit Gazit
-research.ch wrote: On Fri, Jul 2, 2010 at 12:09 PM, Shlomit Gazit shlomitpatr...@gmail.com wrote: The condition is not working, it is still going through all the radio buttons. Joe's code if working fine. browser.radios.each means iterate over all radio buttons. Why do you insist

[wtr-general] Iterate through radio buttons

2010-07-01 Thread Shlomit Gazit
I am trying to iterate through radio buttons in the page, but I dont want to iterate through all the radios in the page, only those with certain id. How can I do that? -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message

[wtr-general] time loop

2010-05-05 Thread Shlomit Gazit
How can I create a loop for a test to run every 15 minutes? -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post:

[wtr-general] watir exit code

2010-04-14 Thread Shlomit Gazit
Is there a method to use watir exit code (0 or 1)? I want to know that if it is 0 to do something at_exit. Thank you, Shlomit. -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to

[wtr-general] Re: watir exit code

2010-04-14 Thread Shlomit Gazit
at 2:30 PM, Shlomit Gazit shlomitpatr...@gmail.comwrote: Is there a method to use watir exit code (0 or 1)? I want to know that if it is 0 to do something at_exit. Thank you, Shlomit. -- Before posting, please readhttp://watir.com/support. In short: search before you ask, be nice

[wtr-general] a method that will always executes.

2010-04-08 Thread Shlomit Gazit
Is there a way to call a module in watir test that will always run at the end of the test no matter what? I thought teardown would do that but I was wrong. The aim is to call a module that is checking if the test has failed or not (by a variable) and send email accordingly. Since I was

[wtr-general] Re: Page loaded more than once

2010-03-30 Thread Shlomit Gazit
From the user point of view it was just very slow to load. On Mar 30, 1:22 am, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Mon, Mar 29, 2010 at 7:59 PM, Shlomit Gazit shlomitpatr...@gmail.com wrote: We found in the code that some pages were loading more than once because

[wtr-general] Re: Page loaded more than once

2010-03-29 Thread Shlomit Gazit
loading in the page? On Mar 27, 2:26 am, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Mar 26, 2010 at 11:22 PM, Shlomit Gazit shlomitpatr...@gmail.com wrote: Is there a way to check if a page is loaded more than once? What do you mean by that? Željko -- watir.com

[wtr-general] Page loaded more than once

2010-03-26 Thread Shlomit Gazit
Is there a way to check if a page is loaded more than once? -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post:

[wtr-general] Re: ruby.exe processes

2010-03-16 Thread Shlomit Gazit
. On Mar 15, 11:07 am, Shlomit Gazit shlomitpatr...@gmail.com wrote: Hello, Thank you. Where would you recommend to put this code? On Mar 15, 2:48 am, rakesh swain rocky.deb...@gmail.com wrote: Hi, Execute the following. The process can be identified and terminated. require 'win32ole

[wtr-general] ruby.exe processes

2010-03-11 Thread Shlomit Gazit
I have lots of ruby.exe processes running after running watir test on CI server. Why there creating and how should I kill them after the test is finished? -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you

[wtr-general] Same word different places on the page.

2010-03-11 Thread Shlomit Gazit
I need to look for the word 'Share' in related to different texts in different places in the page, but the link has the same properties. How can I distinguish. Any ideas? -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this

[wtr-general] Re: Running watir tests from command line and from hudson

2010-02-09 Thread Shlomit Gazit
, Shlomit Gazit shlomitpatr...@gmail.comwrote: Please advice.!! On Jan 4, 9:20 am, Shlomit Gazit shlomitpatr...@gmail.com wrote:  I forgot to mention that I am creating a batch commend on Hudson when getting the error  above. I was also trying to invoke rake file. I have rake

[wtr-general] Killing a process

2010-02-04 Thread Shlomit Gazit
For handling popups I am doing the following: @pid = Process.create( :app_name = 'ruby clicker.rb', :creation_flags = Process::DETACHED_PROCESS ).process_id at_exit{ Process.kill(9,@pid) } It works fine, but then in

[wtr-general] Re: Rake

2010-02-04 Thread Shlomit Gazit
and fire the commandrakeorraketaskname to execute tasks On 1/5/10, Shlomit Gazit shlomitpatr...@gmail.com wrote: Can anybody explain howrakeworks? I have watir tests. What doesrakedo and to make it work withrake? -- You received this message because you are subscribed to the Google

[wtr-general] find out the value in select list

2010-01-21 Thread Shlomit Gazit
How can I find out what has been selected in a dropdown? I would like to always modify the find value but I should know first what the value was. Any idea anyone? -- You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email

[wtr-general] Re: find out the value in select list

2010-01-21 Thread Shlomit Gazit
, Shlomit Gazit shlomitpatr...@gmail.com wrote: Hello Tiffany and Orde, getSelectedOptions gave me:undefined method `getSelectedOptions' for #Watir::SelectList:0x31482e8 error. In anyhow: I am doing:  status_value = $ie.select_list(:name, selectedImperativeStatusId).value

[wtr-general] Re: find out the value in select list

2010-01-21 Thread Shlomit Gazit
I figured out: status_value = $ie.select_list(:name, selectedImperativeStatusId).value status_next_value = (status_value.to_i + 1).to_s() $ie.select_list(:name, selectedImperativeStatusId).select_value(# {status_next_value}) On Jan 21, 2:53 pm, Shlomit Gazit shlomitpatr...@gmail.com wrote

[wtr-general] Rake

2010-01-05 Thread Shlomit Gazit
Can anybody explain how rake works? I have watir tests. What does rake do and to make it work with rake? -- You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please

[wtr-general] Running watir tests from command line and from hudson

2010-01-04 Thread Shlomit Gazit
I am able to run watir test from command line but when I am trying to run watir from hudson I am getting: 1) Error: test_imperative(TC_c2p_all): WIN32OLERuntimeError: failed to create WIN32OLE object from `InternetExplorer.Application' HRESULT error code:0x80004002 No such interface

[wtr-general] Re: Running watir tests from command line and from hudson

2010-01-04 Thread Shlomit Gazit
directory I can see rake.bat Another question is: When running watir from hudson, I am suppose to see the WEB GUI running? On Jan 4, 8:51 am, Shlomit Gazit shlomitpatr...@gmail.com wrote: I am able to run watir test from command line but when I am trying to run watir from

[wtr-general] Re: firewatir- I cannot close the second popup.

2009-11-17 Thread Shlomit Gazit
Angrez, Please let me know if you have any new results. On Nov 16, 10:00 am, Shlomit Gazit shlomitpatr...@gmail.com wrote: Pallavi, Angrez hello, Thank you for the replies. I was trying your suggestion: $ff.startClicker(ok) $ff.startClicker(ok) $ff.image(:name, /elete/).click

[wtr-general] Re: firewatir- I cannot close the second popup.

2009-11-16 Thread Shlomit Gazit
PM, Shlomit Gazit shlomitpatr...@gmail.comwrote: Anybody?? On Nov 13, 4:43 pm, Shlomit Gazit shlomitpatr...@gmail.com wrote: Hello, I am trying to handlepopupswithfirewatir. My scenario is clicking on delete button, a popup confirmation will open and I should click ok.  After

[wtr-general] Re: run firewatir from terminal

2009-11-13 Thread Shlomit Gazit
seehttps://secure.wikimedia.org/wikipedia/en/wiki/Shebang_(Unix) for more info on that. On Thu, Nov 12, 2009 at 16:37, Shlomit Gazit shlomitpatr...@gmail.comwrote: In watir windows I can simply type in command line the name of the rb file and it will open IE and run watir test. How

[wtr-general] Firewatir with jssh is slower

2009-11-13 Thread Shlomit Gazit
Does anyone noticed firewatir is slower when starting it with jssh? I am login to my web project without -jssh and it is faster than running the project through firewatir (with -jssh). --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[wtr-general] firewatir- I cannot close the second popup.

2009-11-13 Thread Shlomit Gazit
Hello, I am trying to handle popups with firewatir. My scenario is clicking on delete button, a popup confirmation will open and I should click ok. After that a second popup will open and I should write the reason and click ok. So far I was able to click on the delete button and the second

[wtr-general] Re: watir tests are not passing on my environment

2009-11-05 Thread Shlomit Gazit
I found out it was related with popups titles in regular expression. On Oct 28, 3:25 pm, Shlomit Gazit shlomitpatr...@gmail.com wrote: After restarting the machine, it was working fine. I guess it is cache related. Is there a way to clean cache in the beginning of the test? On Oct 27, 5:04

[wtr-general] Iterate buttons in the page and call a method

2009-11-04 Thread Shlomit Gazit
Hello, I have MultipleSelectPopup.clear(/ID_OPEN/, nil) method which I want to call it as many as buttons I have in the page that has id / ID_OPEN/. The method is clicking on the button I am sending it the id (/ ID_OPEN/) and clearing the content from the popup. What so far is happening is

[wtr-general] uninitialized constant Watir::PageContainer::Win32

2009-10-30 Thread Shlomit Gazit
I am trying to use enabled_popup.rb. I added require 'watir/contrib/ enabled_popup', but when I am starting the server I am getting: C:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/contrib/ enabled_popup.rb:5: uninitialized constant Watir::PageContainer::Win32 (NameError) from

[wtr-general] Re: Watir 1.6.5.rc2 - release candidate available for testing

2009-10-29 Thread Shlomit Gazit
Any idea? On Oct 27, 3:23 pm, Shlomit Gazit shlomitpatr...@gmail.com wrote: require 'rubygems' require 'firewatir/container' -- the problematic line require 'watir/browser' On Oct 27, 2:44 pm, Bret Pettichord b...@pettichord.com wrote: Can you share the code that is failing? Specifically

[wtr-general] Re: Click ok on popup

2009-10-28 Thread Shlomit Gazit
I am no longer getting the error but still I need to click manually on the ok popups. On Oct 26, 11:15 am, orde ohil...@gmail.com wrote: Check this out: http://wiki.openqa.org/display/WTR/FAQ#FAQ-HowdoIfixaWIN32OLERuntimeE... Hope that helps. On Oct 26, 10:48 am,ShlomitGazit

[wtr-general] Re: watir tests are not passing on my environment

2009-10-28 Thread Shlomit Gazit
After restarting the machine, it was working fine. I guess it is cache related. Is there a way to clean cache in the beginning of the test? On Oct 27, 5:04 pm, Shlomit Gazit shlomitpatr...@gmail.com wrote: I had an idea to kill ie process from task manager and it helped for a while

[wtr-general] Re: Watir 1.6.5.rc2 - release candidate available for testing

2009-10-27 Thread Shlomit Gazit
After upgrading I am getting the error: /Users/shlomit/.gem/ruby/1.8/gems/firewatir-1.6.5.rc2/lib/firewatir/ container.rb:46: uninitialized constant FireWatir::Container::JsshSocket (NameError) from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:36:in `gem_original_require'

[wtr-general] Re: Watir 1.6.5.rc2 - release candidate available for testing

2009-10-27 Thread Shlomit Gazit
/ff_c2p_test_issues_2_menus_dev.rb Shlomit Gazit wrote: After upgrading I am getting the error: /Users/shlomit/.gem/ruby/1.8/gems/firewatir-1.6.5.rc2/lib/firewatir/ container.rb:46: uninitialized constant FireWatir::Container::JsshSocket (NameError)    from /Library/Ruby/Site/1.8/rubygems

[wtr-general] Re: watir tests are not passing on my environment

2009-10-27 Thread Shlomit Gazit
and sometimes not? I was trying even not touching the mose for the entire test, but it didnt help. Please let me know if something looks odd: Watir::Waiter.wait_until{$ie1.select_list(:id, 'RIGHT_HAND_LIST').exists? } Thank you, Shlomit. On Oct 19, 10:28 am, Shlomit Gazit shlomitpatr

[wtr-general] Re: watir tests are not passing on my environment

2009-10-27 Thread Shlomit Gazit
I had an idea to kill ie process from task manager and it helped for a while, but then after 6 or 7 popups, it couldn't find the popup anymore. Could it be that it related somehow with cache? On Oct 27, 4:49 pm, Shlomit Gazit shlomitpatr...@gmail.com wrote: I am taking my last comment back

[wtr-general] Re: Click ok on popup

2009-10-26 Thread Shlomit Gazit
I am getting this in the console, but it is not breaking the test, I just need manually to click on both OK buttons. c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie.rb:113:in `initialize': unknown OLE server: `AutoItX3.Control' (WIN32OLERuntimeError) HRESULT error code:0x800401f3

[wtr-general] Running FF with JSSH

2009-10-23 Thread Shlomit Gazit
Angrez hello, I am running on MacOS. How should I run the tests not through eclipse? Thank you, Shlomit Date: Thurs, Oct 22 2009 3:57 pm From: Shlomit Gazit I opened ff with jssh from terminal and was able to telnet only if I was a super user. When I run the firewatir test from eclipse I

[wtr-general] Re: Click ok on popup

2009-10-23 Thread Shlomit Gazit
Any replies for this one? On Oct 2, 10:21 am, Shlomit Gazit shlomitpatr...@gmail.com wrote: For handling prompt popups, I am using myClicker.rb file: ___ $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..') if $0 == __FILE__ require

[wtr-general] Re: Running FF with JSSH

2009-10-23 Thread Shlomit Gazit
method working, otherwise I am getting exception on unknown method attach. On Oct 23, 9:11 am, Angrez Singh ang...@gmail.com wrote: I think it will automatically open a new Firefox instance with JSSH when you run the test. - Angrez On Fri, Oct 23, 2009 at 8:43 PM, Shlomit Gazit shlomitpatr

[wtr-general] Re: Cannot get truncated text of a cell in a table

2009-10-20 Thread Shlomit Gazit
class=leftnavDates (2)/a /td /tr On Oct 20, 12:51 am, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Mon, Oct 19, 2009 at 11:48 PM, Shlomit Gazit shlomitpatr...@gmail.com wrote: Watir::Exception::UnknownObjectException: Unable to locate element, using :text

[wtr-general] Re: watir tests are not passing on my environment

2009-10-19 Thread Shlomit Gazit
Thank you! it helps! On Oct 15, 4:53 pm, orde ohil...@gmail.com wrote: http://wiki.openqa.org/display/WTR/FAQ#FAQ-HowdoIdealwithtimingissues... Hope that helps... On Oct 15, 10:55 am,ShlomitGazit shlomitpatr...@gmail.com wrote: One ting I didnt mention is that the new machine is a

[wtr-general] Cannot get truncated text of a cell in a table

2009-10-19 Thread Shlomit Gazit
@@leftNav = Array.new @@leftNav = $ie.table(:class, tableLeftNav).innerText @@leftNav_a = $ie.table(:class, tableLeftNav).row_count_excluding_nested_tables puts(@@leftNav, @@leftNav_a) for i in 1..@@leftNav_a @@leftNav.each do |i| $ie.link(:text,

[wtr-general] Re: watir tests are not passing on my environment

2009-10-15 Thread Shlomit Gazit
kidding! Shlomit Gazit wrote: One specific example I have: I ran a test that is passing on my old environment and on the new environment it is intermittent. When trying to find popup: The code is: $ie.cell(:class, c2p-action-down-arrow-horizontal).click

[wtr-general] Re: watir tests are not passing on my environment

2009-10-13 Thread Shlomit Gazit
I am still waiting for help. Please I am desperate. On Oct 2, 9:58 am, Shlomit Gazit shlomitpatr...@gmail.com wrote: Hello, I have one watir environment that is well functioning (that I didn't set up). I was trying to set up a new watir environment but somehow the tests

[wtr-general] Re: watir tests are not passing on my environment

2009-10-13 Thread Shlomit Gazit
, Oct 13, 2009 at 3:16 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Oct 2, 2009 at 6:58 PM, Shlomit Gazit shlomitpatr...@gmail.com wrote: For example, a test that is well running on one environment is breaking on the new environment when trying to find a url

[wtr-general] Running couples tests as a suite

2009-10-13 Thread Shlomit Gazit
I want to run couples of tests from one test, like a suite. Is it possible to do it? If yes, how? Thank you, Shlomit --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send

[wtr-general] watir tests are not passing on my environment

2009-10-02 Thread Shlomit Gazit
Hello, I have one watir environment that is well functioning (that I didn't set up). I was trying to set up a new watir environment but somehow the tests that are running on the good environment are not running on the new environment. For example, a test that is well running on one environment

[wtr-general] Checking if link exists

2009-10-02 Thread Shlomit Gazit
Hello, I want to check if a link exists in the page. I dont know what the content text of the link is, but I know the url. The procedure is: I want to set a filter with a certain text and clicking on the filter, it suppose to return nothing, that's how I will see that it is working well.

[wtr-general] Click ok on popup

2009-10-02 Thread Shlomit Gazit
For handling prompt popups, I am using myClicker.rb file: ___ $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..') if $0 == __FILE__ require 'watir/WindowHelper' $helper = WindowHelper.new $helper.push_confirm_button_ok() I am calling

[wtr-general] Re: Checking if link exists

2009-10-02 Thread Shlomit Gazit
*puts ie.link(:index,1).href* # above is the href property to extract the href value from the hyperlink sleep(10) ie.close Thanx Karim Rayani http://karimnumerouno.wordpress.com On Fri, Oct 2, 2009 at 9:28 AM, Shlomit Gazit shlomitpatr...@gmail.com