Re: [Wtr-general] Using Excel

2007-06-25 Thread Brown, David
-David --- I've been using the XLS interface class to get data for data-driven tests, but now I'd like to write data out to an Excel spreadsheet. Does anyone know if there is a list of the available methods for the XLS interface class

Re: [Wtr-general] Watir no longer always waits for all frames to load

2007-06-20 Thread Brown, David
Bret, I've filed the issue in Jira as low priority. The ticket# is: WTR-165 Thanks for your help. -David ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] Watir no longer always waits for all frames to load completely (gem 1.5.1.1166)

2007-06-19 Thread Brown, David
w/html to look at but it's not. Thanks! -David Brown ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Watir no longer always waits for all frames to load

2007-06-19 Thread Brown, David
of these delay problems were fixed... Until now. Now that this issue has surfaced I'm forced to put the manual delays in again. It is not a big deal to do this, but, it's always cleaner if watir handles the delays properly. -David From: Bret Pettichord [EMAIL PROTECTED] Brown

[Wtr-general] Sample Training Presentation and Exercises posted on Wiki

2007-05-09 Thread Brown, David
/WTR/Watir+Training+Presentation+and+Exerc ises -David ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] Excelent debugging tool - Unroller

2007-05-07 Thread Brown, David
=[/Watir/,/String/,/Array/]) do # some watir test script code goes here end I hope some of you find this helpful! -David ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] watir execution from webserver

2007-03-28 Thread Brown, David
to directory, before executing your script cmd = ruby -C#{session[:suite_dir]} [EMAIL PROTECTED] -f -v verbose #{session[:console_filename]} ... end -David Brown -- Message: 5 Date: Wed, 28 Mar 2007 14:28:56 CDT From: John Lolis [EMAIL PROTECTED

[Wtr-general] Re-Usable Load Testing Example using Watir.

2007-03-15 Thread Brown, David
+Testing+Example -David Brown ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Excel Interface Class

2007-03-07 Thread Brown, David
I have noticed that this site (wiki.openqa.org) works fine with firefox but doesn't seem to work with internet explorer. -David From: swarna latha [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 06, 2007 6:49 PM To: Brown, David Cc: [EMAIL PROTECTED]; wtr

Re: [Wtr-general] Excel Interface Class - extend to openoffice/google spreadsheets

2007-03-06 Thread Brown, David
to be overridden: -Initialize()#opens an excel file -getRangebyLabel()#finds a range of data dynamically -getWorksheet()#finds a worksheet to use -get2DArray()#returns a 2D array of data based on a given range and worksheet name. -David Brown -- From: Paul

[Wtr-general] Excel Interface Class

2007-03-02 Thread Brown, David
of directly using ruby's win32ole library to interface with Excel, and makes it much easer to create data-driven Watir tests. I hope it will be as useful to others as it has been for me. -David Brown ___ Wtr-general mailing list Wtr-general

Re: [Wtr-general] saving screenshots with snagit

2007-02-02 Thread david goodine
Thanks for help! -Dave - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6361messageID=18083#18083 ___ Wtr-general mailing list Wtr-general@rubyforge.org

[Wtr-general] saving screenshots with snagit

2007-01-30 Thread david goodine
Hello, I've found a couple posts that indicate that snagit's COM server can be used to capture screenshots while Watir runs tests. I've tried to implement something with this, but I am having trouble with the Autoscroll options. I have not been able to figure out how to set capture options

[Wtr-general] key codes are always zero

2007-01-21 Thread David Appledore
into certain modes from text entered. Ive tried modifying the source to generate the right codes but doesn't work. Is there a way to make it set the correct key codes? Regards David ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org

Re: [Wtr-general] Javascript Alert windows

2006-10-09 Thread David Schmidt
in the watir.rb file for GetWindow and move those definitions into the enabled_popup.rb file then it should work fine. David Schmidt Matt Johnson wrote: On 10/5/06, *Cain, Mark* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: The JavaScript Alert, Confirm, Prompt, Security, File Save, File

