Re: [Wtr-general] Question about IE.new_process and Vista

2007-05-25 Thread Bach Le
I thought the two problems are related because in neither instance was watir able to find the window after it was created (I didn't look into the specifics). I did look into it some more after this post and I found out that it was Vista's security settings that caused watir to break. Turning

Re: [Wtr-general] Question about IE.new_process and Vista

2007-05-25 Thread Bret Pettichord
Bach Le wrote: I thought the two problems are related because in neither instance was watir able to find the window after it was created (I didn't look into the specifics). I did look into it some more after this post and I found out that it was Vista's security settings that caused watir

Re: [Wtr-general] Question about IE.new_process and Vista

2007-05-25 Thread Bach Le
So here is how I fixed my problem: 1. Goto the Control Panel 2. Click on User Accounts 3. Click on User Accounts again 4. Select the account you are using 5. Click Turn User Account Control on or off 6. Turn User Account Control off This allowed Shell.Application.Window to find the correct

[Wtr-general] Question about IE.new_process and Vista

2007-05-24 Thread Bach Le
I've installed watir 1165 and tried using IE.new_process on Windows Vista and in both tests and irb, IE.new_process fails. It fails after creating the window when it tries to get the process id from hwnd. I have a coworker who installed this on his Vista machine and it works fine. The

Re: [Wtr-general] Question about IE.new_process and Vista

2007-05-24 Thread Bret Pettichord
Bach Le wrote: I've installed watir 1165 and tried using IE.new_process on Windows Vista and in both tests and irb, IE.new_process fails. It fails after creating the window when it tries to get the process id from hwnd. I have a coworker who installed this on his Vista machine and it works

Re: [Wtr-general] Question about IE.new_process and Vista

2007-05-24 Thread Bach Le
Bret, the problem actually exists for IE.new as well. I create a new IE window with IE.new and it creates the window but when I call the goto method to navigate to any page, a new IE window shows up and the navigation is done in that window. I've updated the ticket to include this

Re: [Wtr-general] Question about IE.new_process and Vista

2007-05-24 Thread Bret Pettichord
Bach Le wrote: Bret, the problem actually exists for IE.new as well. I create a new IE window with IE.new and it creates the window but when I call the goto method to navigate to any page, a new IE window shows up and the navigation is done in that window. I've updated the ticket to

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

2007-03-27 Thread Bret Pettichord
John Lolis wrote: 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 =

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

2007-03-25 Thread sathees
The Exception occurs by the timeout which you gave as (30). if you can post the Error here I can help you further! ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

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

[Wtr-general] Question regarding buttonmenu

2007-03-13 Thread Mathew Jacob
Hi, I have one scenario that buttonmenu and two items in that buttonmenu. What is the command to select item in buttonmenu. Please guide me. Regards, Mathew Yahoo India, EGL, Bangalore - 71, Phone:+91-80-30516346, Mobile:+91-9945849925

Re: [Wtr-general] Question regarding buttonmenu

2007-03-13 Thread Charley Baker
Some html sample code would be helpful. -c On 3/13/07, Mathew Jacob [EMAIL PROTECTED] wrote: Hi, I have one scenario that buttonmenu and two items in that buttonmenu. What is the command to select item in buttonmenu. Please guide me. Regards, Mathew * * *Ya**ho**o India,

Re: [Wtr-general] Question About Test Suite

2007-02-06 Thread Maisonnette
Yes, and your tests function must be start with 'test_' in every test case file ... (http://rubyforge.org/pipermail/wtr-general/2006-July/006762.html) - Posted via Jive Forums

Re: [Wtr-general] Question About Test Suite

2007-02-05 Thread Charley Baker
Take a look at the documentation for test/unit: http://www.ruby-doc.org/stdlib/libdoc/test/unit/rdoc/classes/Test/Unit.html The method to run the test suite should be outside your test suite class. TestSuite also doesn't have setup and teardown methods, those are test case methods. No reason to

[Wtr-general] Question About Test Suite

2007-02-04 Thread steven
I have a bunch of test cases in separate .rb files. For this example, a.rb and b.rb. I then created an rb file to run all of them, called suite_my_tests.rb In this file I have: require 'includes' require 'a' require 'b' class TS_MyTests def setup

Re: [Wtr-general] Question from a newbie

2006-10-25 Thread Cain, Mark
@rubyforge.org Subject: Re: [Wtr-general] Question from a newbie Cain, Mark wrote: Excuse me but aren't we talking about IE here? Not that i was aware of. My understanding is that the topic at hand was whether the HTML generated by a web application was conformant to WC3 standards and whether non

Re: [Wtr-general] Question from a newbie

2006-10-24 Thread Michael Bolton
Oh, I get it. I should have said /yet another/ bug. :) ---Michael B. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cain, Mark Sent: October 23, 2006 12:48 PM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] Question from a newbie Excuse me

Re: [Wtr-general] Question from a newbie

2006-10-24 Thread Michael Bolton
done overall, and that's a threat to the value of the product. ---Michael B. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord Sent: October 24, 2006 10:37 PM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] Question from a newbie Cain

[Wtr-general] Question from a newbie

2006-10-23 Thread aidy lewis
MB writes: Congratulations: you've found a bug. There should not be two text fields with the same ID and the same name on the same page. Not necessarily so; if for example, you look at IBM Portal application architecture, it contains many separate applications (portlets) within a container

Re: [Wtr-general] Question from a newbie

2006-10-23 Thread Michael Bolton
that the name attribute is apparently not subject to the same restriction, though. ---Michael B. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cain, Mark Sent: October 23, 2006 10:20 AM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] Question from a newbie

