[wtr-general] Re: Live ONLINE Watir Training

2009-04-15 Thread Maura van der Linden
This is great news, Pete! - Maura On 4/9/09 6:41 PM, "Pete Dignan" wrote: > > Good news - the Intro to Watir class will be taught live online for > the first time April 27-28-29-30, 2009. The class will run from 10am > to 1pm Central Daylight Time (US) those four consecutive days. Same > c

[wtr-general] Re: Watir users: What is your role at work?

2009-04-15 Thread Maura van der Linden
11 years in test but now moving to technical writing/programming writing. Maura van der Linden Mythos Manor, LLC http://www.mauravanderlinden.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" grou

[wtr-general] Re: click_no_wait and click! not working

2009-04-15 Thread spike
This solution worked fine for popup raised when a button is clicked, but it is not working for popup raised when clicked on a link, please suggest some solution On Mar 3, 8:52 pm, Jim Matthews wrote: > Here are the steps to reproduct the problem.  First bring up unittests > \html\popups1.html in

[wtr-general] Re: Test Results Report Methods

2009-04-15 Thread JArkelen
I'm currently using watir to develop a end-user performance testing tool (with x number of users generating http requests and 1 user running a watir script and do the actual measuring). For reporting, I store all raw data in csv files and then at the end of the test this raw data is used to genera

[wtr-general] Re: click_no_wait and click! not working

2009-04-15 Thread spike
Hi sir, thanks a lot for the solution it worked for me, since a week i had problem with handling popup. thankyou very much. On Mar 3, 8:52 pm, Jim Matthews wrote: > Here are the steps to reproduct the problem.  First bring up unittests > \html\popups1.html in IE. > > \Ruby\lib\ruby\gems\1.8\gem

[wtr-general] Re: Watir/Rspec

2009-04-15 Thread Bret Pettichord
I think you want to use an instance variable. Thus "@browser" instead of "browser". You also need to read the docs on the newest version of Rspec, which needs an additional "require" if you want to run your scripts using "ruby". Or you can use WatirCraft, which handles both of these issues for

[wtr-general] Re: How to use looping structure in watir

2009-04-15 Thread spike
thankyou very much... On Apr 16, 1:24 am, Chuck van der Linden wrote: > if you know how many times you need to iterate, for example 10, then > it's as simple as > > 10.times do >   > end > > The ruby cheatsheet found in the watir wiki has some really basic > examples of iteration.   if that's n

[wtr-general] Re: about the flash watir example code

2009-04-15 Thread Fish
hi linden, thank you for your help, but it doesn't work, I think the id means http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/ swflash.cab#version=8,0,0,0" width="100" height="100" id="clickcolors" align="middle"> you can find from the console output that the "percentage_loaded " is 10

[wtr-general] Re: Test Results Report Methods

2009-04-15 Thread Paul Rogers
if you look in Lisa Crispins book, page 323, there is an example of a test reporting app like you describe. This was written in rails and was in use ( and still is ) at financial internet company. Disclaimer - I wrote this app ;-) I think there is a big opportunity for someone to write n open sour

[wtr-general] Re: Test Results Report Methods

2009-04-15 Thread Chuck van der Linden
For performance data, it's hard to beat excel or a db, since that lets you create nice trending charts etc. Makes it really easy for upper management to see if things are getting better or worse, or when a sudden change occurs for better or worse. For pass/fail stuff here I was using the HTML r

[wtr-general] Re: Test Results Report Methods

2009-04-15 Thread JArkelen
I create nice HTMl reports. On Apr 16, 12:19 am, Tiffany Fodor wrote: > Hi! > > I've been using ci_reporter to generate xml reports of my Test::Unit > results (also works with RSpec) and then I use xsl to transform them > to html.  It's not the best and I'm working on better reporting in my > ne

[wtr-general] Re: Test Results Report Methods

2009-04-15 Thread Tiffany Fodor
Hi! I've been using ci_reporter to generate xml reports of my Test::Unit results (also works with RSpec) and then I use xsl to transform them to html. It's not the best and I'm working on better reporting in my next framework. I'll be using Rails, so I'll likely store results in MySQL and then

[wtr-general] Test Results Report Methods

2009-04-15 Thread Jason Shelton
All, I have always used Excel as my test output/results format, but I would like to enhance this. I have spoken with our DBA, and, if necessary he will create a table in our database for my test automation results. What I am asking is if you all can recommend any techniques and/or methodo