[Wtr-general] Javascript Alert windows

2006-10-04 Thread David Munns
Does Watir have a way of processing _javascript_ Alert windows, by clicking the OK button to dismiss the window? The code that invokes the window issues an alert call with no window handle. I did not find anything on this in the online docs or in the email dist.

Re: [Wtr-general] Javascript Alert windows

2006-10-04 Thread David Munns
, 2006 1:40 PM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] _javascript_ Alert windows David, I remember this being in the FAQ and forum posts, but I haven't been in a while -- maybe it was removed (I can't check at the moment). First you define your script that closes the window

Re: [Wtr-general] Fwd: Managing the Watir Project -- Wikipedia entry

2006-09-28 Thread David Schmidt
code was inappropriate or didn't work, but I'll let my code and methods stand for themselves and I welcome peer review, comments and improvements to my contributions. David Schmidt ___ Wtr-general mailing list Wtr-general@rubyforge.org http

[Wtr-general] watir and Javascript alert windows

2006-09-28 Thread David Munns
I am building test automation for a product that displays _javascript_ alert windows, for which no window handle exists. They act like modal windows since they wait for a user mouse click on a button (and pause the automation run). Is there a way with watir to simulate the button click?

Re: [Wtr-general] nested tables

2006-09-23 Thread David Schmidt
the rows in it's OWN table, and sub-tables would be accessed for their row count, but others have been afraid of breaking existing tests which already account for the inaccurate count. Hope this helps you address the cells in your nested table situation. David Schmidt Vincent Predoehl wrote: I'm

Re: [Wtr-general] What happened to the enabled_popup method?

2006-09-18 Thread David Schmidt
enabled_popup to determine if a popup window was showing). This function is of general use and won't cost much in terms of code size, so why not let it remain? David ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr

[Wtr-general] Watir Q's

2006-09-18 Thread David Munns
I want to invoke a modal dialog window and navigate through its buttons, radio buttons, and lists. I am using watir 1.5.1081. The object that launches it is described as follows: Active Element: [TD], Frame: [fraBanner], Index: [29] TD IMG height=30 src="" width=69 IMG

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

2006-09-15 Thread David Schmidt
++ casting to give us the same type of handle. Javascript or browser popups are different as they aren't based on HTML, so other methods are required to handle those, but once you attach to them, modal dialogs are easy! David [EMAIL PROTECTED] wrote: Hey In that case, how do I fetch

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

2006-09-15 Thread David Schmidt
It's been a while, but I think I found the code in WET or perhaps in someone's blog, but in any case my statement here was to acknowledge that I didn't write that code, and to give credit to the author. David Bret Pettichord wrote: David Schmidt wrote: but I found some special code

Re: [Wtr-general] WIN32OLERuntimeError: unknown property or method

2006-09-14 Thread David Schmidt
Jason, check out http://forums.openqa.org/thread.jspa?threadID=4012tstart=0 for a routine I use to wait for a page to load, checking for possible popups at the same time. It uses Watir::until_with_timeout. See if that helps. David Jason Alexander wrote: Doing some Googling, it appears

[Wtr-general] Watir 1.5 and attaching to windows problem

2006-09-13 Thread David Munns
Has anyone discovered a solution to the following? I built a test tool with Ruby/Watir (1.4). When I upgraded to Watir 1.5.1.1081 so that I could control modal dialog windows, suddenly the watir attach_browser_window call is unable to locate the main IE window by title. I tried other

Re: [Wtr-general] Watir 1.5 and attaching to windows problem

2006-09-13 Thread David Munns
report. David, It look like you are running the core_tests.rb. Ruby windows_tests.rb to run the unit tests for IE.attach. Bret David Munns wrote: Has anyone discovered a solution to the following? I built a test tool with Ruby/Watir (1.4). When I upgraded to Watir 1.5.1.1081 so that I

Re: [Wtr-general] Watir 1.5 and attaching to windows problem