Re: [Wtr-general] Question from a newbie

2006-10-23 Thread Cain, Mark
-general@rubyforge.org Subject: Re: [Wtr-general] Question from a newbie Do I misread the HTML 4.01 spec (http://www.w3.org/TR/html401/index/attributes.html)? It says that ID is a document-wide unique ID. The whole point of the ID tag is to have a unique ID, is it not? Doesn't having a non-unique ID

Re: [Wtr-general] Question from a newbie

2006-10-23 Thread Lonny Eachus
ts -- even of different types -- may have the same id. Lonny Eachus Subject: [Wtr-general] Question from a newbie From: "aidy lewis" [EMAIL PROTECTED] Date: Mon, 23 Oct

Re: [Wtr-general] Question from a newbie

2006-10-20 Thread aidy rutter
Bret wrote: To clarify: it is not yet implemented for input elements (INPUT), such as text_field. It is supported for most other elements.I will add this caveat to the watir FAQ, and if I have some time next week, I will add this to the code with tests. aidy

Re: [Wtr-general] Question from a newbie

2006-10-20 Thread Michael Bolton
I just downloaded Watir to help automate some tests. I've found it pretty intuitive and easy to learn but I'm having trouble getting it to fill out a text field on a form. The problem is that there are two text fields with the same id and same name (all other attributes are equal as well).

Re: [Wtr-general] Question from a newbie

2006-10-19 Thread aidy rutter
Hi, I added to this to the FAQ, but I downloaded a dev version of Watir. I don't know what version I downloaded, because I left work a couple of weeks ago. But I have had this working. aidy On 10/18/06, Bret Pettichord [EMAIL PROTECTED] wrote: Justin Nowell wrote: ie.text_field(:name =

Re: [Wtr-general] Question from a newbie

2006-10-19 Thread Bret Pettichord
ie.text_field(:name = username,:index = 2).set(newuser) This syntax is not yet implemented in Watir 1.5. To clarify: it is not yet implemented for input elements (INPUT), such as text_field. It is supported for most other elements. Bret

[Wtr-general] Question from a newbie

2006-10-18 Thread Justin Nowell
Hey, I just downloaded Watir to help automate some tests. I've found it pretty intuitive and easy to learn but I'm having trouble getting it to fill out a text field on a form. The problem is that there are two text fields with the same id and same name (all other attributes are equal as

Re: [Wtr-general] Question about Test::Unit and logging

2006-09-09 Thread Charley Baker
Take a look at Test Report. It will give you html or xml output for your suites: http://rubyforge.org/projects/test-report/I'll add this to the FAQ soon. -CharleyOn 9/8/06, John Fitisoff [EMAIL PROTECTED] wrote: Is there any way of creating a single log filecontainingthe output for an entire test

[Wtr-general] Question about Test::Unit and logging

2006-09-08 Thread John Fitisoff
Is there any way of creating a single log file containing the output for an entire test suite? I see the logger example but it's generating files for each individual test. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection

[Wtr-general] Question - How to use different installed versions of WATiR

2006-08-31 Thread Boyt, Darrel
Bret, et al, I'm still a neophyte where Ruby's concerned, so please excuse what may seem to be an obvious question. I've followed theinstructions on http://wiki.openqa.org/display/WTR/FAQ#FAQ-devgemto install the latest from SVN. At the end of the instructions it says I can uninstall

Re: [Wtr-general] Question - How to use different installed versions of WATiR

2006-08-31 Thread Charley Baker
You can use something along these lines to load a specifc version of a gem, standard operators apply (=, =, etc): require 'rubygems'require_gem 'watir', '= 1.5.1.1079'There's no need to uninstall previous gems if you want to use them. -CharleyOn 8/31/06, Boyt, Darrel [EMAIL PROTECTED] wrote:

[Wtr-general] [question] Finding a Link with 2 regular expressions?

2006-07-06 Thread Rodrigo Julian Martin
Hello Everybody! Im trying to find a link with Watir by using 2 regular expressions.. is this posible? Lets suppose Im trying to find a link with this url: http://server.com/jm/sell?act=formsubAct=modifsiteID=MLAitemID=22245975 And Ive defined two RegExp: RegExp1 =

Re: [Wtr-general] [question] Finding a Link with 2 regular expressions?

2006-07-06 Thread Ravishankar, MG
If browser.link(:url, /#{regExp1}.*#{regExp2}/).exists? == true then [] should work! -MG http://server.com/jm/sell?act=formsubAct=modifsiteID=MLAitemID=22245975 And Ive defined two RegExp: RegExp1 = subAct=modif RegExp2 = 22245975 Ive tried something like.. If

Re: [Wtr-general] [question] Finding a Link with 2 regularexpressions?

2006-07-06 Thread Rodrigo Julian Martin
Of Ravishankar, MG Sent: Jueves, 06 de Julio de 2006 11:56 a.m. To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] [question] Finding a Link with 2 regularexpressions? If browser.link(:url, /#{regExp1}.*#{regExp2}/).exists? == true then [] should work! -MG

Re: [Wtr-general] [question] Finding a Link with 2 regularexpressions?

2006-07-06 Thread Daniel Browne
, 06 de Julio de 2006 11:56 a.m. To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] [question] Finding a Link with 2 regularexpressions? If browser.link(:url, /#{regExp1}.*#{regExp2}/).exists? == true then […] should work! -MG

Re: [Wtr-general] [question] Setting timeout for a ie.wait method?

2006-06-07 Thread Rodrigo Julian Martin
Hello Bret, ie.down_load_time is a Watir 1.5 feature, right? Im afraid I still have to use the 1.4.1 release (because of WET compatibility for example). Is there a way I could manage this with 1.4.1? My code is like this: [code] $browser.links.each do |link|

Re: [Wtr-general] [question] Setting timeout for a ie.wait method?

2006-06-07 Thread Daniel Browne
If you knew of some text that was always present in the html of a loaded page, but not present when one of the error pages is displayed you could use: ie.html.match(/some_text_that_is_always_present/) I imagine there is a better way to do it though. Cheers, Daniel. On 07/06/06, Rodrigo

Re: [Wtr-general] [question] Setting timeout for a ie.wait method?

2006-06-07 Thread Bret Pettichord
On 6/7/06, Rodrigo Julian Martin [EMAIL PROTECTED] wrote: Hello Bret, ie.down_load_time is a Watir 1.5 feature, right?No. It's been in Watir for a long time. It is in 1.4.1. Well, I need a way of check that each link that was clicked have loaded "completely" a page, else I need to

Re: [Wtr-general] [question] Setting timeout for a ie.wait method?

2006-06-02 Thread Praveen Kumar Kammitta
) -- Message: 1 Date: Thu, 1 Jun 2006 17:22:41 -0300 From: Rodrigo Julian Martin [EMAIL PROTECTED] Subject: Re: [Wtr-general] [question] Setting timeout for a ie.wait method? To: wtr-general@rubyforge.org Message-ID: [EMAIL PROTECTED] Content-Type: text

Re: [Wtr-general] [question] Setting timeout for a ie.wait method?

2006-06-01 Thread Chris McMahon
I'm doing this because I need to test if a page has been loaded correctly after clicking a link, maybe there's a easier form of checking this.. def wait_for_page(seconds) begin @ie.link(:text,My Incredibly Important Link).click do_the_next_thing_method rescue sleep 1

Re: [Wtr-general] [question] Setting timeout for a ie.wait method?

2006-06-01 Thread Bret Pettichord
On 6/1/06, Rodrigo Julian Martin [EMAIL PROTECTED] wrote: I was wondering if there's a way of setting the timeout parameter for the .wait method… I mean, let's say that a page doesn't load in 10 seconds. Could I trap that the .wait method failed after 10 seconds in order to log that?

Re: [Wtr-general] [question] Setting timeout for a ie.wait method?

2006-06-01 Thread Chris McMahon
P.S. I have my doubts about McMahon's suggestion. :) I'm doing something very similar to this in my current Watir scripts right now, except I haven't put in the max-retries logic yet. -Chris ___ Wtr-general mailing list Wtr-general@rubyforge.org

Re: [Wtr-general] [question] Setting timeout for a ie.wait method?

2006-06-01 Thread Bret Pettichord
The problem is that link().click won't return until the page is loaded. Maybe you meant to use link().ole_object.click instead?BretOn 6/1/06, Chris McMahon [EMAIL PROTECTED] wrote: P.S. I have my doubts about McMahon's suggestion.:)I'm doing something very similar to this in my current Watir

Re: [Wtr-general] [question] Setting timeout for a ie.wait method?

2006-06-01 Thread Chris McMahon
On 6/1/06, Bret Pettichord [EMAIL PROTECTED] wrote: The problem is that link().click won't return until the page is loaded. Maybe you meant to use link().ole_object.click instead? Ah, you're right, I misunderstood the original question. Rodrigo, in my case, I have interim pages that show

Re: [Wtr-general] [question] Setting timeout for a ie.wait method?

2006-06-01 Thread John Castellucci
I had a similar requirement and addressed it by adding my methods to the Element class. This may not be the best solution, but it worked for me. module Watir class Element def click_wait(how_long = 30) wait_for(how_long) click end def wait_for(how_long=30)

Re: [Wtr-general] [question] Setting timeout for a ie.wait method?

2006-06-01 Thread Rodrigo Julian Martin
-general] [question] Setting timeout for a ie.wait method? The problem is that link().click won't return until the page is loaded. Maybe you meant to use link().ole_object.click instead? Bret On 6/1/06, Chris McMahon [EMAIL PROTECTED] wrote: P.S. I have my doubts about McMahon's suggestion

