• 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
https://www.neowin.net/forum/topic/1215149-automated-website-testing/
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/

  • 0
  On 26/05/2014 at 22:06, neufuse said:

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.

  • 0
  On 28/05/2014 at 18:58, roosevelt said:

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.

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

    • No registered users viewing this page.
  • Posts

    • It's very pretty, IMO. I've always loved the Windows 7-style of UI design. 7 was the prettiest Windows ever. I'd love Microsoft to be THIS consistent and I'd love them to return to that.
    • Here are the Macs that support macOS 26 Tahoe by Taras Buria In addition to iOS 26, iPadOS 26, watchOS 26, and tvOS 26, Apple announced macOS 26 Tahoe, a new desktop operating system. Like the other operating systems made in Cupertino, macOS Tahoe features a redesigned UI with Liquid Glass, translucent icons, and other visual upgrades. There are also plenty of new features, such as a new Phone app for Mac, Live Activities on Mac, a massive Spotlight update, and a lot more. However, not all Mac owners will get to enjoy macOS 26. Like with iOS and iPadOS, Apple is dropping a few Macs with the release of macOS 26. You will be able to update to the new operating system if you own one of the following Apple computers. MacBook Air M1 and newer MacBook Pro M1 and newer MacBook Pro 13-inch 2020 (four Thunderbolt 3 ports) and newer MacBook Pro 16-inch 2019 iMac 2020 and newer Mac mini 2020 and newer Mac Studio 2022 and newer Mac Pro 2019 and newer Note that although Apple still supports Intel-based Macs, not all features will be available on systems that do not have Apple Silicon chips. Now-unsupported Macs that cannot upgrade from macOS Sequoia to macOS Tahoe are the following computers with Intel processors: Intel-based iMac 2019 Intel-based Mac mini 2018 iMac Pro Intel-based MacBook Air 2020 Intel-based MacBook Pro 2018 macOS 26 Tahoe is now available for developers to try in the beta program. Apple plans to launch the first public beta in July, alongside the release of public betas of iOS 26, iPadOS 26, and other operating systems that the company announced earlier today. You can find all the new features in macOS 26 Tahoe on the official Apple website.
    • I hope Microsoft goes back to the Fisher Price XP look first.
    • >It is a fundamental change to how macOS looks and feels, which some Neowin readers are definitely not a fan of. Hehe. You link to one of my posts here, but I actually LOVE glass effects and have spent the last decade or so hacking Windows to be more like Vista's Aero Glass, etc. Not sure why you thought my post implied I didn't like it. I was referring more to Apple copying this from Windows. I wish MS would being more glass/acrylic/mica to W11 ASAP! Maybe they will...by copying Apple this time.
    • iPad, Phone and Watch just updated. Downloading this now for my MBA
  • Recent Achievements

    • Rookie
      CHUNWEI went up a rank
      Rookie
    • Enthusiast
      the420kid went up a rank
      Enthusiast
    • Conversation Starter
      NeoToad777 earned a badge
      Conversation Starter
    • Week One Done
      VicByrd earned a badge
      Week One Done
    • Reacting Well
      NeoToad777 earned a badge
      Reacting Well
  • Popular Contributors

    1. 1
      +primortal
      477
    2. 2
      +FloatingFatMan
      272
    3. 3
      ATLien_0
      256
    4. 4
      Edouard
      203
    5. 5
      snowy owl
      191
  • Tell a friend

    Love Neowin? Tell a friend!