[Wtr-general] Embedded Browser, SmartClient

2007-07-17 Thread Lonny Eachus
ld use as a "moniker". And I have found no documentation at all for WIN32OLE.connect_unknown. There MUST be a way to do this. Any insight? Lonny Eachus === Subject: Re: [Wtr-general] Embedded Browser and/or SmartCleint

[Wtr-general] Embedded Browser, SmartClient (Clarification)

2007-07-17 Thread Lonny Eachus
WindowsForms10.Window.8.app.0.378734a 00060460 WindowsForms10.msctls_progress32.app.0.378734a 00050454 WindowsForms10.MDICLIENT.app.0.378734a But: where to go from here? If I can just hook this browser control as with IE, I am home free. Lonny Eachus

Re: [Wtr-general] Another Try...

2007-07-13 Thread Lonny Eachus
Thanks to all who replied. The line include 'Watir' was a typo. The actual code had no quotes. But as it turns out, somehow my environment variable RUBYOPT had gotten wiped. Restoring that solved the problem. RUBYOPT=rubygems Lonny Eachus

[Wtr-general] Another Try...

2007-07-12 Thread Lonny Eachus
that .NET may have overwritten? Any ideas? I would really appreciate any suggestions. Lonny Eachus == ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] Path error or what?

2007-07-11 Thread Lonny Eachus
zed constant IE". Is this some kind of path error? I have never encountered this before. It always worked fine, no matter where I started it up. Lonny Eachus === [EMAIL PROTECTED] wrote: Send Wtr-general mailing list submissions to wtr-general@rubyforge.org To subscribe or unsubscribe vi

[Wtr-general] Path error or what? (2)

2007-07-10 Thread Lonny Eachus
\Microsoft Visual Studio .NET 2003\Common7\Tools\ windir=C:\WINDOWS Lonny Eachus === ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Reporting suggestions?

2007-07-06 Thread Lonny Eachus
n't looked at it, but I doubt that is the case. Lonny Eachus Subject: [Wtr-general] Reporting suggestions? From: Tiffany Fodor [EMAIL PROTECTED] Date: Fri, 06 Jul 2007 11

[Wtr-general] Embedded Browser and/or SmartCleint

2007-07-05 Thread Lonny Eachus
. This is important. I could really use any help or ideas that are out there. Lonny Eachus ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] SmartClient?

2007-06-29 Thread Lonny Eachus
. Any help would be very much appreciated. Lonny Eachus === ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] IE running within a .NET application?

2007-06-29 Thread Lonny Eachus
be appreciated a great deal. Lonny Eachus === ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Find parent table index from a specific element within

2006-11-19 Thread Lonny Eachus
, name, class...] Lonny Eachus == Subject: Re: [Wtr-general] Find parent table index from a specific element within From: Bret Pettichord [EMAIL PROTECTED] Date: Wed, 15 Nov 2006 16:30

Re: [Wtr-general] invoking tests in right order

2006-11-07 Thread Lonny Eachus
ful stuff, in theory. But occasionally it runs up against practice that does not conform to the theory. Welcome to the real world. Lonny Eachus == Subject: Re: [Wtr-general] invoking tests in right order From: &quo

Re: [Wtr-general] ASP.NET, frames

2006-10-25 Thread Lonny Eachus
determine the contents of the document after the page (frame) contents are generated and rendered. Only then will you be able to pick out the individual elements with which you want to interact. Lonny Eachus == Subject: Re: [Wtr-general] Wtr-general D

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

[Wtr-general] Modal Dialog dismissal launching Javascript alert window

2006-10-22 Thread Lonny Eachus
There have been rare cases in which waiting for an early element (toward the beginning of the HTML) in the page then acting on it still caused weird timing errors. If you wait for a later element to appear before you act on any page elements, you are more likely to be successful. Lo

Re: [Wtr-general] nested tables

2006-09-24 Thread Lonny Eachus
:        @ie.frame('A').frame('C').button(:id, 'my_button').click Where nested frames can get hairy is when their contents come from different domains. But that is rare, relatively speaking. Lonny Eachus = Subject: [Wtr-general] nested tables

Re: [Wtr-general] watir-1.5.1.1081.gem and popups

2006-09-16 Thread Lonny Eachus
The button "B1" does not open a modal dialog. That is a _javascript_ alert box. For those, you need WinClicker. Lonny Eachus == Subject: Re: [Wtr-general] watir-1.5.1.1081.gem and popups Fro

Re: [Wtr-general] I am a newb

2006-09-02 Thread Lonny Eachus
of getting shot at, for giving someone good advice which I had very good reason to give the way I did. Why could you not just leave it alone? Lonny Eachus = Subject: Re: [Wtr-general] I am a newb From: "Paul Carvalho&qu