Re: [Wtr-general] [question] Accesing images?

2006-05-26 Thread Rodrigo Julian Martin
triggers a Modal Popup) Thanks in Advance! Rodrigo Julian Martin From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord Sent: Martes, 23 de Mayo de 2006 07:23 p.m. To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] [question] Accesing images?

Re: [Wtr-general] [question] Accesing images?

2006-05-23 Thread Rodrigo Julian Martin
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lonny Eachus Sent: Lunes, 22 de Mayo de 2006 08:11 p.m. To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] [question] Accesing images? We can see a lot easier what is going on if you indent the HTML. Try using TidyUI or some

Re: [Wtr-general] [question] Accesing images?

2006-05-23 Thread Lonny Eachus
in frames on some popups, and it is not a simple thing at all. Lonny Eachus == Subject: Re: [Wtr-general] [question] Accesing images? From: "Rodrigo Julian Martin" [EMAIL PROTECTED]

Re: [Wtr-general] [question] Accesing images?

2006-05-23 Thread David Schmidt
Rodrigo, Examining the HTML I see that the image with id of img2 isn't even in the div with id DIVImageFile_2. In addition, the img2 image doesn't have any events associated with it, so clicking that image won't do anything. I think the link you wish to follow is the link following img2: a

[Wtr-general] [question] Javascript security alert popup?

