Displaying 20 results from an estimated 20000 matches similar to: "How to call the Ruby Script using HTML?"
2011 Aug 24
3
How to connect Ruby with MySQL (XAMPP)?
*Dear All:*
I need your help on following points.
1. Can I connect Ruby with MySQL in XAMPP server?
2. Could someone tell me that how to connect MySQL with Ruby? I have XAMPP
server installed and want to connect with ruby.
I am using Ruby1.8.7.
I tried following code:
require ''rubygems''
require ''mysql''
begin
# connect to the MySQL server
2006 Feb 23
2
Calgary Ruby Users Society (CRUSERS)
Calgary Ruby Users Society (otherwise known as Association of Anonymous
Java Programmers, Calgary branch) had it''s first meeting today. After a
round of introductions, we discussed our interests and brainstormed
possible activities for the group. Paul Rogers did a presentation on
Watir [http://wtr.rubyforge.org/]. Watir is not just a great tool, but
also a way to sneak Ruby into your
2008 Oct 16
2
Any good conferences this year about ruby/rspec/watir?
Hello.
Sorry for this little offtopic question, but I was wondering if anyone
happens to know if there''s any good conferences coming up about rspec or
ruby or watir in this year where I could attend to?
Or any good website where such things are listed or something similar.
All suggested conferences should not take place before one month from now
(employer needs some time to get good
2008 Jun 03
1
Clicking on links within facebook iframes (facebook apps)
Hello,
I have a problem with clicking on the links in facebook apps due to
iframes. I am trying to write a little script to run through the funwall
app.
I used IE Dev toolbar to get the name of the id of the iframe (those
iframes how no name attribute). So I run this command:
$ie.frame(:id, "app2378983609_fb_frame").link(:text, ''View this
post'').click
And I get
2008 Jan 15
1
Converting Watir script to Mechanize
I have a Watir script that I would like to convert to a Mechanize
script. The watir code looks like this
require ''watir''
include Watir
def test
ie = IE.new
ie.goto(''http://cpref.gsm.com/inter.asp?r=8084'')
ie.text_field(:name, ''inter_string'').set(''Potassium'')
ie.button(:id, ''image1'').click
2005 Mar 12
1
FW: Watir needs a Win32GUI library
Anyone need something to do? :)
Dan
-----Original Message-----
From: Bret Pettichord [mailto:bret@pettichord.com]
Sent: Saturday, March 12, 2005 8:25 AM
To: ruby-talk ML
Cc: wtr-general@rubyforge.org
Subject: Watir needs a Win32GUI library
We''ve seen growing enthusiasm for Watir, a web-testing library that is
good
enough that it is convincing people to learn Ruby just so that they
2007 May 10
1
RSpec 0.9.4
RSpec 0.9.4 has just been released. Gems haven''t rsync''ed around the
globe yet, so you might have to wait a few hours to install it.
The big news this time is Spec::Ui 0.2.0, which has been released
along with RSpec core. This RSpec extension gives you custom Watir
matchers (custom Selenium-RC matchers are not implemented yet).
Moreover, it comes with a custom KICK ASS formatter
2006 Apr 28
1
Software QA with Ruby
Hello,
I am looking for a Software QA person with Ruby (Watir would be a
plus). I am finding however, that Ruby aficionados do not post
themselves on standard job boards like Monster or Careerbuilder. Do
you, or someone you know have Ruby and need a position in Massachusetts?
Please give me a call at the number below, any info you may have, even
on how to track down Ruby users, would be
2007 Apr 11
5
Default exclude pattern in 0.9.0
The "rspec" rake task collects all _spec files in the spec directory,
and excludes the "watir" directory.
Is this indicating a preference for using Watir over Selenium? I would
like it better to standardize on something more neutral, ''ui'' perhaps?
/Marcus
--
Marcus Ahnve
http://marcus.ahnve.net
2007 Mar 15
1
Getting the stack trace
Hi all,
I am using the following code to print the exception, but is there a
way to get the stack trace of the complete error like
Exception: No option with text of Contract form in this select element
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1145/./watir.rb:3656:in
`select_item_in_select_list''
2007 Apr 13
1
HTML report and Spec::Ui improvements
The trunk now has some nifty improvements to the HTML report (--format
html). Each failing spec will (in addition to the backtrace) have a
box with a source code snippet of the offending code.
If you have Jamis Buck''s syntax gem installed the code will also be
syntax highlighted 8-D
There has also been some major improvements to Spec::Ui, and it should
be much easier to set up than
2007 Sep 18
2
FW: Specifying spec and output format inline?
Anyone have any advice on this one?
Thanks,
Adam
________________________________
From: rspec-users-bounces at rubyforge.org
[mailto:rspec-users-bounces at rubyforge.org] On Behalf Of Adam Reed
Sent: Monday, September 17, 2007 2:14 PM
To: rspec-users at rubyforge.org
Subject: [rspec-users] Specifying spec and output format inline?
Howdy from Austin, TX.
I''m new to rspec, and am
2006 Apr 04
1
Houston Ruby/RoR Meetup 8 April
The Houston Ruby/RoR group is getting together for discussion, food, and
more food on Saturday 8 April at Pantera, a Houston restaurant with good
food and free internet access :-). If you are in town and feel like
joining us, we''ll be getting started around 4:00PM. This time round I
will be doing a brief overview / demo of Watir, the ruby web testing
tool (http://wtr.rubyforge.org/).
2007 Apr 12
2
Watir on firefox
Hello is there any way through which we can run watir on forfox if so
please reply me with example
Thanks
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2010 Dec 02
4
how to redirect to ERROR page /500.html in rails
I setup an application in rails while performing some action am getting
below error
Status: 500 Internal Server Error Content-Type: text/html
500 Internal Server Error
page.
using Rails 2.2.2
I want to redirect the user to /500.html
so that they get the error page that looks like our application,.how
could achieve this ??
--
Posted via http://www.ruby-forum.com/.
--
You received this
2010 Mar 07
5
Rails development processes running very slow
This is a problem I know other people have been having. I''m on Rails
2.3.5 on a dual core 2.1Ghz Macbook Pro 2.1 with 3Gb of ram and 800Mb+
inactive memory. Things should be fast. Sometimes things run slowly,
but nothing nearly as slowly as rails. irb starts in milliseconds.
Even Java maven tasks are pretty fast. Rails on the other hand takes
a pitiful 1:30 minutes to start - the
2008 Jun 09
6
Selenium/Watir usage along side Webrat in story testing
This is related to Selenium/Watir usage along side webrat in story
testing.
MHS_Testing and Rspec-ui provide some great help for testing through
frameworks like Selenium/Watir.
But there is something missing, Webrat has changed the landscape
somewhat with Acceptance Tests/Story Driven development.
Now I have a choice:
1. Tests and rails process run as one test process (Webrat)
2. Use
2006 Feb 23
5
Web/HTTP Testing
Hello,
I am looking for a user test automation tool. When I say ''user'', I
mean it should mimic the user interacting with the app. That
ultimately boils down to a tool that drives a browser or is able to
make http requests and allow us to deal easily with the responses.
Our requirements are to be able to write the tests in Ruby (no need to
switch to other language for test
2010 Sep 17
9
invalid content-Length ERROR while uploading 2 GB of stream
hi all,
When Trying to upload 2GB of stream i got invalid content length
error
am running Apache as frontend server to mongrel and chrome as my
browser.
One more thing one i do it with mongrel alone am able to upload this 2
GB of stream ,cud anybody tell me whats the problem and how do i
configure content length in apache??
--
Posted via http://www.ruby-forum.com/.
--
You received this
2010 Apr 25
2
Ruby randomly converting quotes to html
If anyone understands:
def some_method
"<script type=''text/javascript''>
whatever(''element'');
</script>"
end
=>
<script type="text/javascript">
whatever(‘element’)
</script>
Any idea what could create that strange behavior?
--
Posted via http://www.ruby-forum.com/.
--
You received