[wtr-general] Re: Watir users: What is your role at work?

2009-04-15 Thread Leigh
I am a tester only. Leigh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guideline

[wtr-general] Re: Watir users: What is your role at work?

2009-04-15 Thread Željko Filipin
I am just a tester. Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelin

[wtr-general] Re: Scripting a "foreign subframe"

2009-04-15 Thread Chuck van der Linden
did you try adding the domain for the sub-frame contents to the same security group (in IE) as the rest of the page? e.g. add them both to trusted sites. (presuming you are intimately familiar with both, and trust them both) I think this is actually not a bad security feature, you wouldn't want

[wtr-general] Re: Yahoo mail, creating a new email message.

2009-04-15 Thread cboudreau
Here is an update, on Yahoo mail project. I was able to combine all your help here, and was able to create a new email message. But unfortunately that email opened with in an Iframe. And as I understand it, that is a show stopper. So; I moved on to the real project of automating the payment cap

[wtr-general] Re: How to use looping structure in watir

2009-04-15 Thread Chuck van der Linden
if you know how many times you need to iterate, for example 10, then it's as simple as 10.times do end The ruby cheatsheet found in the watir wiki has some really basic examples of iteration. if that's not enough to get you going, I might suggest read a book or two on ruby. both the 'picka

[wtr-general] Re: JavaScript events timing problems with Watir

2009-04-15 Thread Chuck van der Linden
Are you sure what event the javascript is looking for? have you looked at the object on the page and seen what event handlers are defined for it? maybe it's not the 'click' event that it wants? maybe it wants some other sequence such as onfocus or onmouseup On Apr 15, 2:54 am, Jarmo Pertman w

[wtr-general] Re: about the flash watir example code

2009-04-15 Thread Chuck van der Linden
this doesn't require flash experience. you just need to understand the basics of how watir identifies objects.. the code is telling it to look for an object with the id value of 'clickcolors' which was just an example ID in the code. The error is telling you that there's nothing on the page wit

[wtr-general] Re: Watir/Rspec

2009-04-15 Thread Chuck van der Linden
Scope issues can be very confusing and it sounds a lot like that's the core of your problem.. I'm frankly still wrapping my head around all the complexities of scope (being primarily a tester not a developer) and what I can tell you is this.. Investigate the Watircraft framework (wiki.github.c

[wtr-general] Re: firewatir and jssh revisited

2009-04-15 Thread Angrez Singh
can you post HTML code for this? I'll look into it. - Angrez On Wed, Apr 15, 2009 at 7:24 PM, Jeremy Mordkoff wrote: > My thread got hijacked L Can we go back to the original problem? As of > right now, I cannot use firewatir at all because of this problem… > > > > > > In firebug, I can do > >

[wtr-general] Re: How to get the Response code of URLs on the page?

2009-04-15 Thread Chuck van der Linden
ok, we're off to a decent start with a good message subject. but unfortunately without a bit more in the way of details of what you are trying to do (e.g. a small code sample) and an example of the error you are getting ("it throws an error" isn't very helpful) it's unliklely that folks here co

[wtr-general] Re: why the ruby says "Unable to locate element"?

2009-04-15 Thread George
Hmmm...I can't see the entire the error message, and the file it is referring (element.eb) isn't being displayed on the left side. Not very helpful... On Apr 15, 9:05 am, Chai Taolun wrote: > Hi~ > > I tried again, it still not work > Here is the picture I captured when the program is down.

[wtr-general] how to read data from a yaml file

2009-04-15 Thread sonny
I'm still learning Ruby/Watir. I have a test suite that will successfully run. I now want to move the variables into a yaml file. My question is how do I get my script to use the data in the yaml file? I've done a lot of searching and trial and error, but can't figure it out. I should have a YAML:

[wtr-general] Re: Watir/Rspec

2009-04-15 Thread «°¤§ømåtïçCðrp§ë¤°»
Sorry, forgot to mention, I changed the 'ibrowser' error to the right syntax, but when it gets to the 'vaildating text on the page should find predefine text on a page', it doesn't recognize "browser" as a valid, global object. Do I have to initialize it, outside of the describe/do scenarios? The

[wtr-general] Re: why the ruby says "Unable to locate element"?