2006-05-23 Thread Gavazn Vahshi
Hello everyone, What's the best approach to deal with javascript security alert popups? Is autoit a good choice? I get the popup when I try http://mysite and the link is forwarded to https://mysite waiting for user confirmation. I'm kind of new to this, but I did go through a few months of

Re: [Wtr-general] [question] Javascript security alert popup?

2006-05-23 Thread Lillis, Dara
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gavazn Vahshi Sent: Tuesday, May 23, 2006 1:32 PM To: wtr-general@rubyforge.org Subject: [Wtr-general] [question] Javascript security alert popup? Hello everyone, What's the best approach to deal with javascript security alert popups? Is autoit

Re: [Wtr-general] [question] Javascript security alert popup?

2006-05-23 Thread Gavazn Vahshi
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gavazn Vahshi Sent: Tuesday, May 23, 2006 1:32 PM To: wtr-general@rubyforge.org Subject: [Wtr-general] [question] Javascript security alert popup? Hello everyone, What's the best approach to deal with javascript

Re: [Wtr-general] [question] Accesing images?

2006-05-23 Thread Bret Pettichord
It would help to know what version of Watir you are using.Bret ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] [question] Accesing images?

2006-05-23 Thread Bret Pettichord
On 5/23/06, Rodrigo Julian Martin [EMAIL PROTECTED] wrote: Hi Bret, sorry for the lack of info.. I'm using 1.4.1Just as a point of information, we did not support *modal* web dialogs in 1.4.1. So i initially thought you must be using a more current version. It sounds like you are