2006-09-13 Thread David Munns
I uninstalled all Ruby and Watir versions, installed Ruby 1.85-21 and Watir 1.5.1.1081. Running the Watir unit tests (ruby window_tests.rb) cause the IE information bar to keep prompting me allow blocked content? which appears to mess up the unit tests (failures and errors). Various attempts to

Re: [Wtr-general] Handling (Browser Security Driven?) Modal Dialog - Resolved

2006-09-12 Thread David Schmidt
even *started*) loading. Because of that you may not have even had a valid page when you performed the assert. Try putting in an @ie.wait after clicking the button and before the assert and see if that helps. David Schmidt ___ Wtr-general mailing list

Re: [Wtr-general] Handling (Browser Security Driven?) Modal Dialog

2006-09-11 Thread David Schmidt
://wiki.openqa.org/display/WTR/Development+Builds and that version has enabled_popup(). David ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] right click???

2006-09-11 Thread David Schmidt
d.document.ole_methods = [setAttribute, getAttribute, removeAttribute,... No fireEvent, as the error message below stated. Željko, are you sure that the right click event was in the DIV and not in another element inside of the DIV? David Schmidt Bret Pettichord wrote: I believe

Re: [Wtr-general] Handling (Browser Security Driven?) Modal Dialog

2006-09-11 Thread David Schmidt
support working and the IE.enabled_popup call is now in so you can tell when *any* type of popup is being displayed. In addition, click_no_wait now works on elements in a sub-frame. David ___ Wtr-general mailing list Wtr-general@rubyforge.org http

Re: [Wtr-general] right click???

2006-09-08 Thread David
I have been actually using a variation of that and it wont work ie.div(:id, detailProposal0610760).fire_event(rightclick) It highligts it like it wants

Re: [Wtr-general] Drag and Drop

2006-09-08 Thread David
If I did mouse down and mouse up commands somehow, couldnt I in theory figure out a way to drag and drop? - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=4005messageID=11073#11073

Re: [Wtr-general] right click???

2006-09-08 Thread David
I posted what I get in the prompt in the post above yours(added it in) It should bring up a small pop up window smiliar to if you right click any where on a webpage, with just different options. - Posted via Jive Forums

Re: [Wtr-general] How to discover and address items within nested frames.

2006-09-08 Thread David Schmidt
you use the element: myframe = ie.frame(:name, frame3).frame(:name, frame4).frame(:name, tframe1) puts myframe.html myframe.select_list(:name, fromedate).flash Your Watir code also ends up a lot more readable without the very long lines :-) David haggard wrote: Ah, here's a tip. Use

Re: [Wtr-general] Watir on Rails

2006-09-07 Thread David Schmidt
server is already running? David Schmidt Dave Hoover wrote: I have just released a Ruby on Rails Plugin that allows for easy Watir testing in Rails. To install the plugin in your Rails project, execute ./script/plugin install svn://rubyforge.org/var/svn/watir-on-rails You can then use

[Wtr-general] right click???

2006-09-07 Thread David
Here I go with another newb question, how can you do a right click? instead of .click would it be .rightclick? I do look for the answers before I post these things, but im lost again. - Posted via Jive Forums

Re: [Wtr-general] Click Link In Table Based on Row and Column Numbers

2006-09-06 Thread David Schmidt
] contained a table with 2 rows then ie.table[2][1] would be the first row of the sub-table, NOT the 2'nd row in ie.table. David Attebery, Bill wrote: One way I can think of - not necessarily the best, based on some posts I've seen there seems to be the concept of cell in 1.5 that I haven't been able

Re: [Wtr-general] I am a newb

2006-09-05 Thread David
Doesnt work - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=3917messageID=10851#10851 ___ Wtr-general mailing list Wtr-general@rubyforge.org

Re: [Wtr-general] I am a newb

2006-09-05 Thread David
I cant pull up irb. I am in the command prompt, it is defaulted at C:\Documents and Settings\user I have typed in irb here, I have changed the directory to just C:\ and tried. - Posted via Jive Forums

