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

  • Home
  • SEARCH
  • 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 50867
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T16:39:38+00:00 2026-05-10T16:39:38+00:00

I just wanted some opinions from people that have run Selenium ( http://selenium.openqa.org )

  • 0

I just wanted some opinions from people that have run Selenium (http://selenium.openqa.org) I have had a lot of experience with WaTiN and even wrote a recording suite for it. I had it producing some well-structured code but being only maintained by me it seems my company all but abandoned it.

If you have run selenium have you had a lot of success?

I will be using .NET 3.5, does Selenium work well with it?

Is the code produced clean or simply a list of all the interaction? (http://blogs.conchango.com/richardgriffin/archive/2006/11/14/Testing-Design-Pattern-for-using-WATiR_2F00_N.aspx)

How well does the distributed testing suite fair?

Any other gripes or compliments on the system would be greatly appreciated!

  • 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. 2026-05-10T16:39:39+00:00Added an answer on May 10, 2026 at 4:39 pm

    If you are using Selenium IDE to generate code, then you just get a list of every action that selenium will execute. To me, Selenium IDE is a good way to start or do a fast ‘try and see’ test. But, when you think about maintainability and more readable code, you must write your own code.

    A good way to achieve good selenium code is to use the Page Object Pattern in a way that the code represents your navigation flow. Here is a good example that I see in Coding Dojo Floripa (from Brazil):

    public class GoogleTest {      private Selenium selenium;      @Before     public void setUp() throws Exception {             selenium = new DefaultSelenium('localhost', 4444, '*firefox',                             'http://www.google.com/webhp?hl=en');             selenium.start();     }      @Test     public void codingDojoShouldBeInFirstPageOfResults() {             GoogleHomePage home = new GoogleHomePage(selenium);             GoogleSearchResults searchResults = home.searchFor('coding dojo');             String firstEntry = searchResults.getResult(0);             assertEquals('Coding Dojo Wiki: FrontPage', firstEntry);     }      @After     public void tearDown() throws Exception {             selenium.stop();     }  }   public class GoogleHomePage {      private final Selenium selenium;      public GoogleHomePage(Selenium selenium) {             this.selenium = selenium;             this.selenium.open('http://www.google.com/webhp?hl=en');             if (!'Google'.equals(selenium.getTitle())) {                     throw new IllegalStateException('Not the Google Home Page');             }     }      public GoogleSearchResults searchFor(String string) {             selenium.type('q', string);             selenium.click('btnG');             selenium.waitForPageToLoad('5000');             return new GoogleSearchResults(string, selenium);     } }  public class GoogleSearchResults {      private final Selenium selenium;      public GoogleSearchResults(String string, Selenium selenium) {             this.selenium = selenium;             if (!(string + ' - Google Search').equals(selenium.getTitle())) {                     throw new IllegalStateException(                                     'This is not the Google Results Page');             }     }      public String getResult(int i) {             String nameXPath = 'xpath=id('res')/div[1]/div[' + (i + 1) + ']/h2/a';             return selenium.getText(nameXPath);     } } 

    Hope that Helps

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just wanted some input on a project that I'm working on. Basically, I'm
Trying to use $SAFE=1 (just wanted to put some processing in a drb server)
I need to write an application that will take a list of files (some
I have a program that runs as a Windows Service which is processing files
I have an ASP.NET MVC Web Application that interacts with a SQL Server 2008
I am looking at linking a few applications together (all written in different languages
I'm building a MySQL database of vehicles. There are many different possible vehicle attributes
This is a beginner question, but it's been frustrating me... I am using C#,
Ok I'm not sure the title of this post is the correct way to
This is a bit different topic and i donot want to start long thread

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.