[Wtr-general] [question] Accesing Images Snapshot

2006-05-22 Thread Rodrigo Julian Martin
And here is the snapshot of that 6 Images Thanks! Rodrigo Julian Martin attachment: image_buttons.jpg ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] [question] Accesing Images..

2006-05-22 Thread Rodrigo Julian Martin
Oh, sorry.. The snapshots are supposed to go with an earlier post Ive sent. But that post is still waiting moderation, because its a little bigger than 40K. Sorry Again Rodrigo Julian Martin ___ Wtr-general mailing list

Re: [Wtr-general] [question] Accesing images?

2006-05-22 Thread Rodrigo Julian Martin
Hello! Im having troubles trying to click some images on a modal web dialog. They seem to be under div tags, but I cant click them Ive tried with divs, images and frame sentences but nothing works Here is the html code for that section (Ive discarded the java functions on the

Re: [Wtr-general] [question] Accesing images?

2006-05-22 Thread Lonny Eachus
. Are you using the id? Example: @my_ie.image(:id, 'img2').click Lonny Eachus == Subject: Re: [Wtr-general] [question] Accesing images? From: "Rodrigo Julian Martin" [EMAIL

Re: [Wtr-general] [question] Passing a Parameter in XPATHfor FireWatir?

2006-05-18 Thread Rodrigo Julian Martin
Thanks for the aswer Brett! I'd always thought that single quotes prevented variable expansion too... Cheers! Rodrigo Julian Martin Bret Pettichord wrote: Why did you change the inner quotes on the second try? This should work: ie.select_list(:xpath, //[EMAIL PROTECTED]'#{variable}'])

Re: [Wtr-general] [question] Passing a Parameter in XPATHfor FireWatir?

2006-05-18 Thread Bret Pettichord
BTW, one of the conventions i follow in my ruby code is that i always use single quotes, unless i'm using interpolation or some other feature (like the ability to include single quotes) that requires double quotes. ___ Wtr-general mailing list

[Wtr-general] [question] How to click two buttons that are not buttons...

2006-05-18 Thread Rodrigo Julian Martin
Hello Everybody, i'm trying to click two buttons that are not regular buttons... This is the code for them: tr td table border=0 cellpadding=0 cellspacing=2 tbodytr width=90 td align=center bgcolor=#110a7c nowrap=nowrap

Re: [Wtr-general] [question] How to click two buttons that are not buttons...

2006-05-18 Thread Lillis, Dara
Title: [Wtr-general] need help with radio button here is one way: ie.link(:text,'Acepto').click ie.link(:text, 'No Acepto').click From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rodrigo Julian MartinSent: Thursday, May 18, 2006 2:51 PMTo: wtr-general@rubyforge.orgSubject:

Re: [Wtr-general] [question] access denied OLE error code:80070005

2006-05-09 Thread Rodrigo Julian Martin
Lunes, 08 de Mayo de 2006 11:23 p.m. To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] [question] access denied OLE error code:80070005 This might fix your problem depending on the actual code that failed. (Show us more of your code if you need more help.) class Watir::IE attr_accessor e

Re: [Wtr-general] [question] access denied OLE error code:80070005

2006-05-09 Thread Bret Pettichord
g Subject: Re: [Wtr-general] [question] access denied OLE error code:80070005 This might fix your problem depending on the actual code that failed. (Show us more of your code if you need more help.) class Watir::IE attr_accessor error_checkers end ie.error_checkers = [] Bret On 5/8/06, R

Re: [Wtr-general] [question] access denied OLE error code:80070005

2006-05-09 Thread Rodrigo Julian Martin
, 09 de Mayo de 2006 11:58 a.m. To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] [question] access denied OLE error code:80070005 Thanks fro the reference. I've added it to the FAQ http://wiki.openqa.org/display/WTR/FAQ#access-denied If my solution also works, lets also add it to the FAQ