2009-04-15 Thread Chai Taolun
HI~ It real works? what kind of environment you are using? It does not work in my labtop and my roommate's Allen On Wed, Apr 15, 2009 at 5:16 AM, Wesley Chen wrote: > I run the code you provide, following the html piece you have, it works. > ie.text_field(:id, 'fahrenheit').flash > > Thanks.

[wtr-general] Watir/Rspec

2009-04-15 Thread «°¤§ømåtïçCðrp§ë¤°»
So, I'm trying to do some BDD/TDD development, and I can't figure some things out... Primarily, if I run the script, using "ruby T.rb", nothing happens - nothing returns, etc. If I use "spec T.rb", then I get a bunch of errors. Does ruby/watir/spec treat each instance (describe/do) as it's own m

[wtr-general] Re: Problem when iterate through the table

2009-04-15 Thread Alan Baird
Unfortunately I think that table.each still uses the old row_count method. If your problem is that the each itterator tries to access a non existent table row, the easiest way to get around this is to rescue the exception. See below: ...paste this html into an html file named tmp.html and open

[wtr-general] Re: firewatir and jssh revisited

2009-04-15 Thread Željko Filipin
On Wed, Apr 15, 2009 at 16:11, Jeremy Mordkoff wrote: > Are there plans to move firewatir to a different technology I think Bret said in a podcast that they will move to something different. http://watirpodcast.com/bret-pettichord-on-firewatir/ Željko --~--~-~--~~~-

[wtr-general] Re: firewatir and jssh revisited

2009-04-15 Thread Jeremy Mordkoff
That will make it hard for me to commit to using firewatir. Are there plans to move firewatir to a different technology or to perhaps incorporate jssh into firewater? It seems very strange to me that this much effort could be invested in a project when the under-pinnings are unsupported. JLM

[wtr-general] Re: firewatir and jssh revisited

2009-04-15 Thread Jeremy Mordkoff
FYI...Right now, I'm working on windows XP SP3 with Firefox 3.0.8 and jssh 0.9 on a dell laptop. I also need to get this to work on Vista SP1 and Mac OS 10.5. My thread got hijacked L Can we go back to the original problem? As of right now, I cannot use firewatir at all because of this problem

[wtr-general] Re: firewatir and jssh revisited

2009-04-15 Thread Željko Filipin
On Wed, Apr 15, 2009 at 15:54, Jeremy Mordkoff wrote: > Is there a jssh forum? The last I heard about jssh is that it is abandonware. Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To

[wtr-general] firewatir and jssh revisited

