Put the actual copyright symbol in this assert line and it should work:
assert( $ie.text.include?( (c) ) )
When you use the ie.text method, you don't get the source code, you get back
the contents as you see it on the page. Since you see the *symbol* on the
page (and not copy;), just put
On 13/07/07, marekj wrote:
This looks like fun with encoding.
[snip]
Paul suggested to use the actual entity in the assertion. I tried it and it
doesn't work for me. I get false.
It works for me. I created a ruby script as follows:
-
# Look for the copyright symbol on a page
If the code below is an actual snippet from your code then could the *order*
the tests be the problem?
Please remember that the _default_ order of execution is ascending alpha, so
the script would likely try to run the tests in the following order
regardless of how they are arranged in the
Hey B! Just a few things.
First off, there is a more efficient way of opening a file for writing. Try
the following instead:
textlog = File.open(text.log, w)
Secondly, when I run your script, the text.log file is *not* empty. There
are in fact 70 blank lines in the output file. That tells
Without seeing more of the code, I'm pretty sure you need to start by moving
away from using Global variables.
On 06/06/07, eisdrache [EMAIL PROTECTED] wrote:
Here is the basic idea of what I am trying to do...
I have one site, lets call it www.example.com. On that site, there is a
login
Did you try it with single-quotes instead of double-quotes?
On 22/05/07, Tiffany Fodor [EMAIL PROTECTED] wrote:
The line in my script (#126) that writes data to this field looks like
this:
ie.text_field(:name, Business Income/Extra Expense/Rental
Value_0).set(account[bldgBI])
You're repeating yourself, Charley. ;-) This new assertions.rb covers one
aspect of what Watir User asked but not the other: Its not only related to
assertions .. . That's why I described a general Ruby construct for
recovering from methods regardless of what Watir version you're using.
Hello Watir user,
I get an error when I try to execute the command ... Perhaps you
could include a little more code in your email post?
Also, can you please clarify what it is you are trying to do in the web
application (i.e. as a user)? What triggers the link to appear?
On 29/03/07,
No.
Read this important article : http://en.wikipedia.org/wiki/Spaghetti_code
Please rethink how you structure your code. I *highly* recommend taking a
course on Programming Concepts and Design if you haven't done any formal
structured programming/scripting in a *long* time.
GOTO's bad.
This is a great question and a tough one too. One of my philosophies during
my career has always been to make myself replaceable so that I can move onto
other more interesting things. In your situation, it sounds like you've
accomplished that. You introduced a tool and a desire to move testing
Hi Adam, this is the situation we have with our navigation bar for one of
our web apps. Using Watir 1.4.1 I couldn't use the 'text' attribute for
SPAN tags and none of the Spans had unique ID's. What I ended up doing was
creating two methods to help us navigate the system.
The first one is
Heh. You didn't miss the point. That's why populate_navigation_bar is a
method! ;-)
Cheers! Paul C.
On 16/03/07, Adam Reed [EMAIL PROTECTED] wrote:
Thanks for the help Paul. I did have one question about this method,
however:
As far as putting indexes and the name you want in the Hash
What have you tried and where have you looked for the answers?
On 15/03/07, sikander [EMAIL PROTECTED] wrote:
Hi,
I have an array say arrayTextfield1 = [textfield1, textfield2, textfield3,
textfield4, textfield5, textfield6]
In a page i have following fields
textfield1
textfield2
Hi there. After several hours of looking at this problem, I've decided to
ask for some help.
Here's the problem: I have an input text file that has a series of values
stored like this:
one 1 0.1234 0 4
two 3 1. 1 0
...
I want the values in the 4th and 5th quotes on each
On 15/03/07, Alan Ark wrote:
Hi Paul.
Just a few notes.
Here's a regex that I came up with.
I used the ? qualifier to make the regex non-greedy – which probably
would have been the next thing that you ran into.
Hi Alan, thanks for the reply. Your regex string does work in IRB but still
Hi Bach, just wanted to chime in on your suggestion.
I tried a similar IE 6 browser setup a year or so ago when testing one of
our web apps. I noticed very strange behaviour that was directly traceable
back to the Cookie settings. For our secure (https) web app, it was looking
for some cookie
By any chance, would anyone be interested in writing a hook into Google
Spreadsheets? I guess you'd sacrifice speed for portability.
Paul C.
On 05/03/07, Paul Rogers [EMAIL PROTECTED] wrote:
I use Open Office. Having the Excel reader is handy, but it obviously
doesnt
work for me. I started
Hi John, this may or may not be useful but when I work with accented items
like these, I treat them like a black box. That is, I don't look into the
box to see how Ruby translates them .. which may or may not be how Ruby
really sees them. In your select_list, can you refer to that service name
I think you might be interested in the 'setup' and 'teardown' methods. Read
through the ruby-doc.org page on the Test:Unit module.
On 26/02/07, Jason [EMAIL PROTECTED] wrote:
I have numerous TC methods within a class. Before I execute the script, I
have a batch file (C:\mybatchfile.bat) I
I was able to input extended Ascii characters into text fields but I didn't
do it this way. I should clarify that they were accented European
characters, not CJK.
I have a Watir script that sets up the base test data in the system. It
reads the inputs from an Excel file into an Array and then I
Steve wrote:
while not ($browser.link(:text,Withdraw).exists?)
sleep 1
$browser.reload()
end
1.) Is there a better way for me to do this?
I am not sure why you are getting the text of old screen.
This question reminds me of a similar problem that I
Hi Chris, unfortunately, I don't remember enough math right now to be able
to offer a better solution than what you've already come up with.
The only catch that I can think of is that since you are looking for a
*percentage*, the many in your many.times do loop needs to be a
relatively large
Looks like RubyGarden is temporarily down - perhaps a maintenance window.
I've attached a copy of the page that I happened to have saved for just such
an emergency. ;-)
Cheers. Paul C.
On 12/02/07, vijay [EMAIL PROTECTED] wrote:
Hello people,
The link,
Why don't you just use the Watir command to do this? Am I missing
something?
myIE = IE.new
Nathan Christie wrote:
[b]irb(main):002:0 myIE = WIN32OLE.new( InternetExplorer.Application )
___
Wtr-general mailing list
Wtr-general@rubyforge.org
Ah. Thanks for the info. I haven't noticed that problem/error before on my
system that's running Ruby 184-20 and Watir 1.4.1, so I never really looked
closely at what the underlying calls are.
As far as I'm concerned, if it works don't look any further. ;-)
Good luck. Paul C.
On 07/02/07,
Hi Alan, I'm interested in the answer to your question but I don't know what
it is. I suggest reading through this message in the archive:
http://rubyforge.org/pipermail/wtr-general/2006-September/007592.html
Let us know what you find out.
Cheers. Paul C.
On 07/02/07, alan wrote:
Hi,
I try to avoid icky double negatives. Does the following line work for you
instead?
sleep 0.5 until $browser.link(:text, Withdraw).exists?
On 05/02/07, steven [EMAIL PROTECTED] wrote:
The following code only seems to work if $browser = ie.new, and not
firefox.new (i.e. with Firewatir). Am
Install Watir 1.4.1 to a folder with no spaces in it. e.g. C:\Watir
It should work.
On 02/02/07, RobG [EMAIL PROTECTED] wrote:
I hope this is an acceptable topic for this list...
I just installed Ruby 1.8.5 on my system, and then, with much effort,
managed to get the watir-1.4.1.exe
On 01/02/07, Richard Conroy wrote:
I am curious what everyone thinks of this (new) book.
It starts off well, with the first example tutorial being
how to test if an uninstaller worked. No hello world,
silly arithmetic examples etc.
Well it is ordered, I will know myself soon.
I reviewed a
On 23/01/07, Bret Pettichord wrote:
This is largely because Watir is stupid in this area. We made a bad
design choice with Watir 1.0. We'd now like to make Watir consistent and
start with 0 everywhere (like everything else in Ruby) but this would
raise compatibility issues. We welcome your
This is one of those times when I'll never understand why some things in
programming start counting at 1 and some things start counting at 0.
I, too, have several similar loops in some of my scripts, but I opted for
the more readable format of saying:
t.length.times { |x|
puts t[x][0]
}
I
For those of us who don't know how to program in C, can you please explain
what Continue does? It's not entirely clear to me what you are trying to
do.
On 19/01/07, sarita [EMAIL PROTECTED] wrote:
I want to execute a test on a table where links are to be clicked based
upon its status. Only
Are these links and fields within frames? Do you know if the frame has
completely finished loading after the click and before the text_field is
set? What version of Watir are you using?
On 19/01/07, Naga Harish Kanegolla [EMAIL PROTECTED] wrote:
HI,
But its not working for me. Basically
I just found what looks like a bug in Ruby. Here's a simple script that
will expose this bug:
irb(main):001:0 x = 1
= 1
irb(main):002:0 puts 'foo' + x.to_s +'bar'
SyntaxError: compile error
(irb):2: syntax error
puts 'foo' + x.to_s +'bar'
^
from (irb):2
I
On 13/01/07, Bret Pettichord wrote:
Would it be possible for you to provide code and output that are synced up
with each other?
Bret
Sure thing. Rather than include everything, here are some relevant bits:
Aside: filename written to from the setup method:
filename1 =
Hey Bret, I have another question.
I'm almost finished updating another script that walks through the pages of
another web app and I'm noticing that the average difference between the
timers is ~ 2.0 seconds!
This second app is mostly frames though. So when I issue the following
command:
Instead of ie.wait, I wrote and use the following method call:
def wait_for_frames
$ie.wait
if $ie.document.frames.length 0
$ie.document.frames.length.times {|x| $ie.frame(:index, x+1 ).wait
}
end
end
I imagine others may use something similar. You should be able to
You can use something similar to the following to get you started:
variable = ie.select_list( :id, /ListName/).getAllContents
On 12/01/07, sarita [EMAIL PROTECTED] wrote:
I want to run a test, which'll create one sample record for each option in
the List Box. Again the options in List Box
Okay, I give up. I've worked on this for over an hour and I need more
experienced help. (Web searches and book references haven't helped either.)
I have a URL in a string and I'd like to replace part of it but first I need
to find the part that I care about. Here's an example of the string:
Thanks Alan! That works better than what I was trying to do. Now I can
create the new URL with a line like:
new_url = ie.url[/(.*)\//] + new_page.html
Sweet! I was trying expressions like =~ /\\// but wasn't having any luck.
Cheers! Paul C.
On 11/01/07, Alan Ark [EMAIL PROTECTED] wrote:
Hi Nathan, thanks for the follow-up. I do have it working, as per my last
message in this thread, but I'll offer some additional info here since you
asked.
The $something_went_wrong variable is a legacy variable from when I first
wrote these scripts using Watir and I was trying to tell the
Okay, I didn't want to reply right away without trying a few things first.
My results seem to be consistent in that my second counter is always larger
than the default down_load_time value.
On 10/01/07, Bret Pettichord wrote:
The down_load_time is the amount of time that watir waits in the
And you do this how...? Perhaps you should include a link, reference or
example of how to do this in your response.
On 10/01/07, Angrez Singh [EMAIL PROTECTED] wrote:
Hi John,
You can manually install AutoIt dll using regsvr32 command.
Regards,
Angrez
Hi there, I've got more of a Ruby question than a Watir one, so I hope you
don't mind if I post it here first.
I am in the process of rewriting my first Ruby/Watir scripts from a year ago
- a site-map walkthrough script to collect some simple Performance metrics.
When I first wrote the script, I
page_set is just a local variable used to call the method name that I want
to execute.
I'm basically calling a method (e.g. 'walk_Public_Pages') from within a
method (page_set_to_check) that is supposed to trap the errors/exceptions.
However, if there's an error in the 'walk_Public_Pages'
I've got a script that walks through a simple web application and retrieves
the page size and page download times. (By simple web app I mean no
frames and only about a dozen pages - mostly reports and a Personal Settings
page.) The script outputs these values to an output CSV file so that I can
Got the answer I need from the Programming Ruby 2nd Edition book and thought
I would share it here.
From the Handling Exceptions section (p. 361), I got that I should add the
rescue block to the end of my site-walking methods, and not the calling
method (i.e. page_set_to_check()). Basically I
Hmm, okay, so it looks like there are two interesting sub-measures then.
From a user's perspective, a web page's response time would equal
down_load_time + render time.
How much faith should we put in the IE.down_load_time attribute if it
doesn't include the render time? I mean, I *watched*
I also have duplicate menu names in one of our apps. I just use the link's
index number instead. It's not as nice or convenient as using the text, but
I don't mind hard-coding a link index every now and then if it means I can
get on with the test and move onto the next thing.
On 08/01/07,
I have been using Watir to test our .Net web app for almost a year now. Did
you check to see if there were any frames in your window?
On 12/12/06, Devesh [EMAIL PROTECTED] wrote:
Can Watir be used for testing a .Net based web application ?
On running showAllObjects() function on an .net
Unless I'm mistaken, A HREF.. Click Here /A is a link. Did you try the
ie.link method?
On 11/12/06, vijay [EMAIL PROTECTED] wrote:
Hello people,
I do not know how to access an element whose html tag is A. There is a
link, named 'Step 1. Details'. According to its View Source, it is
Maybe you're being too specific?
Did you try just: $ie.span(:index, 1).click
Or, based on the id tag, does this work: $ie.span(:id, 'firstTab').click
On 03/12/06, Neil Daniell [EMAIL PROTECTED] wrote:
I am trying to use Watir to click on secondTab but cannot seem to get the
following to
Hello Nathan, thanks for all the details you included in your initial post. While I don't think I can add anything more to the programming/troubleshooting side of things than have already been offered, I haven't seen anyone yet ask what else is going on in the system.
Do you have any other
I like your simplification, thanks.What I was originally trying to do was use a CASE structure, but I couldn't figure out how to use multiple comparisons. That is, I tried something like this:case array[ position ]
when 'foo' then start_col = 1 when 'green eggs' then start_col = 10 when 'ham'
Hi there, I've been staring at a piece of code trying to get it to work for a while and I think I need a break. I have just one piece of the puzzle left to figure out and it's not really a Watir problem. Here's the problem simplified...
I have an array with changing contents that I'm working with.
= 30 first_seen = false elsif array[ position ] == 'bar' and ! first_seen start_col = 40
end ...endThis works in this example because there are at most only two occurrences of 'bar' in the array.Now onto the next thing. Have a great weekend!Cheers. Paul C.
On 27/10/06, Paul Carvalho [EMAIL
Hmm, that's an interesting problem. When I first evaluated Watir to see if it would work with our .Net web app, it was important to figure out how to work with our tree control. Each tree control/library out there is different and none of the referenced examples that I could find worked for me.
I'm running Watir 1.4.1 (from Windows Installer) and Ruby 1.8.4-16 on my main machine.I copied your iframe_nested.html files into my C:\Scripts\1.4.1\unittests\html folder, and renamed your rb file to frame_test_Ethan.rb and placed it in my unittests folder.
To begin with, I re-ran the standard
Hello Eva,What output does the following command produce when executed at an IRB prompt? ie.show_imagesOr if it's in a frame: ie.frame(:name, 'framename').show_images
On 04/10/06, Eva [EMAIL PROTECTED] wrote:
Typically image have this tag...[snip] I know this isn't a typical image tag. I believe
Hello Astha, you would do it in Ruby just about exactly as you have suggested.I would suggest a minor change to your data content though. You should either remove the final slash (/) from the first variable, or the first slash from the second. Otherwise your built-up URL will look like:
Technically, you didn't send us the full link in your post. You sent us only a part of the full link. Can you simplify your regex? That is, is this good enough? $ie.link(:url, /selectTerritory/).clickOccam's razor works for me. Keep it as simple as possible.
Paul.On 28/09/06, Adrian Lewis [EMAIL
Nice! Thanks. =)On 26/09/06, Sun [EMAIL PROTECTED] wrote:
Regarding documentation, please see: http://en.wikipedia.org/wiki/WatirI have updated this by creating an example information section, plus updating the base note, and adding links to External Links and See Also.
Umm.. I have no idea what you're talking about, Bill. th is just a td with some fancy formatting. I see no reason why a command like the following wouldn't work with Watir 1.4.1:irb ie.table(:index, 1)[1][3].flash
As with anything you do, there are usually a few ways to get to a particular object
Hi Raghu, Thank you for sending the output files. I suspect the problem is because you installed Watir into the Program Files folder. I've found that Ruby sometimes works unexpectedly if there are spaces in the folder or file name.
If you try to reinstall Watir off the root directory (e.g.
Hi Raghu, I believe this is a known issue with the 1.4.1 release. You can download the zip file for the previous (1.4) release to get the missing images subfolder.1. Go to:
http://rubyforge.org/frs/?group_id=1042. Download the watir-v1_4.zip file3. Open the zip file and copy the
On 15/09/06, Bret Pettichord [EMAIL PROTECTED] wrote:
A couple of recent posts were premised on the assumption that we wantWatir to be more popular? Do we? Why?I say 'yes', we do want it to be more popular. Here's my reason why.I first started out in this industry as a programmer for several
On 01/09/06, Phlip [EMAIL PROTECTED] wrote:
To the Ruby users: Where's the nearest ProgrammingRuby.chm for the OP?Does Watir come with it?Should be installed with Ruby itself. On my hard drive, I found a copy located in the /ruby/doc folder.
___
Is it called Duck Typing when Ruby figures out the variables as it goes along?That totally rocks. I only declare things as I need them in my scripts, and if my tests didn't run sequentially I would be totally screwed. =)
On 01/09/06, Chris McMahon [EMAIL PROTECTED] wrote:
Perl forces you to
Aha! Thanks Chris. My google searches didn't turn up that hit.Unfortunately, it gets me one step further but I still cannot connect:irb(main):001:0 require 'net/ftp'= trueirb(main):002:0 ftp = Net::
FTP.new= #Net::FTP:0x2bee920 @mon_owner=nil, @debug_mode=false, @mon_waiting_queue=[],
Hoo-ahh! Got it! After much convincing, I managed to get our IT guy to look into the problem in more detail. This is what he wrote back to me:I did find one thing. They may be doing a reverse DNS lookup (our outgoing IP) and then seeing if that IP has an A record. We didn't have an A record for
You can also use the each method... as in:def run_check_links(ieHelper, arrayText) arrayText.each do |link_text| assert(ieHelper.link(:text, link_text.exists?) assert(ieHelper.link
(:text, link_text.enabled?) assert_equal(link, ieHelper.link(:text, link_text).type ) endendOn 21/08/06, sikander
Hi there, I'm still a novice when it comes to using regular expressions and am having a bit of difficulty figuring out the syntax on the following problem.Here's what I want to do:- I'm trying to create a branch in the code if the PageHeadingLabel contains one of two words.
Here's the line that
Sweet! Worked like a charm. Thanks. Learned something new today. I guess I can go home now. ;-)Cheers! Paul.On 15/08/06, Dave Hoover
[EMAIL PROTECTED] wrote:Yep, use the String#match method.
http://www.ruby-doc.org/core/classes/String.html#M000583
___
Yes, you do need to specify the frame. Try something like: ie.frame('FrameName').text_field(:name, inpListFilter ).set(adm )You should be able to incorporate the FrameName into your 'ECMTestFixture' object.
To see the frames that Ruby/Watir sees, try the following at an IRB prompt:
I use similar mixed variables in my scripts but I use the 'succ' method rather than trying to manually figure it out.For your sample code below, I might rework it to something like:def enter_data x = 0 ; object_name = 'A10'
read_in_test_data... ... object_name.succ! p object_name ...endHope this
I have used VMware with Watir successfully. I've got a WinXP Pro SP2 VMware session that has IE7 Beta 2. On it, I have Ruby 1.8.4 and Watir 1.4.1.I just ran the UnitTest filefield_test.rb and it executed without error.
I can't say I really understand what the problem described below is, so I can't
Hi Vikash,Maybe your code is working. Maybe it just doesn't do what you think it should do.Are you trying to access the checkbox? If so, why not just try something more direct like: ie.checkbox(:id, /3_1/).flash
ie.checkbox(:id, /3_1/).setOn 22/07/06, VIKASH KUMAR [EMAIL PROTECTED] wrote:
div
Ruby rocks! My fav is: 9.times{|x|putsx}It doesn't get any clearer for me than just telling it how many times I want it to loop without worrying about extra syntax that I'm likely to get wrong.. ;)
On 19/07/06, Chris McMahon [EMAIL PROTECTED] wrote:
On 7/19/06, mi [EMAIL PROTECTED] wrote:
Yes, I think it would be a great idea.On 21/06/06, Bret Pettichord [EMAIL PROTECTED] wrote:
Zeljko,The plan has been to rename that forum Watir General and then to set up a mirror (or whatever you call it) between this list and that forum. Thus everything that is posted here would show up there
I recommend Zeljko's one-line assert statement, but *if* you really want to keep the format you have now, you can also use the 'flunk' command.For example:if $ie.select_list(:name, 'criteria.countryId').exists?
assert(true) else flunk( select_list(:name, 'criteria.countryId') does not exist )
Okay. I know that I should know this, but knowing that doesn't mean that I know it. arrrg. This is a Ruby string manipulation question, not really a Watir question.I have this label on a web page - we'll call it PageHeadingLabel - and the contents change based on selected user. I need to know how
Hi there, this is totally aside and just 'FYI' so please disregard if you are not interested.It's been bugging me for a few weeks so I just took a look and discovered why the anchors to the FAQ haven't been working as expected. Here's an example -- Bret sent out the following link in a recent
Really? I tried the corrected links on IE6 in WinXPSP2 before I posted my observations and they work for me. Mind you, I always get a few Runtime Errors when I try to connect to that page with IE6 for some reason, but the FAQ and correct section *do* appear.
That is strange. Oh well.Paul.On
This is a known problem in 1.5. The description is perhaps not clear enough to be found by a search, but it is in JIRA: http://jira.openqa.org/browse/WTR-13Technically, there's nothing wrong with the google_maps.rb script... it just fails because the
frame.html fails in the script.Paul.On
Hi George, it's been my experience that the unit tests run in what appears to be an alphanumerically-ascending order. It's been a while since I've looked at it, but I think this is the general pattern. (This is all off the top of my head, but I'm sure I can easily confirm it. I still have the
I've been using SciTE. Until now I haven't heard of Arachno Ruby.. maybe I'll check it out.Every time I try FreeRIDE it always disappoints me. I tried it again just now - it doesn't like my dual monitor setup (does weird things with the menus), and it hangs for some reason in the middle of my
Just for the record, none of the advice in this FAQ entry have helped me get rid of this error. =(I'm not trying to navigate to a frame on another site, but the two outside (empty) frames are hosted on a separate resource web site. When I check the frames, I see the following output:
You could also create a batch file called 'install.bat' that simply has the gem install watir command.On 01/05/06, Bret Pettichord
[EMAIL PROTECTED] wrote:
Harry,Just download the gem the way you would download any other file.Then you need open a command window, and cd to the directory containing
Hi Zeljko, Yes. That's what I need. Seems obvious now - I can't believe I didn't find it in the API reference.Cheers. Paul.On 26/04/06, Zeljko Filipin
[EMAIL PROTECTED] wrote:
I guess that you will know how to assign it to variable and use thatvariable (if I am wrong, let me know).
Hi there, I'm trying to capture the Test Unit output to a file but I'm not exactly sure of what it is I need to capture. I thought it was STDOUT, but now I'm not so sure. Here's an example of what I want...In the Watir\Unittests\ folder, run the script: iostring_test.rb
It has the following
That's a fair question. I'd like a bit more control over what output I actually save to file. For instance, the web app under test has frames where some of them return the 'Access is Denied' warnings. I'd like to weed out all that crap.. err, noise.. and just see the test summary.
The output
Most of my Watir scripts generate their own random inputs (content and length), but I always have to specify an upper limit for each data value specified.For example, a Create New User page has the following HTML for a User Name input field:
INPUT class=fieldLarge id=_ctl0_UserNameField
Thanks for the replies Bill, but neither (write or print) seemed to work for me. That is, the output still had the extra line feeds.I decided to try removing the extra line feeds manually and it worked, so I'll go with that for now:
f_e.puts html_content.delete( 10.chr )Cheers! Paul.On 21/04/06,
Thanks for sending the screenshot, but the bit of source code that you sent is only a list of functions -- it's not the HTML itself. Unless I'm reading it wrong, you should be looking elsewhere in the HTML source.
There are many different html elements that you can look for (e.g. tables, spans,
I just added the License to the main page. I copied the License from the ReadMe in the Watir API Reference. Someone can update it if it's not the correct one or if there have been other changes made to it since it was first written (
e.g. does the Copyright year need to include 2006 now?).Hope
Hi there, you've given us some information about the problem, but not enough to provide you with an exact answer. One thing that I would recommend to you would be to spend some more time looking at the objects on the page to try and understand exactly how the tabs are placed on the page.
For
Hello Eli, there's a lot of information you didn't offer to allow us to help you better.What version of Ruby are you using (so we know the version of SciTE)? What version of Watir?How are you executing the scripts? Which input chars are being echoed? Can you include a sample of your code and the
Ah, now I see. I am using Ruby 1.8.4-16 with SciTE 1.67. There is *no* Run irb under the Tools menu.I guess it didn't work so they took it out. Sorry. Looks like you'll have to CMD-prompt it to work around this problem.
Cheers. Paul.On 04/04/06, Eli Smith [EMAIL PROTECTED] wrote:
Hi Eli, you can execute your scripts from within SciTE too. Just press [F8] to see the output pane and press [F5] to run the script. The output pane shows you the output that you would normally see in a command window. No need to run it separately.
Hope this helps. Paul.On 04/04/06, Eli Smith
Hi there, please forgive the Off-Topic question. Let me know if I should try another forum or resource (and which ones they are).I'm trying to refactor one set of Watir scripts into separate files so that it is more like the setup used in the UnitTests and I seem to be having some difficulty
1 - 100 of 134 matches
Mail list logo