[wtr-general] Re: Outlook recommendations

2008-10-20 Thread al3kc

Does anyone know how to click link from message?
--~--~-~--~~~---~--~~
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: How access tabs in Firefox?

2008-10-23 Thread al3kc

Michael Hwee  wrote:
 Did you try with object instance?

 ff = FireWatir::Firefox.new.attach(:title,/Title/)


This code works but still does not solve the problem :)

When I click a link the new page is opened in the same window in
ACTIVE tab. So I can click anything in this tab and I do not need to
attach it. But code  ff = FireWatir::Firefox.new.attach(:title,/
Title/) helps to verify that page is really open.
When I want to switch back to the previous page by this code I have an
error Unable to locate window, using url and http://link.com/;
--~--~-~--~~~---~--~~
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Problems using visible

2008-10-23 Thread al3kc

Should this work for FireWatir? I tried to change it for
FireWatir::Element but it doesn't work.

Željko Filipin [EMAIL PROTECTED] wrote:
 On Mon, Sep 8, 2008 at 5:48 PM, Bret Pettichord [EMAIL PROTECTED] wrote:
  I think you need to require something before using this method. Any one?

 http://wiki.openqa.org/pages/viewpage.action?pageId=1119

--~--~-~--~~~---~--~~
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Watir and TeamCity

2008-10-29 Thread al3kc

Did anyone try to integrate Watir scripts with TeamCity continuous
build system? Is there way TeamCity to kick off Watir scripts
automatically?
--~--~-~--~~~---~--~~
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Consult Urgent Soluation for the View Source is Disabled

2008-10-30 Thread al3kc

Could you use FF with FireBug to see the source for that window?

On Oct 30, 1:35 pm, bugs apple [EMAIL PROTECTED] wrote:
 Hi, developers,

 Today, we run into this issue, after click the button and a new pop up IE
 window appear, at this new window, we can't
 see the sources and the IE developer tool bar fail to dig out the element
 since the VIEW SOURCE is disabled.

 How to operate such these web elements?

 or we can adapt some advanced technique? such as how to get the window
 handle and control it using win32ole?
 or  others stable soluations?

 Thanks in advance.
 -Wiston.
--~--~-~--~~~---~--~~
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Inactive windows on remote machine

2008-11-19 Thread al3kc

Hi all,

When I try to run my scripts on remote machine Watir creates browser
window as usually but this window stays inactive. So all my scripts
with AutoIt fails.

But when I open this machine in remote desktop connection and try to
run the same scripts browser window became active just after creation
and all scripts passes.

Does anyone know how to make window active on remote machine? Does it
depend from OS properties? Is this a ruby specific issue?

I use:
Ruby 1.8.6 - 26
Watir 1.5.6
Windows XP Professional SP2
IE7 browser (7.0.5730)
--~--~-~--~~~---~--~~
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Click_no_wait for firewatir

2008-11-28 Thread al3kc

Hi all,

Does click_no_wait method exists in firewatir? I didn't found it in
firewatir sorce files and it does not work in my tests.
I use firewatir - 1.2.1
--~--~-~--~~~---~--~~
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: How to click the ► on the page?

2008-12-02 Thread al3kc

I guess you can click it as a simple cell using class atribute.

