• 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

    • They looked at Apple's silly naming schemes and were ' Hold my beer...."
    • Microsoft are pretty good at giving up names without a fight
    • Brave... the crypto browser with Brave ad rewards and Leo AI everywhere is not an issue for you and Firefox is? At least in Firefox you can disable everything you don't want easily in about:config and everything you don't want is REALLY removed even from the UI. in Brave the only way to really disable all this stuff and them to completely removed from the UI is to use administrator policies. You can only have them turned off without admin policies.
    • The UK shouldn't copy Trump. If the UK wants its own AI Industry it needs to build one, it also need to sort out the issue of startups flying away to America.
    • Azure Linux 2.0 reaches end of life, requiring AKS Arc users to upgrade by Paul Hill Microsoft has warned that Azure Linux 2.0, used in Azure Kubernetes Service (AKS) enabled by Azure Arc, will reach its end of life on July 31, 2025, necessitating users to upgrade. After this date, Microsoft will no longer provide updates, security patches, or support for Azure Linux 2.0. The longer it is used after this date, the more vulnerable systems will become due to a lack of patches. Azure Linux 3.0 brings significant upgrades to core components that enhance performance, security, and the developer experience. The Linux kernel is upgraded from version 5.15 to 6.6, bringing performance and hardware compatibility improvements. The Containerd package has been updated from version 1.6.26 to 1.7.13, improving container management. The SystemD package has been upgraded from version 250 to 255, streamlining system and service management, and OpenSSL has jumped from version 1.1.1k to 3.3.0, providing enhanced encryption and security. Azure Linux 3.0 also brings more packages and better tooling. Major versions of Azure Linux are typically supported for three years, with Azure Linux 3.0’s EOL projected for Summer 2027. It became generally available in August 2024.Microsoft said that users must migrate to Azure Linux 3.0 by upgrading their Azure Local instances to the 2507 release when it becomes available. After the Azure Local instance has been upgraded, users can then upgrade their Kubernetes clusters. Microsoft gives you the option to remain on the same Kubernetes version during this upgrade by providing the same version number on the aksarc upgrade command. After upgrading, you can verify the kernel version on your Linux nodes by adjusting the file path in this command: kubectl --kubeconfig /path/to/aks-cluster-kubeconfig get nodes -o wide This upgrade is mandatory for continued support. If you want to learn more, check out Microsoft’s announcement which also includes how to reach out to the AKS Arc team if you need to.
  • Recent Achievements

    • Dedicated
      Daniel Pinto earned a badge
      Dedicated
    • Explorer
      DougQuaid went up a rank
      Explorer
    • One Month Later
      MIghty Haul earned a badge
      One Month Later
    • Week One Done
      MIghty Haul earned a badge
      Week One Done
    • Collaborator
      KD2004 earned a badge
      Collaborator
  • Popular Contributors

    1. 1
      +primortal
      597
    2. 2
      Michael Scrip
      201
    3. 3
      ATLien_0
      192
    4. 4
      +FloatingFatMan
      140
    5. 5
      Xenon
      127
  • Tell a friend

    Love Neowin? Tell a friend!