Re: [Wtr-general] [question] access denied OLE error code:80070005

2006-05-09 Thread Rodrigo Julian Martin
Julian Martin From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord Sent: Martes, 09 de Mayo de 2006 03:26 p.m. To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] [question] access denied OLE error code:80070005 On 5/9/06, Rodrigo Julian Martin

Re: [Wtr-general] [question] access denied OLE error code:80070005

2006-05-09 Thread John Castellucci
class Watir::IE  attr_accessor error_checkers end $browser = IE.new And it throws me this output undefined local variable or method `error_checkers' for Watir::IE:Class (NameError) I suspect the offender is the missing colon (:) before error_checkers in attr_accessor (it's expecting a symbol).

Re: [Wtr-general] [question] access denied OLE error code:80070005

2006-05-09 Thread Rodrigo Julian Martin
Julian Martin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Castellucci Sent: Martes, 09 de Mayo de 2006 04:22 p.m. To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] [question] access denied OLE error code:80070005 class Watir::IE

Re: [Wtr-general] [question] access denied OLE error code:80070005

2006-05-09 Thread Bret Pettichord
Pettichord Sent: Martes, 09 de Mayo de 2006 03:26 p.m. To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] [question] access denied OLE error code:80070005 On 5/9/06, Rodrigo Julian Martin [EMAIL PROTECTED] wrote: One question Brett.. where should I put that code? On my script source

[Wtr-general] [question] access denied OLE error code:80070005

2006-05-08 Thread Rodrigo Julian Martin
Hello everybody! When watir does a .wait for a page, it throws me the following error: xecuting 'ruby -C "C:/Documents and Settings/testing/Desktop/[Desarrollo] Ensamble de Circuitos 08-05-2006" "ML_Circuito.rb"'c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2389:in `method_missing': document

Re: [Wtr-general] [question] access denied OLE error code:80070005

2006-05-08 Thread Bret Pettichord
This might fix your problem depending on the actual code that failed. (Show us more of your code if you need more help.) class Watir::IE attr_accessor error_checkers end ie.error_checkers = [] BretOn 5/8/06, Rodrigo Julian Martin [EMAIL PROTECTED] wrote: Hello everybody! When watir does a .wait

Re: [Wtr-general] [question] access denied OLE error code:80070005

2006-05-08 Thread Bret Pettichord
BTW, it's basically a bug that this is so hard to correct.I've just checked in a change to trunk that allows this simpler code to avoid this problem with future versions: ie.disable_checker(NAVIGATION_CHECKER) I'm actually thinking about providing a more general mechanism for adding or removing

[Wtr-general] [question] Opening a Browser with WET, and then taking control with Watir?

2006-04-26 Thread Rodrigo Julian Martin
Hi all! As some of you may remember, I was the guy freaked out with modal popups Ive sent a couple of messages to the list, and finally Praveen Kumar Kammitta [EMAIL PROTECTED] suggest me to use WET. Well, it really worked out and pretty fine! This is how I finally managed this:

Re: [Wtr-general] [question] Opening a Browser with WET, and then taking control with Watir?

2006-04-26 Thread Bret Pettichord
You can use Watir::IE.attach() to use Watir with an existing browser window. It doesn't matter if it was opened manually or with Wet.On 4/26/06, Rodrigo Julian Martin [EMAIL PROTECTED] wrote: Hi all! As some of you may remember, I was the guy freaked out with modal popups… I've

[Wtr-general] [question] Does the Click method accepts coordinates?

2006-04-25 Thread Rodrigo Julian Martin
Hello! Im developing a test for a web page, and Ive found a .gif image which acts as a menu, mapped by coordinates Is there a way of telling watir to .Click by coordinates? The file uses the folowing map: MAP NAME=menu_home AREA SHAPE=RECT COORDS=0,0,69,22 HREF=""

