Re: [Wtr-general] Accessing frame without name or id

2007-06-26 Thread John Fitisoff
Think :index will work. --- Denys Zakhzohyy [EMAIL PROTECTED] wrote: Problem seems to be small but i can not solve it so far. On HTML page there is a frameset with 2 frames which do not have any name or id attributes. Is it possible to access those frames?

Re: [Wtr-general] control existing IE window?

2007-06-18 Thread John Fitisoff
ie = IE.attach(:title, /TitlebarText/) --- mihai [EMAIL PROTECTED] wrote: how can i control a already IE opened window for example if i have www.google.com window open but not with watir can i associate a variable $ie to that window an then click links etc using that variable?

Re: [Wtr-general] Will WATIR support MS SQL 2005, if so what are the connections to include.

2007-04-17 Thread John Fitisoff
http://www.ruby-forum.com/topic/64065 --- Madhu [EMAIL PROTECTED] wrote: Hi, help me out Can WATIR support MS SQL 2005. Presently i'm using ruby SciTE. I'm unable to locate any doints or ideas as to how to connect my application with the MS sql 2005. If any of u have a solution share it

Re: [Wtr-general] Can Watir be paused resumed manually when running

2007-02-28 Thread John Fitisoff
How to catch keyboard input signal by manual to pause/resume the testing process, for example using CTRL+P to pause and CTRL+R to resume. There's a really easy, low-tech way to do this in Windows. Any console application can be paused by selecting part of the console window. Try this: -Open a

Re: [Wtr-general] Attach problem when remotely running tests using telnet

2007-02-20 Thread John Fitisoff
Message - From: John Fitisoff [EMAIL PROTECTED] To: wtr-general@rubyforge.org Sent: Monday, February 19, 2007 5:51 PM Subject: [Wtr-general] Attach problem when remotely running tests using telnet I think that this may be one of those Doctor, it hurts when I do that... questions (where

Re: [Wtr-general] Attach problem when remotely running tests using telnet

2007-02-20 Thread John Fitisoff
Bill, This is really great! I subsequently got things working by going to the objectspace, finding the ie object and then assigning it to an object within the navigation method each time that it got called. But this seems like a better way of doing it. And if it works for the attach method it may

[Wtr-general] Attach problem when remotely running tests using telnet

2007-02-19 Thread John Fitisoff
I think that this may be one of those Doctor, it hurts when I do that... questions (where the answer is: then DON'T do that...). But here goes... I have a test framework and am using the attach method pretty liberally throughout it. I'm using it in the test login routine to close existing windows

Re: [Wtr-general] error with running a testsuite

2007-01-24 Thread John Fitisoff
Try changing the name of the test method from 'newprojectso' to 'test_01_newprojectso'. Test::Unit looks for methods that start with 'test_'. John --- sarita [EMAIL PROTECTED] wrote: I got this error while running a test thru testsuite: Loaded suite C:/TESTSU~1.RB Started FE Finished

[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

Re: [Wtr-general] Using file_field

2006-08-23 Thread John Fitisoff
Spaces in the path will cause problems. But I think that using the DOS version of the path will work. --- Marina Hellermann [EMAIL PROTECTED] wrote: Hi, I'm experiencing the same problem, could you let me know, when you find proper solution? Thanks a lot, -Original Message-

Re: [Wtr-general] german chars in the browser

2006-08-02 Thread John Fitisoff
That looks sort of (but not quite) like UTF-8 encoding, which includes the ASCII character set. Although normally you'd see something like \u00d9 (\u + a code). So it's some sort of unicode variant. For anything that doesn't fit into the ASCII range you'll see some sort of encoded value like that.

Re: [Wtr-general] AJAX applications.

2006-08-01 Thread John Fitisoff
Does Watir support Ajax applications?? YES. I recently started for a company that was using HtmlUnit. Our app used lots of Ajax and I had lots of problems writing tests for certain pages. The main problem was that HtmlUnit emulates a browser rather than actually driving one, and the javascript

Re: [Wtr-general] Setting a timeout on ie.goto()?

2006-07-21 Thread John Fitisoff
The problem we're running into is that some of the pages we access occasionally NEVER finish loading. Yup. I'm working on multithreaded tests and that seems to happen (not a lot, but then it doesn't have to happen a lot to mess things up). You can use Ruby's timeout library to set a timeout value

Re: [Wtr-general] FireWatir on linux

2006-07-07 Thread John Fitisoff
I've read accounts of folks using WATIR with Linux. You have to have the Windows API and IE installed to get it to work. I'm not sure what happens when FireWatir gets installed as it's using SSH, but seems like it might be possible. Try Googling WATIR and Linux... --- Manish Sapariya [EMAIL

Re: [Wtr-general] Spaces in paths

2006-06-21 Thread John Fitisoff
What does your /code/ contain? Here it is. I thought maybe that I needed to manipulate the string a little before re-using it but that didn't help. I'm thinking that the spaces comment I made in the earlier note didn't make sense: who DOESN'T have spaces in their paths for this kind of thing?

[Wtr-general] Spaces in paths

2006-06-20 Thread John Fitisoff
Hi all, I'm trying to use cookiemanager to delete data between test iterations but my paths contain spaces. I don't have a problem getting the paths using getSpecialFolderLocation but I get an error when I use them with deleteSpecialFolderContents to try to delete my cookies or my cache. As far

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

2006-05-31 Thread John Fitisoff
If you aren't trying to do anything complicated - and the calendar control responds to keyboard input - you might want to try using the send_keys method to set the calendar control: ie.image(:id, my_calendar_icon).click ie.send_keys({UP}) ie.send_keys({LEFT}) ie.send_keys({ENTER}) The drawback

[Wtr-general] Running Multiple Instances of IE

2006-05-10 Thread John Fitisoff
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 interfere with each other. I've tried a few different things: -ie, ie1, ie2 etc... (no globals) -Using winclicker to launch an