2009-04-15 Thread Jeremy Mordkoff
My thread got hijacked L Can we go back to the original problem? As of right now, I cannot use firewatir at all because of this problem... In firebug, I can do var results = document.evaluate("//*[name()='vgtile' and @label='Hulu']", document, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYP

[wtr-general] Re: click_no_wait can not make the popup come out

2009-04-15 Thread bwaybandit
a little confusion here. 1. when you use click_no_wait, do you see a popup and if you do, your code is not handing it, is that right? (reason i ask is because your initial comment was you could not see the popup?) 2. in jsClick, you can remove the second parameter, since it is not being used at

[wtr-general] Re: click_no_wait can not make the popup come out

2009-04-15 Thread William
Here is the method i handle the popup menu,maybe you can give some advise. def jsClick( ie,a, button, user_input=nil) waitTime=30 hwnd = ie.enabled_popup(waitTime) puts hwnd if (hwnd) w = WinClicker.new if ( user_input ) w.setTextValueForFileNameField(hwnd, "#{user_input}") e

[wtr-general] Re: click_no_wait can not make the popup come out

2009-04-15 Thread William
yes,if I use "click" it would popup,but if i use this method i that it can not handle the javascript popup frame in my test. On Apr 15, 9:01 pm, bwaybandit wrote: > Does the popup appear when you use just "click"? > > On Apr 15, 7:14 am, William wrote: > > > > > The html is " > onclick="cb_reb

[wtr-general] Re: click_no_wait can not make the popup come out

2009-04-15 Thread bwaybandit
Does the popup appear when you use just "click"? On Apr 15, 7:14 am, William wrote: > The html is " onclick="cb_reboot();"> >             Reboot" > > and i use " ie.button(:id,"reboot").click_no_wait" but the popup frame > can not come out. --~--~-~--~~~---~--~~ Y

[wtr-general] click_no_wait can not make the popup come out

2009-04-15 Thread William
The html is " Reboot" and i use " ie.button(:id,"reboot").click_no_wait" but the popup frame can not come out. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group,

[wtr-general] about the flash watir example code

2009-04-15 Thread Fish
Hi, I just go through the google code of watir flash and try to use the example code. when I use the URL of http://www.geocities.com/paulocaroli/flash/colors.html the error says can not find the id with "clickcolors" after that I use the 'file:///E:/ruby/flash/changingcolors/ changingcolors/colors

[wtr-general] How to get the Response code of URLs on the page?

2009-04-15 Thread Mahesh
I have the Ruby script written using 'net/http', 'watir', 'uri', 'open- uri' modules. I am able to get the response code by parsing the Hostname [Net::HTTP.new("#{final_link}", nil)]. The problem with this is i am able to get the response code for the kind of URLs linke this: www.yahoo.com, www.go

[wtr-general] Re: JavaScript events timing problems with Watir

2009-04-15 Thread Jarmo Pertman
Well, for me the case is as following. User fills in some form and presses submit, which has onclick event attached to it, which in turn invokes JavaScript (not Java!) function, which validates form and if there are missing or invalid fields, submit will not be done and error message div will be c

[wtr-general] Re: why the ruby says "Unable to locate element"?

2009-04-15 Thread Wesley Chen
I run the code you provide, following the html piece you have, it works. ie.text_field(:id, 'fahrenheit').flash Thanks. Wesley Chen. 2009/4/15 Chai Taolun > Hi~ > > Thank you for all the help. > I try to use ie.text_field(:id, 'fahrenheit').flash. It still give me the > error > Unable to locat

[wtr-general] Problem when iterate through the table

2009-04-15 Thread Shaik Mohammed Firoz
table = $ie.table(:id, "ctl00_ContentPlaceHolder1_tableDetails") gvrowcount = table.row_count_excluding_nested_tables >From above statement i got the row count of table excluding nested tables using the method "table.row_count_excluding_nested_tables" . but when tried to iterate through th

[wtr-general] Re: the ie.goto() problem

2009-04-15 Thread Chai Taolun
Hi~ Thank you for your advice. It really help me a lot in the coding. This code is the first real ruby code I write. But seems ruby is so unfriendly to me. I just can not get it right. depressing thing... allen On Tue, Apr 14, 2009 at 2:31 PM, Chuck van der Linden wrote: > > Seems that now w

[wtr-general] Re: os and browser version

2009-04-15 Thread Željko Filipin
On Mon, Apr 13, 2009 at 10:06, Jarmo Pertman wrote: > Use regular expressions instead Thanks, I will try it. > You also had one typo on your fix, where it was written "Chose" > instead of "Choose" Thanks again, I found it a few days ago and fixed. Željko --~--~-~--~~~-

[wtr-general] Re: What gems to do you have installed?

2009-04-15 Thread Željko Filipin
activesupport (2.2.2, 2.1.0) builder (2.1.2) commonwatir (1.6.2) cucumber (0.1.16) diff-lcs (1.1.2) firewatir (1.6.2) fxri (0.3.6) fxruby (1.6.16, 1.6.12) hoe (1.8.3, 1.7.0, 1.6.0) hpricot (0.6) linecache (0.43) log4r (1.0.5) mocha (0.9.4) polyglot (0.2.3) rake (0.8.3, 0.8.1, 0.7.3) rspec (1.1.12)

[wtr-general] Re: How to use looping structure in watir

2009-04-15 Thread Željko Filipin
On Wed, Apr 15, 2009 at 08:35, spike wrote: > For this first i > need to click on the scrolling link and then select the checkbox and > then click on delete button Have you read this? http://wiki.openqa.org/display/WTR/Quick+Start http://wiki.openqa.org/display/WTR/Tutorial Željko -- http://wat

[wtr-general] Re: Watir Podcast #23 is live

2009-04-15 Thread Željko Filipin
On Wed, Apr 15, 2009 at 00:50, George wrote: > Zeljko, let me know if you need some original music...I have plenty to > offer if you're interested. Yes! For you and anybody else reading this: I am always looking for music I can play on the podcast. If you would like to promote your music, I have