Re: [Wtr-general] [question] Again Modal Dialogs and Watir 1.5

2006-04-21 Thread Bret Pettichord
Rodrigo,I generally try to set my security settings so these dialogs don't show up in the first place. It's quite possible that they have been designed not be to be scriptable specifically to prevent scripting-based attacks from being able to directly manipulate the security dialogs. There has

Re: [Wtr-general] [question] Again Modal Dialogs and Watir 1.5

2006-04-21 Thread Rodrigo Julian Martin
a.m. Para: wtr-general@rubyforge.org Asunto: Re: [Wtr-general] [question] Again Modal Dialogs and Watir 1.5 Rodrigo, I generally try to set my security settings so these dialogs don't show up in the first place. It's quite possible that they have been designed not be to be scriptable

Re: [Wtr-general] [question] Again Modal Dialogs and Watir 1.5

2006-04-21 Thread Bret Pettichord
in order this popups doesn't appear?Thank you so much for the response..CheersRodrigo Julian MartinDe: [EMAIL PROTECTED] en nombre de Bret PettichordEnviado el: Vie 21/04/2006 11:35 a.m.Para: wtr-general@rubyforge.org Asunto: Re: [Wtr-general] [question] Again Modal

Re: [Wtr-general] [question] Again Modal Dialogs and Watir 1.5

2006-04-21 Thread jkohl
doesn't appear? Thank you so much for the response.. Cheers Rodrigo Julian Martin De: [EMAIL PROTECTED] en nombre de Bret Pettichord Enviado el: Vie 21/04/2006 11:35 a.m. Para: wtr-general@rubyforge.org Asunto: Re: [Wtr-general] [question

[Wtr-general] Question about Select-Lists

2006-04-18 Thread Rodrigo Julian Martin
Hello! I am trying to make a code that could scan all the items of a Select-List, in order to store them and be able to validate data. I tried a couple of things like working with the each method for the options, or with GetSelected Items, but I cant find the way Is there a simple

Re: [Wtr-general] Question about Select-Lists

2006-04-18 Thread Cain, Mark
, --Mark From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rodrigo Julian Martin Sent: Tuesday, April 18, 2006 10:37 AM To: wtr-general@rubyforge.org Subject: [Wtr-general] Question about Select-Lists Hello! I am trying to make a code that could scan all

Re: [Wtr-general] Question About Global Variables between ruby files

2006-03-29 Thread Rodrigo Julian Martin
: Martes, 28 de Marzo de 2006 09:20 p.m. To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] Question About Global Variables between ruby files You could store them in global variables. The tricky part is making sure that the execute in the order you want them to. The standard Test::Unit

Re: [Wtr-general] Question About Global Variables between ruby files

2006-03-28 Thread Deepa Mallapareddy
Hi Rodrigo,Yes you can. I havent treid for an array but am sure you can. I have used global variable with '$' in front of the variable and then use it in other ruby files. I have declared this in the set up file. For example $Yahoolink="www.yahoo.com"and I can use "$Yahoolink" in

Re: [Wtr-general] Question about Plans for Watir 2.0 Find Objects

2006-03-24 Thread Bret Pettichord
Take a look at this plan for 1.5. http://wtr.rubyforge.org/wiki/wiki.pl?RoadMap This plan is still a good description of our intentions. The main thing missing is that we also have xpath support in 1.5. Much of this is already implemented in development. Bret On 3/23/06, Andrew McFarlane

Re: [Wtr-general] Question about Plans for Watir 2.0 Find Objects

2006-03-24 Thread Bret Pettichord
for it, except for the case of radio lists (where we have a workaround). You can always put it on Jira and see how many votes it gets. From: Bret Pettichord [EMAIL PROTECTED] Reply-To: wtr-general@rubyforge.org To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] Question about Plans for Watir

[Wtr-general] Question about Plans for Watir 2.0 Find Objects

2006-03-23 Thread Rodrigo Julian Martin
Hi all, I was reading the Brett Plans for Watir 2.0. And I am wondering if there is some release date in mind? Or something approximated at least Thank you all! Ps: Im working on a new method for finding objects accordly of their properties and values (passed as parameters) Someone

Re: [Wtr-general] Question about Plans for Watir 2.0 Find Objects

2006-03-23 Thread Chris McMahon
Ps: I'm working on a new method for finding objects accordly of their properties and values (passed as parameters) Someone is doing something similar? I'm studying the def show… of watir.rb, just as Chris McMahon suggest me… Probably easiest just to use them: C:\Documents and

