• 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

    • New Outlook for Windows landing in Microsoft 365 Education accounts next January by Paul Hill Microsoft has announced that from January 2026, Microsoft 365 Education users will be able to switch to a “modern, AI-powered” Outlook for Windows. The Redmond giant said that a new toggle will show up for eligible users that will let them decide whether to run classic Outlook or the new Outlook for Windows. The new version, Microsoft said, brings numerous improvements including more streamlined communication, features to boost your productivity, and more ways to personalize your experience. As this update is coming to Microsoft 365 Education accounts, it means it’ll affect both students and teachers. The refreshed interface more deeply integrates with Microsoft 365 Copilot to deliver: smarter email and calendar management with features such as Pinning and Snoozing; personalized themes that match your style and preferences; and Copilot-powered assistance to help you draft, summarize, and organize your emails and appointments. Microsoft is obviously keen for users to switch over to the new interface when it's available to foist AI on you. However, if you are reticent about using these AI tools, you can always revert back to the classic Outlook for Windows, at least for a while after the new version is released. The new toggle will begin rolling out globally next January. Before then, Microsoft 365 Education users will get in-app notifications ahead of the change to prepare them, and educational organizations will have the power to opt out or manage the experience through administrator settings. While most Microsoft 365 Education users will get the toggle, there are some exceptions. These include: organizations that have opted out of automatic migration; users with perpetual licenses; on-premises account holders; and devices where the toggle is hidden via policy. The upcoming changes will not require any administrative action during the rollout. Microsoft says administrators, if they want to, can notify users about the upcoming change; update their internal documentation; and review the documentation for Admin control over migration. The firm said that after the rollout, policy controls will become available through Group Policy Objects (GPO), Cloud Policy, and Intune. In terms of compatibility with other platforms, the new Outlook for Windows will be compatible, including with Mac. Users will still be able to access their accounts normally through the Outlook app available for macOS or via the Outlook web app.
    • Might be a joke to a shortsighted person, but that's the minimum for ANY EV to be as reliable and hassle-free as my '12 Highlander Hybrid. Sure my Hybrid gets even less at 372mi (in the winter) - 455mi (in the summer) on a tank, but at least I can refill it for another 372mi-455mi in merely 10 minutes or less without ANY of the following worries: Without all of that peace of mind, an EV will require 800mi/charge to give similar peace of mind for me. I ain't buying and worrying about separate vehicles just for city commuting and long road trips. That's a total waste of cash IMO. My Highlander Hybrid perfectly suits both use cases, and for any EV to be worth my consideration, they'll have to suit them too. Maybe for you that solely resides in 1 city and never travel by road it makes no sense, but for anyone with experience of traveling across cities here in Canada, it makes total sense given the long distances. I ain't suddenly adding another 1hr to my road trip just for EVs, mere coffee and snacks suffice for my trips (~800km), and those certainly don't take me 1hr.
    • Microsoft will reportedly hit Xbox division with a massive wave of layoffs soon by Pulasthi Ariyasinghe It was only a few days ago that a report came out regarding a mass layoff wave at Microsoft. While that report only mentioned sales staff that were to be affected, now, another report has landed that mentions the company's Xbox gaming division being another layoff target. According to Bloomberg's Jason Schreier, Microsoft has another major round of layoffs planned for the Xbox division as it reorganizes the company ahead of the new fiscal year. This unfortunate news for many staff will be announced as soon as next week, per the report Bloomberg has gained the information from sources that had asked not to be named, who had said that managers inside Xbox are already expecting the job cuts to take effect soon. While no specific developers, divisions, or numbers were mentioned, "substantial cuts" are reportedly incoming as a part of this change. The gaming division of Microsoft has gone through multiple layoff waves in recent years. Late 2024 saw 650 jobs being cut from Xbox corporate and supporting teams. Earlier in the same year, over 1,900 staff from Activision Blizzard, ZeniMax, and Xbox development teams were let go from Microsoft. Microsoft has released a number of high-profile first games as of late, including Doom: The Dark Ages, Avowed, and Indiana Jones and the Great Circle, and is also pursuing a multi-platform strategy that has Xbox games releasing on PlayStation platforms. It has also confirmed next-gen Xbox hardware is now in development and recently unveiled a first-ever official Xbox handheld initiative. If the latest report turns out to be accurate, we should have an official announcement sometime next week. Microsoft's current fiscal year is slated to end on June 30.
    • LibreOffice is fine for individual use, but its collaboration tools are far behind Office 365.
    • First thing I wondered as well. I miss the old color. I always thought it was nice how each app had its own color. Then they go and take 2 of the most commonly used apps and give them the same color.
  • Recent Achievements

    • Week One Done
      Sharon dixon earned a badge
      Week One Done
    • Dedicated
      Parallax Abstraction earned a badge
      Dedicated
    • First Post
      956400 earned a badge
      First Post
    • Week One Done
      davidfegan earned a badge
      Week One Done
    • First Post
      Ainajohn earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      593
    2. 2
      ATLien_0
      223
    3. 3
      Michael Scrip
      170
    4. 4
      +FloatingFatMan
      152
    5. 5
      Som
      135
  • Tell a friend

    Love Neowin? Tell a friend!