Re: [Wtr-general] I am a newb

2006-09-01 Thread Lonny Eachus
idea to use global variables like $ie. In the vast majority of cases, you will want to use an instance variable instead, which uses the @ sign. So rather than $ie you would have @ie. Lonny Eachus == ___ Wtr-general mailing list Wtr-general

Re: [Wtr-general] Frames: Access Denied???

2006-08-28 Thread Lonny Eachus
ation, then go back to the other page and fire off the _javascript_ events via code, using the information we have obtained. This is a relatively effort-intensive workaround, though (not to mention performance-sapping), and any other suggestions would be very welcome. Lonny Eachus ===

Re: [Wtr-general] launch broswer as another user ?

2006-08-23 Thread Lonny Eachus
a password is that you have to have the password entered at least once... which is goofy. Obviously there is a way to send the password to the operating system through an API call or some such, because AutoIt does just that. Microsoft: Security through obfuscation. Lonny Eachus == In my

Re: [Wtr-general] launch broswer as another user ?

2006-08-23 Thread Lonny Eachus
I should add that using this method, once you have your IE started, of course you still have to attach to the IE window. Lonny Eachus ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] Subject:,Re: launch broswer as another user ?

2006-08-21 Thread Lonny Eachus
Wow. Seems like an awful lot of work. Why not just use shell to start IE as any user you want using the Windows "RunAs" command, then attach to the window? Two short lines of code. Lonny Eachus == Subject: Re: [Wtr-general] laun

Re: [Wtr-general] Wtr-general Digest, Vol 33, Issue 19

2006-08-11 Thread Lonny Eachus
d popupwin=win p "Found appropriate parent...Breaking" break end } If I am not mistaken, this block amounts to an "iterator controlled loop". So "break" will get you out of this block, but if you want out of your times loop

[Wtr-general] Accessed Denied in Nested Frames

2006-08-11 Thread Lonny Eachus
ked my archive I did not find a clear reference. I would appreciate any insight into the "access denied" issue, and if possible more information about how to call arbitrary _javascript_ functions without firing an event from a page e

Re: [Wtr-general] Writing the output of show all objects to a file

2006-08-10 Thread Lonny Eachus
the "puts s" with "s" in that method, and you now have a new Watir method. If your IE object is called @ie, you can do: my_objects_string = @ie.get_all_objects As a side note, it appears to me that the show_all_objects method really belongs within "Container" rat

Re: [Wtr-general] Clicking on the java script dialog box when IE window is not in focus

2006-08-10 Thread Lonny Eachus
Yes, I too would be interested in the answers to some of those questions, as well as any relevant facts Manish has already uncovered in that area. This is very relevant to some of the things we have been doing. Lonny Eachus == Subject: [Wtr

Re: [Wtr-general] Navigating in IE frames

2006-08-10 Thread Lonny Eachus
or nil? I am aware that there is not a url method for frames within Watir. But does anyone know how I can code one? Lonny Eachus == Subject: [Wtr-general] Navigating in IE frames From: Dave Mu

Re: [Wtr-general] Newbie - Ruby dev IDE question

2006-07-31 Thread Lonny Eachus
no big deal.) Despite a couple of very minor bugs, RadRails is by far the most fully-functional IDE for Ruby / Rails that I have seen. Eclipse has so many features that it would be pointless to even try to list them here, and most if not all of those features carry over to RadRails. Lonny Eachus

Re: [Wtr-general] Click on the Tab

2006-07-31 Thread Lonny Eachus
order=0 name=a/TD" So Watir should be finding this cell. Whether it is kicking off your _javascript_ or not is another matter . . . I do not have a copy of that. Lonny Eachus === Subject: Re: [Wtr-general] Click on the Tab

Re: [Wtr-general] How to open new IE-window minimized?

2006-07-26 Thread Lonny Eachus
ndow you are in. (2) Remove "target = blah" from the link tag. (You can swap steps 1 and 2 if you want.) (3) Click the link. Then your browser should open the link in the SAME window . . . still minimized. If this is what you are looking for, and you need help with step

Re: [Wtr-general] Accessing Session Information

2006-07-12 Thread Lonny Eachus
A link to information on Internet Explorer. My, how helpful! And RELEVANT to my specific issue! I have to wonder why you did not also include a link to a book on Ruby, or even an intro to MS Windows. Lonny Eachus == Subject: Re: [Wtr

Re: [Wtr-general] Accessing Session Information

2006-07-12 Thread Lonny Eachus
response. Lonny Eachus == Subject: Re: [Wtr-general] Accessing Session Information From: "Rand Thacker" [EMAIL PROTECTED] Date: Wed, 12 Jul 2006 11:51:50 -0500

[Wtr-general] Accessing Session Information

2006-07-11 Thread Lonny Eachus
Watir would be appreciated. Lonny Eachus == ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] Can I get rid of the This page contains both secure and nonsecure items

