• 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

    • I see the Winblows 11 BETA testing continues. This is just Windows 10 all over again. Oh well, everything is still smooth sailing over here on Windows 10 21H2 LTSC. You unpaid sheep BETA testers be sure to let us know when you get done BETA testing Winblows 11 for the rest of us. 🤣
    • What do you expect? Windows 11 is still in BETA. This is Windows 10 all over again. M$ doesn't hire people to do BETA testing anymore. They just let all the dumb sheep with FOMO do all the BETA testing for them. It's the same dumb sheep who use self-checkout at the store and do someone else's job for FREE! All while the worker who's getting paid just stands there and watches them. 🤣 🤡
    • Pet peeve: Microsoft using scaling options to get around the fact they removed font size settings, as if that's somehow acceptable to do. Thankfully third party apps still can adjust font sizes just fine, even though it often randomly resets on OS updates. And the funny thing is that not only are the scaling options horrible crutches, but they only work in some applications. And, ironically enough, even some apps from Microsoft themselves have hardcoded tiny fonts in certain dialogs in them. Example - certain parts of MS Office apps UI.
    • Unofficial script does the most useful official Windows 11/10 repairs you want automatically by Sayan Sen IT admins and system admins, and even home users have to run various Windows diagnostic runs from time to time in order to iron out or work around system problems. Last year, Microsoft published a guidance piece about various such native Windows apps, tools and utilities they include the like of Task Manager, Registry Editor, and more. Aside from them, Windows also comes with SFC (System File Checker) and DISM (Deployment Image Servicing and Management) to scan and fix corrupt and missing system files. Besides those, various other ways to help and diagnose network issues related to DNS (Domain Name System), among others, also exists. In order to save time running these, a Reddit user has created a new tool that automates all of these into a single package. The author writes that the Batch script (.BAT file) they have developed is "basically a one-stop script that can help clean up your system, run built-in diagnostics, fix common network issues, and generate system reports." The script is based on native Windows tools like netsh, ipconfig, systeminfo, among others, and the idea behind this is essentially to save time. The tool can be of help with Windows Update repairs, among others, something we all know is pretty common, and even Microsoft's own support articles may not prove to be helpful. Here is everything the utility can do for you: Run SFC, DISM, CHKDSK from a single menu Restart network adapters with auto-detection Flush or set DNS (Google, Cloudflare, or custom) Windows Update repair (resets services + cache) Generate system reports (saved as .txt files on Desktop) Show installed drivers Clean up temp files Registry backup and restore (manual) The latest version of the utility is now available for download on GitHub. The new version fixes issues related to admin privileges. As the script requires it to be run as an admin, it now restart itself to work in admin mode even if a user forgot to run it as an administrator. To download it, head over to its GitHub page here. The utility is named Windows Maintenance Tool. As always, though, make sure to back up your PC as this is an unofficial third-party app, and it's better if you test it first in a VM. Source: Lil_Batti (Reddit)
    • Come the hell on, do we need clickbait titles? "Overwatch 2" - 11 characters "a popular multiplayer hero shooter" - 34 characters What's the purpose here - delivering news or titles for clicks? I think we all know the answer. You're straying into "Number 7 on this list will SHOCK you" territory and while it may work on some crappy sites, this is why they are crappy sites. Just tell the story! Go back and look at popular articles that made Neowin what it was. Did they have headlines of "New OS from major technology conglomerate has astonishing new feature" or is it likely to tell the story succinctly and then elaborate within the content?
  • Recent Achievements

    • One Month Later
      CoolRaoul earned a badge
      One Month Later
    • First Post
      Kurotama earned a badge
      First Post
    • Collaborator
      Carltonbar earned a badge
      Collaborator
    • Explorer
      MusicLover2112 went up a rank
      Explorer
    • Dedicated
      MadMung0 earned a badge
      Dedicated
  • Popular Contributors

    1. 1
      +primortal
      508
    2. 2
      ATLien_0
      270
    3. 3
      +FloatingFatMan
      245
    4. 4
      +Edouard
      201
    5. 5
      snowy owl
      168
  • Tell a friend

    Love Neowin? Tell a friend!