web-testing

Regularly invoking an interactive process (WatiN tests) via Task Scheduler

I'm using a suite of WatiN tests driving IE to do some periodic sanity checking for the purposes of monitoring a site. The suite works fine when I invoke it interactively and/or when I configure the task in Task Scheduler to "Run only when the user is logged on". However, when I set it to "Run whether the user is logged on or not", and...

Can I use Webrat for ASP.NET applications?

Does Webrat require that the web application be written in Ruby/Rails? I'd like to try it for writing tests against an ASP.NET web application. ...

In functional testing, should I compare all tabular data rendered in the browser with the one coming from the DB?

I'm working on a test plan for a website where some tests are taking the following path: Hit the requested URI and get the data rendered inside some table(20 rows per page). Make a database query to get the data that is supposed to be rendered in that table. Compare the 2 data row by row, they should match. Is that a correct way of d...

Selenium locator for <label for="x">

With ASP.NET the tag IDs are pretty volatile so to make my tests more robust I want to locate elements by their label texts. I have played some with WatiN and it does this perfectly but that project seem kind of dead nowadays so I thought I'd look into Selenium as well before I decide on a framework. I have html that looks something lik...

Is there a headless browser for .NET (for automated Web-UI-Tests)?

Is there a headless browser for .NET? I am looking for this in a testing context. Coming from Java I am thinking of something similar to HtmlUnit (http://htmlunit.sourceforge.net/) which itself is the base for different higher level tools like Canoo WebTest or Celerity. I would like to create automated UI tests for web applications in...

How can we monitor/ensure penetration from HTTP Request/communication bucket?

Website security testing is an imp area of testing. How can we ensure the penetration of important info from HTTP request bucket? There are many tools which can show us http request bucket but how can we ensure penetration from it ? What should be techniques to test this area ? ...

Why won't Visual Studio Tester Edition run my web tests?

I created a new test project with web tests as described in Microsoft's documentation here. However, when I try to run a web test, even if it's just a blank test, I get the following error: Request failed: Could not run Web test 'WebTest1' on agent 'MYCOMPUTER': Method not found: 'Void Microsoft.VisualStudio.TestTools.WebTesting.WebT...

what's the best Web testing tool have you found for C#?

I've been investigating a few of them. What I have found so far that seems usable. Windmill Selenium Watin Windmill looks like it has the basics (still not sure if I can write C# unit tests with it) Watin seems awesome with Unit tests.. of the 3, it looks like Selenium is trying to be the most fully featured af the 3 (most recent v...

Web application testing framework to be used by customers

I'm looking for a web application testing framework that is intented to be used by customers. That is, tests will be created by users, not programmers or testers. Thus, no scripting. It has to have some kind of IDE/GUI. Selenium IDE is nice but too basic. The more or less suitable solutions I've found: CubicTest. Seems to be very nice...

Testing: I *want* to test web.config

I want to do some unit testing on one of my projects. This is a web project, and there will only be one copy of this program running aside from development copies. I want to write some unit tests that will use the web.config. I understand that ordinarily, a tester would stub out this external dependency because he wants to test the co...

Are web automation tools right for developing custom load/stress testing tools?

Tools such as WebAii can be used to visit a website, and with a simple loop, in succession. If I code a lot of hits to a site in succession and/or with the ability for custom patterns, is this the same functionality as a load/stress testing tool? Thanks ...

Watir: Need to double click on an element to open custom popup

Hello, I am a newbie in WATIR. The problem I am facing is - The application I am testing has thumbnails (like Windows icons) placed on the page and I need to double click it. On doing that, an custom popup (ajax popup implemented in javascript) will open. The fire_event("ondblclick") is not working for me. I also tried 'click' twice bu...

Visual Studio Web Testing - Are there any good books/videos available?

Hello, I am trying to find a good resource on web and load testing. I'm using Visual Studio 2010 ultimate and, while i'm sure it is too early for much material to be released, i'm hoping there are some good resources for Visual Studio 2008 that are still relevant. While MSDN has some good information I'm looking for something more cohesi...

Best practice to test a web application, regarding domain name and integration with external service (like Amazon S3)

I have run into these problems several times and was never able to find a comfortable solution. Let's say my website has the domain name MyDomain.com. When I run the tests on the test machine (a continuous integration server), I will modify the HOSTS file on this machine so the MyDomain.com is mapped to this local machine instead of the ...

How can I verify occurence of an alert using Microsoft.Web.Testing.Lightweight?

If anyone is using the Microsoft.Web.Testing.Lightweight framework, what's the technique for verifying that an alert has occurred? The documentation on exactly what methods are available and how they work is pretty sparse. It consists mostly of examples, and I can't find any examples that are doing what I'm trying to do. ...

Is there a good web automator/tester for flash?

Hi- I've been looking around for a good web automator (something that can simulate a real web user's experience) for Flash, but none seem to exist. Does anyone know of a good web automator or tester for Flash? ...

Automatic web tester for 404 links?

Is there any test framework or software that can automatically go through a site and find 404 errors from links? ...

Automatic testing of web pages (and generating from use cases by DSL)

Hi, My goal is: Our customers could generate new web-tests. Our continuous integration server makes a test-environment deployment; it should execute the tests against it The test could also be run against some other environment. (Final acceptance tests should be made by the customer, to test fonts etc, but this would be a great pre-...

What is the state of ASP.NET MVC Contrib UI Testing Helpers?

Back in April I was listening to Herding Code episode 77 about MvcContrib. There Eric Hexter announced UI Testing Helpers as a big upcoming feature. Now several months later I was searching the web for any information about UI testing with MvcContrib. Unfortunately I found almost nothing: This sneek peek: http://codepaste.net/cw8ie4 ...

Automation Tool: Which one is preferred to test a web application?

I have to test a web application which uses PHP, Javascript and AJAX. I want to automate the testing using automation tool. I am new at automation tool, but manual testing for the web is a big burden. I will use the tool for functional testing and hopefully, it also can help me for system testing. I have found some of automation tools ...