Re: [Wtr-general] I am a newb

2006-09-05 Thread David
1 javascript:logout(); Log Out 2 http://www2.lymba.com/test/propmen3/documents/Pana lyst_UserGuide.pdfUser Guide (PDF) 3 http://www2.lymba.com/test/propmen3/documents/Pana lyst_UserGuide.pdfUser Guide 4

[Wtr-general] I am a newb

2006-09-01 Thread David
Ok so I just started using ruby and watir, when I say just started I mean no programming experience. The company I work for has me using/learning Watir. I can't make it click a button. I can make it click other buttons though. The software we developed doesnt use buttons per say, but something

Re: [Wtr-general] I am a newb

2006-09-01 Thread David
I want to say thanks to everyone, I am trying to understand. With the $ie.button(:index, 2).click command how does it know that it is looking for Cancel. This is the html source I am trying to pull from: a class=right button id=sessionDialogCancel href=JavaScript:hideSessionDialog();Cancel/a

Re: [Wtr-general] I am a newb

2006-09-01 Thread David
Apparently I need more help than thought. I have tried all of the ideas every one has given me(thank you). I am still unclear on how to use index or flash method. The button or link I am trying to get to, I have done many others just like it, but for some reason I cant get it to press cancel

Re: [Wtr-general] Modal Dialogs via Remote Desktop on Win XP

2006-08-24 Thread David Schmidt
is to use the command line with the /console argument. *mstsc /v:servername /console* **Hope that helps, David Schmidt Lillis, Dara wrote: I run my Watir tests on remote pc's. I would like to manage the remote pc's using Remote Desktop, but encounter the following problem: When running tests

Re: [Wtr-general] Setting Textbox throws unknown

2006-08-23 Thread David Schmidt
tests using regular expressions in :id and :name searches. David Schmidt Charley Baker wrote: Actually I can tell you why this is happening, it's related to the issue I was looking at yesterday, ie.element(:id, 'foo') actually searches by Name: http://jira.openqa.org/browse/WTR-77 Both

Re: [Wtr-general] Solution for accessing showModal Dialogs yet?

2006-08-23 Thread David Schmidt
sessions on one Windows box with many modal dialogs and I'm not having any problems with simultaneous modal dialogs because I have click_no_wait attach by HWND instead of by window title. David Schmidt Bret Pettichord wrote: James wrote: I should note, this script will work just fine

Re: [Wtr-general] RegEx 151.1054

2006-08-23 Thread David Schmidt
Watir 1.5.1.1079 should fix this problem. A patch of mine improperly allowed a Regexp to be passed to DOM's getElementById() call. David Adrian Lewis wrote: I think we got a problem with RegEx watir 151.1054 this'll work fine def password_field;$ie.text_field(:name, 'password');end

Re: [Wtr-general] Determining if control is hidden

