• 0

Automated website testing


Question

I'm trying to automate website regression testing. But, we've never used any of the testing suites out there as this is our first major web project, until now we focused on desktop software.

 

Right now we use Visual Studio 2013 Premium edition, but don't necessarily want to use the built in test tools, right now we want to evaluate all options.

 

Our sites are written in Visual Basic.NET and C# and run on ASP.NET on IIS 8.5.

 

What we want to do is:

 

* Record website usage and make it into a test case.

* Potentially fill values from a database of values to enter, ex: user name, password so we can run the same tests across multiple users to simulate x number of users at the same time uniquely

* Be able to report any test cases that fail of course

* Be able to store test cases in a version control system, ex: Team Foundation Server

* Be able to run tests automatically with no user interaction, say nightly

 

 

anyone out there have any experience with this, or able to offer suggestions on test suites? The easier to use the better, as this is a task that may be handed off to an intern at first to give them some experience.

 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Hi,

 

For web testing I mostly used Selenium WebDriver. Note, not the Selenium IDE for Firefox but the Selenium WebDriver. There are bindings for C# as well so it is possible to code your test cases and store them in a subversion environment. Also, it is possible to automate the process by configuring your server to automatically call the file that will execute all the tests.

 

When I was developing with Selenium I mostly coded all my test cases with Java but my tests were for a Sharepoint website we developed. As far as the website usage goes, etc... I am not sure if Selenium has support for that out of the box. However, for a great opensource alternative Selenium is the way to go!

 

If you do come across something that is more robust then do let us know :)!

 

http://docs.seleniumhq.org/

Link to comment
Share on other sites

  • 0

I'm trying to automate website regression testing. But, we've never used any of the testing suites out there as this is our first major web project, until now we focused on desktop software.

 

Right now we use Visual Studio 2013 Premium edition, but don't necessarily want to use the built in test tools, right now we want to evaluate all options.

 

Our sites are written in Visual Basic.NET and C# and run on ASP.NET on IIS 8.5.

 

What we want to do is:

 

* Record website usage and make it into a test case.

* Potentially fill values from a database of values to enter, ex: user name, password so we can run the same tests across multiple users to simulate x number of users at the same time uniquely

* Be able to report any test cases that fail of course

* Be able to store test cases in a version control system, ex: Team Foundation Server

* Be able to run tests automatically with no user interaction, say nightly

 

 

anyone out there have any experience with this, or able to offer suggestions on test suites? The easier to use the better, as this is a task that may be handed off to an intern at first to give them some experience.

Whats wrong with the built in testing tools?

 

Edit: Moq is pretty good if youre doing MVC, but for the rest of your requirements the built in does all that you want.

Link to comment
Share on other sites

  • 0

Hi,

 

For web testing I mostly used Selenium WebDriver. Note, not the Selenium IDE for Firefox but the Selenium WebDriver. There are bindings for C# as well so it is possible to code your test cases and store them in a subversion environment. Also, it is possible to automate the process by configuring your server to automatically call the file that will execute all the tests.

 

When I was developing with Selenium I mostly coded all my test cases with Java but my tests were for a Sharepoint website we developed. As far as the website usage goes, etc... I am not sure if Selenium has support for that out of the box. However, for a great opensource alternative Selenium is the way to go!

 

If you do come across something that is more robust then do let us know :)!

 

http://docs.seleniumhq.org/

All of this.

 

I saw the title and immediately thought of Selenium. It's probably the best tool for what you are trying to accomplish.

Link to comment
Share on other sites

  • 0

I also agree with using Selenium. An alternative is Sikuli. Instead of defining the tests in terms of DOM interactions it can perform clicks based on screenshots.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.