2006-07-10 Thread Lonny Eachus
In IE, go to Tools | Internet Options. In the Security tab, select which "zone" the site belongs to. Click the "Custom Level..." button. Scroll down the list in Security Settings to "Display Mixed Content". Click "Enable". Save. Lonny === Subject:

Re: [Wtr-general] Need specific example of how to find a control inside a SPAN with a Custom Attribute.

2006-06-26 Thread Lonny Eachus
. It is kind of a brute-force way of doing things, but it is simple and it works. I will watch this thread to see if anyone has a better way. Lonny Eachus Subject: [Wtr-general] Need specific example of how to find a control inside a SPAN with a Custom

Re: [Wtr-general] Wtr-general Digest, Vol 31, Issue 41

2006-06-21 Thread Lonny Eachus
is not such a big deal, since Watir already makes use of one of its libraries. Lonny Eachus === Subject: [Wtr-general] using autoit functions from inside watir scripts From: Manish Sapariya [EMAIL PROTECTED

Re: [Wtr-general] Automation annoyingness

2006-06-09 Thread Lonny Eachus
ed my impression that you were referring to the "exists?" method. If that is not what you were proposing, then there was definitely a misunderstanding. Lonny Eachus = Subject: Re: [Wtr-general] Automation annoyingness

Re: [Wtr-general] Wtr-general Digest, Vol 31, Issue 20

2006-06-09 Thread Lonny Eachus
(so you could run IE and Firefox and have two different sessions), or just one user on one IP, or . . . it varies. If you can assign a different IP to each "user", that should take care of the problem. But you may not have that luxury. Tell me more about what you are trying to do, and y

[Wtr-general] Subject:, running multiple ie session with diff user id for same server

2006-06-09 Thread Lonny Eachus
I apologize again. My reply was intended for Manish, with this subject line. Lonny Eachus == ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] running multiple ie session with diff user id for same server

2006-06-09 Thread Lonny Eachus
n interest, let's take this elsewhere. Email me and I will give you details. Lonny Eachus = Subject: [Wtr-general] running multiple ie session with diff user id for same server From: Manish Sapariya [EMAIL

Re: [Wtr-general] running multiple ie session with diff user id for same server

2006-06-09 Thread Lonny Eachus
Well, no, actually his question was not about how to run multiple IEs, but how to run them so that they can have different "session" IDs on the server. That is another matter entirely. It is possible to do, though. Lonny Eachus == Subject:

Re: [Wtr-general] running multiple ie session with diff user id for same server

2006-06-09 Thread Lonny Eachus
way to run different sessions on most servers, even if they use cookies, but simply running in separate processes will not do it. Lonny Eachus == Subject: Re: [Wtr-general] Wtr-general Digest, Vol 31, Issue 20 From: &quo

Re: [Wtr-general] Automation annoyingness

2006-06-08 Thread Lonny Eachus
ctionality of "exists?" would be almost completely broken. We would have to re-write applications almost from the ground up. So this is a great idea . . . for some purposes. But if there were no way to disable it, existing code would be broken. Lonny Eachus ==

Re: [Wtr-general] Automation annoyingness

2006-06-08 Thread Lonny Eachus
t_for()" method for elements, without having to instantiate the element first. This is a great idea . . . but the purpose is different than that of merely testing for existence. To me, those two things practically scream "new method". Lonny Eachus =

Re: [Wtr-general] BUG: New IE windows share session state with existingopen windows

2006-06-07 Thread Lonny Eachus
d then completed. The program exits. The next http request to come in is a different "session". We are not storing cookies or any other "session" data in any way. Yet there is no doubt that global variables were being preserved between two different "sessions", even when separ

[Wtr-general] Automation annoyingness

2006-06-07 Thread Lonny Eachus
I do not understand the problem. Why not just alter the _javascript_ to reduce or eliminate the delay? You can make it do anything you want it to. Lonny Eachus = Subject: [Wtr-general] Automation annoyingness

[Wtr-general] Uses for Watir (was: Re: BUG: New IE windows share session state with existingopen windows)

2006-06-07 Thread Lonny Eachus
share some experience. They can cause problems. What susprises me, though, is the comment that "most" people here do not use Rails? That seems strange to me . . . I would have thought it the ideal environment for Watir. Lonny Eachus == Subject: R

Re: [Wtr-general] BUG: New IE windows share session state with existingopen windows