Re: [Wtr-general] Question about Plans for Watir 2.0 Find Objects

2006-03-23 Thread Andrew McFarlane
you see here, if anything? From: Bret Pettichord [EMAIL PROTECTED] Reply-To: wtr-general@rubyforge.org To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] Question about Plans for Watir 2.0 Find Objects Date: Thu, 23 Mar 2006 13:11:49 -0600 On 3/23/06, Rodrigo Julian Martin [EMAIL

Re: [Wtr-general] question

2006-01-30 Thread Zeljko Filipin
Simple way: put your scripts in the same folder (example: script1.rb, script2.rb...) make script that calls other scripts: require script1 require script2 Zeljko 2006/1/27, Rexhina Alickolli [EMAIL PROTECTED]: Hello guys: I have just started to work with ruby and I am wondering if there

Re: [Wtr-general] Question on clicking on link

2006-01-29 Thread Atilla Ozgur
1.You may try to add this site to your trusted sites 2.You may try to add this site to your .hosts file On 1/25/06, Chris Schmechel [EMAIL PROTECTED] wrote: Thanks for the reply, it got me thinking. I found the problem: ie.link(:url, download.html).click needs to become: ie.link(:url,

Re: [Wtr-general] Question on clicking on link

2006-01-29 Thread mb
Actually, there's a danger in using /download.html/ in that it will match not only download.html but also downloadxhtml (Now that's not likely to be an issue in this case, but you can see how it might be in other cases. If you were looking for a link like /foo.asp/ would

[Wtr-general] Question on clicking on link

2006-01-25 Thread Chris Schmechel
Hi, I'm trying toautomateclicking on the following link (ie. image on my HTML page): a href="" src="" width=162 height=35 border=0/a br which then takes me to thesubsequent download page. I've tried the following without any luck: ie.link(:url, download.html).click Any suggestions? Thanks in

Re: [Wtr-general] Question on clicking on link

2006-01-25 Thread Bret Pettichord
What error do you get?On 1/25/06, Chris Schmechel [EMAIL PROTECTED] wrote: Hi, I'm trying toautomateclicking on the following link (ie. image on my HTML page): a href="" src="" width=162 height=35 border=0/a br which then takes me to thesubsequent download page. I've tried the following without

Re: [Wtr-general] Question on clicking on link

2006-01-25 Thread Chris Schmechel
Thanks for the reply, it got me thinking. I found the problem: ie.link(:url, download.html).click needs to become: ie.link(:url, /download.html/).click and it works! Now I'm running into another problem. Due to my browser security settings -- I'm getting the following ActiveX control upon

[Wtr-general] Question...

2005-08-24 Thread Jeff Wood
I've been looking through the function lists ... There are a number of things like showAllObjects and show_all_objects textField and text_field and on and on ... Was there a decision to change apis at some point ... that's what I seem to be seeing... and if so, which is the current preferred

Re: [Wtr-general] Question...

2005-08-24 Thread Paul Rogers
I originally wrote the methods using camelCase. the prefferred ruby way is train_case. The camelCase ones will get deprecated, so use train_case Paul - Original Message - From: Jeff Wood [EMAIL PROTECTED] Date: Wednesday, August 24, 2005 9:31 am Subject: [Wtr-general] Question... I've

Re: [Wtr-general] Question...

2005-08-24 Thread Jeff Wood
PROTECTED] Date: Wednesday, August 24, 2005 9:31 am Subject: [Wtr-general] Question... I've been looking through the function lists ... There are a number of things like showAllObjects and show_all_objects textField and text_field and on and on ... Was there a decision to change apis

Re: [Wtr-general] Question...

2005-08-24 Thread Bret Pettichord
At 11:21 AM 8/24/2005, Jeff Wood wrote: darn, but, ok. with time you will thank me. _ Bret Pettichord www.pettichord.com ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

RE: [Wtr-general] Question - Why ruby?

2005-08-14 Thread Walter Kruse
PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 01 August 2005 04:31To: wtr-general@rubyforge.orgSubject: RE: [Wtr-general] Question - Why ruby? My 2 cents...for whatever it is worth. I started using Python's PAMIE framework to automate. However, the support was sporadic (the guy

  1   2   >