$browser.cell(:xpath, //[EMAIL PROTECTED] = 'className' ]).click

--~--~-~--~~~---~--~~
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Clicking tabs has no effect

2008-12-03 Thread al3kc

Try ie.cell(:id, tab2).fireEvent(onmousedown)
--~--~-~--~~~---~--~~
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: How to handle file download popups in Firefox?

2008-12-17 Thread al3kc

Hi,

I use next code and it works for me

   @ai = WIN32OLE.new(AutoItX3.Control)
   @ai.WinWaitActive([REGEXPTITLE:Opening])
   @ai.Send({ENTER})
   @ai.WinWait(Enter name of file to save to…, , 5)
   @ai.WinActivate(Enter name of file to save to…)
   sleep(7)
   @ai.Send(#{$test_directory}\\#{name})
   sleep(5)
   @ai.ControlClick(Enter name of file to save to…, , Save)
   sleep(1)

To print path for saving I use @ai.Send(#{$test_directory}\\#
{name})  instead of  ai.ControlSend(Enter name of file to save
to..., ,
Edit,filepath) because this always type massed text.

--~--~-~--~~~---~--~~
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: How to handle file download popups in Firefox?

2008-12-18 Thread al3kc

I cannot set radio button. It's an issue for me too. I just have
selected Save file by default in FF.
--~--~-~--~~~---~--~~
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: How to handle file download popups in Firefox?

2008-12-18 Thread al3kc

on 
http://www.autoitscript.com/forum/index.php?showtopic=81915hl=firefox+download+window
I have found next code:

ControlClick(Opening, , MozillaWindowClass1, left, 1, 46, 158)
sleep(1000)
ControlClick(Opening, , MozillaWindowClass1, left, 1, 241,
237)
sleep(1000)

All elements in MozillaWindowClass1 has constant coordinates so you
can click any element in this window by coordinates.
--~--~-~--~~~---~--~~
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] JSSH for Firefox3.1

2008-12-23 Thread al3kc

Are there any plans about jssh xpi for FF3.1?
--~--~-~--~~~---~--~~
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: JSSH for Firefox3.1

2008-12-24 Thread al3kc

It contains xpi only for FF3.0.
FF3.1 can be run with this extension but after Watir::Browser.new it
crashes.
--~--~-~--~~~---~--~~
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: kah boom and thanks

2008-12-25 Thread al3kc

But my IE6 tests run slower than with Watir1.5. I use XPATH for
verifyng almost all objects in page. It can decelerate running but
Watir 1.5 was faster for me.
--~--~-~--~~~---~--~~
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Full Screen [F11] FireFox

2009-01-12 Thread al3kc

Try to send F11 by AutoIt
--~--~-~--~~~---~--~~
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Failed to start because msvcr80-ruby18.dll was not found

2009-02-18 Thread al3kc

When I try to require watir and run this file I got the error

This application failed to start because msvcr80-ruby18.dll was not
found. Re-installing the application may fix this problem.

I reinstalled ruby and watir gem two times but still have this error.
Windows-pr gem is installed too.

Did anybody saw this error before?
--~--~-~--~~~---~--~~
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: How to Drag and Drop a DIV element in Watir

2009-04-07 Thread al3kc

try to check out this one

http://feedraider.com/item/24826/Z-Bar-Zone/Drag-and-Drop-with-Watir/


--~--~-~--~~~---~--~~
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: How to Drag and Drop a DIV element in Watir

2009-04-07 Thread al3kc

try to check out this one

http://feedraider.com/item/24826/Z-Bar-Zone/Drag-and-Drop-with-Watir/


--~--~-~--~~~---~--~~
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: visible? method firefox

2009-05-06 Thread al3kc

It works for me http://jira.openqa.org/browse/WTR-262

On May 5, 9:05 pm, aidy lewis aidy.le...@googlemail.com wrote:
 Hi,

 Do we have a visible? method that works in Firefox?

 --
 Aidy
 blog:www.agiletester.co.uk
 twitter:http://twitter.com/aidy_lewis
--~--~-~--~~~---~--~~
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Why this autoit code is not working? its doing send keys in the browser URL address area instead of in the text_field area.

2009-05-15 Thread al3kc

Do you use IE7?
try to click anywhere in browser page. It will move focus from URL
field to the browser page. and the run your autoit code
--~--~-~--~~~---~--~~
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Opening several different browsers

2009-05-18 Thread al3kc

Hi all,

I need to open IE and FF browsers from one ruby file. I open IE
browser using the following code:

Watir::Browser.default = 'ie'
$ie = Watir::Browser.new

When I try to open new FF3 browser using similar code

 Watir::Browser.default = 'firefox'
$ff = Watir::Browser.new

it opens the one more IE browser instead of FF.

But when I write $ff = FireWatir::Firefox.new it open FF browser as I
expected.

Is it expected behavior or bug?
--~--~-~--~~~---~--~~
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Running Watir suite from Hudson

2009-05-22 Thread al3kc

I
--~--~-~--~~~---~--~~
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Running Watir suite from Hudson

2009-05-22 Thread al3kc

I think the Batch Task is all you need to run your tests. This plugin
should be installed by default.
--~--~-~--~~~---~--~~
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Automating a File uploader popup

2009-06-17 Thread al3kc

Watir use AutoIt For file uploading. set method for file_field looks
like

def set(setPath)
  assert_exists
  require 'watir/windowhelper'
  WindowHelper.check_autoit_installed
  begin
thrd = Thread.new do
  system(rubyw -e \require 'win32ole'; @autoit=WIN32OLE.new
('AutoItX3.Control'); waitresu...@autoit.winwait 'Choose file', '',
15; sleep 1; if waitresult == 1\ -e \@autoit.ControlSetText 'Choose
file', '', 'Edit1', '#{setPath}'; @autoit.ControlSend 'Choose file',
'', 'Button2', '{ENTER}';\ -e \end\)
end
  thrd.join(1)
  rescue
raise Watir::Exception::WatirException, Problem accessing
Choose file dialog
  end
  click
end

You can try to invoke this autoit code after clicking the span or
rewrite this method for Span class
--~--~-~--~~~---~--~~
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Setting HTML Properties

2009-06-19 Thread al3kc


Try

ie.table(:index,1).document.style.display = 'block'

It works for me on IE, not sure about FF.
--~--~-~--~~~---~--~~
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: FireWatir Read Only Exception

2009-07-13 Thread al3kc

I also see this error for NOT read-only fields sometimes.
--~--~-~--~~~---~--~~
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Firefox 3.5 compatible with FireWatir?

2009-07-16 Thread al3kc

I have a similar error

Failed to load XPCOM component: C:\Documents and Settings\username
\Application Data\Mozilla\Firefox\Profiles\mk3pna4d.default\extensions
\j...@extensions.mozilla.org\components\jssh.dll

I don't have 'extensions' folder in mk3pna4d.default at all.
--~--~-~--~~~---~--~~
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Has anyone tried using AutoIt to handle unexpected Popup windows

2009-10-21 Thread al3kc


Do you create separate thread for check_for_popup method?
--~--~-~--~~~---~--~~
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: FireWatir Issue with Regular expressions

2009-10-26 Thread al3kc

Your code works well on watir 1.6.2 and FF 3.5.3
--~--~-~--~~~---~--~~
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] FireWatir status method gives error in 1.6.5