2006-06-07 Thread Lonny Eachus
. . in the context of Watir. I replied with a real example of exactly that: a way in which we found that session states were being unintentionally being "shared" across "session states". In the context of using Watir. I did not start this thread. All I have done was to reply . . .

Re: [Wtr-general] Proposal for supporting multiple attributes

2006-06-07 Thread Lonny Eachus
For what it's worth, I think that is a great idea. Lonny Eachus == Subject: Re: [Wtr-general] Proposal for supporting multiple attributes From: "Bret Pettichord" [EMAIL

Re: [Wtr-general] Wtr-general Digest, Vol 31, Issue 16

2006-06-07 Thread Lonny Eachus
definitely a concern in our screen scrapes. I was already considering overriding existing delays in the code. If this loop were done every time, we would likely be in the position of having to go into the Watir code to take it back out, in order to regain what efficiency we could. Lo

Re: [Wtr-general] Automation annoyingness

2006-06-07 Thread Lonny Eachus
egain what efficiency we could. Lonny Eachus Subject: Re: [Wtr-general] Automation annoyingness From: "Bret Pettichord" [EMAIL PROTECTED] Date: Wed, 7 Jun 2006 19:31:47 -0500

Re: [Wtr-general] Wtr-general Digest, Vol 31, Issue 16

2006-06-07 Thread Lonny Eachus
it is doing? There may be ways to optimize things on the _javascript_ side. If it is not relevant here, you can send to me directly at [EMAIL PROTECTED] Lonny Eachus == Subject: Re: [Wtr-general] Automation annoyingness

[Wtr-general] Watir 1.5.x Performance Issues?

2006-06-06 Thread Lonny Eachus
Has anyone else experienced a slowdown of their applications since updating Watir from 1.4.1 to 1.5.0.1026? Is there some kind of background polling going on that is slowing things down? Because my application performance has slowed down by about half. Lonny Eachus

Re: [Wtr-general] BUG: New IE windows share session state with existingopen windows

2006-06-06 Thread Lonny Eachus
runs, just as they should. Lonny Eachus == Subject: Re: [Wtr-general] BUG: New IE windows share session state with existingopen windows From: "Michael Bolton" [EMAIL PROTECTED]

Re: [Wtr-general] Watir 1.5.x Performance Issues?

2006-06-06 Thread Lonny Eachus
Thanks for the input. It could be due to something else, which is why I was asking. Lonny Eachus = Subject: Re: [Wtr-general] Watir 1.5.x Performance Issues? From: "Bret Pettichord" [EMAIL

[Wtr-general] Quoting previous messages

2006-06-03 Thread Lonny Eachus
experience for everybody. Lonny Eachus == ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] How to create a script for calendar function?

2006-06-01 Thread Lonny Eachus
as usual . . . Lonny Eachus = -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Danilova, Elza Sent: Thursday, June 01, 2006 10:34 AM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] How to create a script for calendar function? Hi

Re: [Wtr-general] Need help reading a file

2006-05-26 Thread Lonny Eachus
Jassi, try this: test_site2.radio(:name, 'selectionids', id).click Subject: Re: [Wtr-general] Need help reading a file From: Jassi Akkal [EMAIL PROTECTED] Date: Thu, 25 May 2006

Re: [Wtr-general] Locating HTML objects

2006-05-26 Thread Lonny Eachus
you want. This is just show_all_objects(), modified to return a string. You can also remove items from the "props" array if you are just looking for specific things like name or id. So you could have "get_all_ids()" or "get_all_names()" for example. Pu

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

2006-05-22 Thread Lonny Eachus
Please let us know when that happens. Tools for using IE have improved, but Firefox definitely has some advantages, including being cross-platform. Since I have not had the time to look at it yet, please tell me: does FireWatir qualify as being cross-platform? Lonny Eachus

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] Wtr-general Digest, Vol 30, Issue 32

2006-05-17 Thread Lonny Eachus
it needs to be. Thanks. Lonny Eachus === ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] IE Dev toolbar

2006-05-12 Thread Lonny Eachus
Thanks. I have been having to examine a lot of pages using IE. Firefox has been so much easier when I could use it, but sometimes you are restricted to IE. This IE toolbar could be very useful. Lonny Eachus Zeljko Filipin wrote: I guess that all of you also know

Re: [Wtr-general] Need Help clicking on a link?

2006-05-11 Thread Lonny Eachus
;http://www.wptonline.com/register/personal.do") That's all you need. Lonny Eachus == David Solis wrote: Hello, I'm not sure how to handle clicking on "Open Account" in the lines of HTML below. How do I click on '/register/personal.do' tr td c