2006-08-23 Thread David Schmidt
if object.style.invoke('display') =~ /^none$/i return false end if object.invoke('isDisabled') return false end rescue WIN32OLERuntimeError end object = object.parentElement end true end end David Schmidt [EMAIL PROTECTED] wrote: Is there an easy way to determine if a control (a checkbox in my case

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

2006-08-23 Thread David Schmidt
is running as a different user. In addition, the logged in user cannot see any IE window created by another user. We haven't come up with a solution for this problem as it appears to be a problem in User32.dll used by Shell.Application. David Bret Pettichord wrote: Lonny Eachus wrote: Wow

Re: [Wtr-general] More details on cells not found by text

2006-08-23 Thread David Schmidt
in 1.4.1. (Find table with index of 1, then find row 1, column 1.) David Mike Townley wrote: Using the following HTML: html head title celltest /title /head body table trtdtest/td/tr /table /body /html I attach to the window and run ie.cell(:text, “test”).exists? and irb

Re: [Wtr-general] Determining if control is hidden

2006-08-23 Thread David Schmidt
Done: http://wiki.openqa.org/pages/viewpage.action?pageId=1119 The wiki editing isn't exactly obvious, and it kept complaining about the page title I used. Feel free to pretty it up if you like, but there's an example of extending Watir up there now. David Charley Baker wrote: Hi David

Re: [Wtr-general] Click on the Tab

2006-07-31 Thread David Schmidt
on the page with: ie.cell(:text, 'Parties').click You can also regular expressions in the search: ie.cell(:text, /Par/).click David Schmidt [EMAIL PROTECTED] Chintakrindi Meghanath wrote: Hi I am trying to click a Tab in my application . I tried with various combinations, but couldnt

Re: [Wtr-general] Click on the Tab

2006-07-31 Thread David Schmidt
OK, that may be a feature of the 1.5 development thread, which I'm running here. Did you try it with the quoted version? ie.cell(:text, 'Parties').click I've found the 1.5 versions to be very stable and worth running, BTW. David Chintakrindi Meghanath wrote: Hi I tried with ie.cell

[Wtr-general] DL::DLError too many callbacks defined from winClicker.rb (with fix)

2006-07-31 Thread David Schmidt
to all of the winClicker.rb methods which use DL.callback and my testing confirms that I'm no longer having a problem with that exception. I've checked this fix into the 1.5 development trunk as revision 1070. David Schmidt [EMAIL PROTECTED] ___ Wtr

[Wtr-general] Running Watir under Wine/CrossOver Office?

2006-07-10 Thread David Schmidt
:\ruby\bin\gem' list)and was able to get into IRB using wcmd. Has anyone else been running Watir under Wine that could give me some pointers on how to get Ruby and Watir configured correctly to run under Wine or CrossOver Office? David ___ Wtr-general

[Wtr-general] Interesting link problem

2006-06-27 Thread David Solis
I have a table that dynamically has an "n" number of entries as links. The table can sort by the last entry made in the table. I want to be able to click on the last entry or the last link that appears on the table. The problem is that I don't have attribute values to able to identify the link

Re: [Wtr-general] Issue with gem 1.5.11037

2006-06-26 Thread David Schmidt
Zeljko, Your problem is that that second require should be include Watir (with no quotes). When you did the second require you got messages for all the constants that were being re-defined. David Zeljko Filipin wrote: I do not know if this has any value: gem list *** LOCAL GEMS

Re: [Wtr-general] very neat trick with Ruby system() (or any otherlanguage on Windows)

2006-06-15 Thread David Schmidt
trunk. David Bret Pettichord wrote: This is a known problem. (In other words, i knew about it, but it wasn't well documented.) http://jira.openqa.org/browse/WTR-6 The fix is for a Watir developer to write attach_command for Frames. David, this bug is currently assigned to you

Re: [Wtr-general] Understanding WATIR

2006-06-14 Thread David Schmidt
in the field is contained in the value attribute. Thus: ie.text_field( :value, 'xyz' ) Should work for you. David Manish Sapariya wrote: Thanks. This explains why I was getting all of my field getting flashed multiple times when I was traversing them by tables.each { cells.each { flash

Re: [Wtr-general] Wait for control to exist

2006-06-13 Thread David Schmidt
was waiting to appear and then disappear. David Bret Pettichord wrote: How about this: wait_until(ie.button(:value, OK).exists?, 10) The advantage of this form is that we could use any boolean expression. So you could wait until a control was disabled or whatever. I'm not 100% sure that i

Re: [Wtr-general] Problem finding a link URL with RegEx

2006-06-13 Thread David Schmidt
the page in IRB and do '$ie.show_links' to see which index to use for the link you want. David ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Wait for control to exist

2006-06-13 Thread David Schmidt
until the block returns true or the timeout has passed (where it will throw an exception). David Andy Sipe wrote: I'm not sure just exist is enough for what I'm talking about. If I have a span that already exists in the document and I do something that causes an async request/update

Re: [Wtr-general] Wait for control to exist

2006-06-13 Thread David Schmidt
Yup, my bad. I just typed the wrong name out of habit. New name will be wait_until. *SLAP* Ouch! OK, I've been punished. David Bret Pettichord wrote: On 6/13/06, *David Schmidt* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: The wait_for method will just keep trying

Re: [Wtr-general] Table Row Bug -- How to fix?

2006-06-09 Thread David Schmidt
problems till all the unit tests pass. Bret, do you want me to start on this? David ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

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

2006-06-06 Thread David Schmidt
this problem running some web scrapers simultaneously to the same site from the same computer. We solved the problem by running each scraper under a different user so each scraper got it's own folder for cookies and they then stopped overwriting each other. David Michael Bolton wrote: This isn't

Re: [Wtr-general] Methods that can be used within a frame?

2006-06-01 Thread David Schmidt
= ie.text_field(:id, 'xxx').html.sub(/ onclick=\S+/, '') which clears out the onclick=... from the element. David Bret Pettichord wrote: On 6/1/06, *Tyler Prete* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Well I may not even have to deal with it anymore, but how would I change

Re: [Wtr-general] Determine HTML property

2006-06-01 Thread David Schmidt
Zeljko Filipin wrote: ie.radio(:id, id).readonly? On 6/1/06, *Adrian Rutter* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, I have an HTML field that once saved becomes read-only [readonly=true]. Apart from doing a regex on the source how can I determine this

Re: [Wtr-general] Methods that can be used within a frame?

2006-05-31 Thread David Schmidt
to IE you can do things like element.document.ole_methods to see what IE will let you do. Hope that helps, David Tyler Prete wrote: I am trying to get a frame on a page to load a specific page, i.e. $ie.frame(:name, 'name').goto(' http://specificsite.com' http://specificsite.com%27

Re: [Wtr-general] 1.5 modal dialog. Syntax of supported tags ?

2006-05-30 Thread David Schmidt
that the frame main has the button you want, you should be able to click on it by using: modal.frame('main').button(:text, 'Yes').click Let me know if that works for you. David Schmidt Neri, Marco wrote: Hi I'm running v1.5.1.1017. I need some help re modal dialog. I'm using this code

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

2006-05-25 Thread David Schmidt
the HTML for the radio buttons then we'll have a better chance to help. I'm going to be away from the computer for a few days, but if you're still having problems next week I'll continue to try and help. David Jassi Akkal wrote: David, Do I have to have 1.5 version of the watir because I am

Re: [Wtr-general] `method_missing': document (WIN32OLERuntimeError)

2006-05-24 Thread David Schmidt
before the page/frame is completely ready. Fix would similar to the one in wait where you make sure a document is available: (from IE#wait) until suppress_ole_error [EMAIL PROTECTED] do sleep 0.02; s.spin end David Bret Pettichord wrote: This looks like a new problem

Re: [Wtr-general] `method_missing': document (WIN32OLERuntimeError)

2006-05-24 Thread David Schmidt
Bret Pettichord wrote: On 5/24/06, *David Schmidt* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: This is the same problem that was occurring in wait(). The COM object document method is called when the document method isn't available. I've seen this if a page or frame

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

2006-05-23 Thread David Schmidt
: a href=javascript:quitar(2) id=quitar2 style=visibility:hiddenQuitar/a Try: $browser_popup.frame('responseFrame').link(:id, 'quitar2').click to click the link following the img2 image. David Schmidt [EMAIL PROTECTED] Rodrigo Julian Martin wrote: Thanks for the answer Lonny, and sorry

Re: [Wtr-general] frame error in waitreadyState

2006-05-20 Thread David Schmidt
what changes you make betwen this working and not working? David Manish Sapariya wrote: I get following error when I run my script. However when I run script with the defaulting function alone, it works fine. Any ideas? Has anyone run into this kind of issue. Please let me know if you need more

Re: [Wtr-general] WaitForObject

2006-05-18 Thread David Schmidt
Watir script and modify for your own use. (The current script calls our own log method so that will probably need to be changed.) Hope that helps. David Schmidt [EMAIL PROTECTED] Adrian Rutter wrote: Hi, I was wondering if Watir had a method that will make the script wait until a specific

Re: [Wtr-general] need help with radio button

2006-05-18 Thread David Schmidt
can click on it by just using the value as in: ie.radio(:value, '8bf19f48-9462-4285-90ef-241f4fd5f7f7').click (or .set) If there *is* a closing quote then either of those should work. David Schmidt [EMAIL PROTECTED] Jassi Akkal wrote: Hi, I am very new to the watir and i have been struggling

Re: [Wtr-general] Tricky select list

2006-05-17 Thread David Schmidt
, 'select id').select('All') David George Hawthorne wrote: Hi, Could anyone suggest the correct way to select option 0 from the list shown in the following HTML example? By default option 1 is selected and I can't figure out how to get WATIR to change the selection. TIA. input type=hidden

Re: [Wtr-general] Thoughts on modal dialog implementation in development Watir

2006-05-12 Thread David Schmidt
load up an external Subversion client and see if I can import the projects from a local directory checked out using Subversion. David Bret Pettichord wrote: David, Zelko sent you the SVN url. Please send a patch (or attach it to a Jira task). We'll need to make sure we have unit tests

Re: [Wtr-general] Thoughts on modal dialog implementation in development Watir

2006-05-11 Thread David Schmidt
Bret Pettichord wrote: On 5/11/06, *David Schmidt* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Bret and all, I was overjoyed to find the Watir::IE#attach_modal() method in the current development tree and quickly started experimenting in IRB to see how best

Re: [Wtr-general] frame.html fails in development version

2006-05-10 Thread David Schmidt
I added a comment to that JIRA bug and can make a patch if necessary, though the fix is simply moving the html method from Watir::IE to the Container Module. David Schmidt Paul Carvalho wrote: This is a known problem in 1.5. The description is perhaps not clear enough to be found

Re: [Wtr-general] Trouble closing JavaScript pop-up invoked from a frame in Watir 1.5.0.945

2006-05-10 Thread David Schmidt
() in the case statement to allow to attaching to an IE instance by :hwnd: when :hwnd # find window by HWND log hwnd is: #{aWin.HWND} ieTemp = aWin if (what == (aWin.HWND)) David Schmidt [EMAIL PROTECTED] -- Yes, this problem will need to be fixed before we release

Re: [Wtr-general] Running Multiple Instances of IE

2006-05-10 Thread David Schmidt
as' parameter to specify the user for each Watir process. Hope that helps, David Schmidt [EMAIL PROTECTED] John Fitisoff wrote: Help! I'm new to Watir, and am trying to get my company to use it, but am running into a problem. I'm trying to run multiple, independent windows without having them

[Wtr-general] Undefined Method Error

2006-03-20 Thread David Solis
lick(); $ie.text_field(:name, "AdjustAmt").set("1000") $ie.text_field(:name, "ReasonText").set("This is a test") table = $ie.table(:index, 19) sleep 1 table[1][3].image(:name, "createbottom").click assert($ie.contains_text($no_permission_msg)) ! $ie.link(:text, "Settings").click(); end endAny ideas?Thanks David ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] Another JavaScript Question

2006-01-25 Thread David Solis
ate')" ONMOUSEOVER="imgswap('updatetop', 'form_top_update_over'); return false;" ONMOUSEOUT="imgswap('updatetop', 'form_top_update_up'); return false;"img NAME="updatetop" src="/images/admin/form_top_update_up.gif" value="Update" border="

[Wtr-general] Unable to run watir from IRB

2005-12-30 Thread David Solis
I am trying to do the scripting 101 tutorial. I installed everything as directed. The server is running, ruby and watir is installed. In fact, I am able to run the unittest demo that came with watir. However, when i try to execute watir from irb I get the following error.irb (main):001:0