2009-11-12 Thread al3kc


irb(main):001:0 require 'watir'
= true
irb(main):002:0 Watir::Browser.default = 'firefox'
= firefox
irb(main):003:0 $browser = Watir::Browser.new
= #FireWatir::Firefox:0x3279518 url=about:blank title=
irb(main):004:0 $browser.status
NameError: uninitialized constant FireWatir::Firefox::WINDOW_VAR
from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/
active_support/dependencies.rb:105:in `const_missing'
from c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/
firewatir/firefox.rb:460:in `status'
from (irb):4


Environment:
Ruby 1.8.6
FF 3.5.5
WinXP
--~--~-~--~~~---~--~~
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: FireWatir status method gives error in 1.6.5

2009-11-12 Thread al3kc

Seems like WINDOW_VAR in status method should be typed in lower case.
Then it works.
--~--~-~--~~~---~--~~
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] ondblclick event doesn't work in firewatir 1.6.5

2009-11-16 Thread al3kc

In 1.6.2 I made fireEvent action like

$test_browser.div(:class ,name).div(:xpath ,//d...@class ='class']
[3]).div(:class ,classname).text_field(:value, name).fireEvent
('ondblclick')

and it worked great.

After upgrading to 1.6.5 it just do nothing, it doesn't give any error
and looked like pass but it does not make any action. Onblur and
onfocus events work fine for the same element.
In watir 1.6.5 all events still work ok.

My environment:
WinXP
Ruby 1.8.6
Firefox 3.5.5
--~--~-~--~~~---~--~~
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Driving Watir scripts in IE and Firefox at the same time

2010-01-15 Thread al3kc
could you share your code?
-- 
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general

[wtr-general] Re: fire_event not fired in firewatir

2010-01-19 Thread al3kc
I use firewatir 1.6.5 but fire_event doesn't work properly for me
too.

I use the following cheat:

module FireWatir
  module Container
WINDOW_VAR = window
BROWSER_VAR = browser
DOCUMENT_VAR = document
BODY_VAR = body
  end
end

