Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6088125
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:56:57+00:00 2026-05-23T11:56:57+00:00

Can any one have more descriptive example of Rspec? I used the the example

  • 0

Can any one have more descriptive example of Rspec? I used the the example from site https://gist.github.com/1053934 works very fine. But i want to learn more like go to site X (eg. Google) -> enter data in text field (eg. Ruby)
Check for the HTML is Ruby available in the list?

Can any one have script that i can run on Rspec and that will generate report on that pass fail status of case.

I appreciate all the responses in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T11:56:57+00:00Added an answer on May 23, 2026 at 11:56 am

    Here’s a complete example, courtesy of Watir docs.

    require "rubygems"
    require "rspec"
    
    describe "google.com" do
      let(:browser)       { @browser ||= Watir::Browser.new :firefox }
    
      before { browser.goto "http://google.com" }
      after  { browser.close }
    
      it "should search for watir" do
        browser.text_field(:name => "q").set "watir"
        browser.button.click
        browser.div(:id => "resultStats").wait_until_present
        browser.title.should == "watir - Google Search"
      end
    end
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can any one tell me an opensource js library that can have a real-time
1)Can Any one please tell me what are the prerequisites have been installed on
Is there any way I can combine list of expressions into one? I have
You can see here http://twitter.github.com/bootstrap/components.html#thumbnails in the example with a title and a description,
Can anyone give me any pointers. I have a text file that contains dates
Can anyone help me. I have a table containing a nested table in one
I apologize if this question is vague, but I can't really get any more
Can anyone tell me why I always have this strange output after running this
Can anyone explain if it is possible to have a web server for all
can anyone help? I have reading various blogs and it appears to include i18n

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.