and replace window_var and document_vat  by WINDOW_VAR and
DOCUMENT_VAR in fire_event method.
-- 
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general

[wtr-general] Firefox 3.6

2010-01-22 Thread al3kc
FF3.6 was realized yesterday. Any plans for jssh on new version?

-- 
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general


[wtr-general] Re: ERROR: Error installing watir:

2010-01-27 Thread al3kc
Probably you should install Development Kit from 
http://rubyinstaller.org/download.html

-- 
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general


[wtr-general] Re: browser.url doesn't work in FF3.6

2010-01-29 Thread al3kc
I've never used git before, but seems like I did it.


 Please clone watir repository on github, fix it and submit a pull request.

 Željko
 --

-- 
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 read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general


[wtr-general] Re: Cannot fireEvent text_field defined by xpath

2010-03-19 Thread al3kc
This issue also is reproduced on ruby 1.8.6 (2007-09-24 patchlevel
111) [i386-mswin32] with watir 1.6.5

-- 
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: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com

To unsubscribe from this group, send email to 
watir-general+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


[wtr-general] Re: Cannot click popup window in IE using watir 1.6.5

2010-03-23 Thread al3kc
I have found work around for my problem. I use the following methods

def check_for_popups

  loop do

popup = autoit.WinWait('Confirm, '', 0.1)

if  popup == 1
  autoit.Send('{ENTER}')
end

  end
end

and create new process with this method:

@pid = Process.create(
:app_name   = 'ruby popup_closer.rb',
:creation_flags  = Process::DETACHED_PROCESS
)

So in my case popup should be clicked almost instantly, otherwise
tests will hang. Is this expected behavior?

-- 
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: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com

To unsubscribe from this group, send email to 
watir-general+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


[wtr-general] Re: Cannot click popup window in IE using watir 1.6.5

2010-03-24 Thread al3kc
I use this method only for unexpected popups.
But for expected popups (e.g. file downloading) I use click method,
not click_no_wait. In watir 1.6.5 click_no_wait doesn't work for me at
all, it highlight element but doesn't click . In 1.6.2 it was ok.

On Mar 24, 12:38 am, Darryl Brown d-l-br...@roadrunner.com wrote:
 Hi,

 Are you running a test that encounters unexpected popups?
 If they are expected, why not use click_no_wait and handle them
 individually.

 Regards,
 Darryl

 On Mar 23, 11:38 am, al3kc aleks.kiev...@gmail.com wrote:

  I have found work around for my problem. I use the following methods

  def check_for_popups

    loop do

      popup = autoit.WinWait('Confirm, '', 0.1)

      if  popup == 1
        autoit.Send('{ENTER}')
      end

    end
  end

  and create new process with this method:

  @pid = Process.create(
      :app_name       = 'ruby popup_closer.rb',
      :creation_flags  = Process::DETACHED_PROCESS
      )

  So in my case popup should be clicked almost instantly, otherwise
  tests will hang. Is this expected behavior?

-- 
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: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com

To unsubscribe from this group, send email to 
watir-general+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


[wtr-general] Re: how ruby interacts with already opened powerpoint

2010-04-16 Thread al3kc
try this

ppt = WIN32OLE.connect('PowerPoint.Application')

-- 
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: watir-general@googlegroups.com


[wtr-general] Re: Watir on Windows, how is it done anymore?

2010-08-09 Thread al3kc
does watir support 1.8.6 mingw version or only old mswin32 ?

-- 
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: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


[wtr-general] Jssh for Firefox 4.0 beta3

2010-08-17 Thread al3kc
Does any one has jssh for FF4.0?

-- 
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: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


[wtr-general] Re: Jssh for Firefox 4.0 beta3

2010-09-10 Thread al3kc
So watir-webdriver will be final solution to support FF4.0?

-- 
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: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


[wtr-general] Does watir support svg

2011-09-14 Thread al3kc
Hi,

I have the following svg element in the page

table
   div
 svg
   rect
   rect

I want to access rect elements. I use element_by_xpath but i can only
access //table/div element. When I use  //table/div/svg I get
error that elemt does not exists. Thought when I do
element_by_xpath( //table/div).html I can see svg and rect elements
in output. Does watir support svg at all? Any ideas how to access svg
in other way?

-- 
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