O'Reilly logo

Software Testing using Visual Studio 2012 by Satheesh Kumar. N, Subashni. S

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Coded web test

The coded web test generates the code for the sequence of web-test requests. The main advantage is to add more complex features such as looping, adding more requests, or adding any additional logic to the test using the .NET programming languages C# and Visual Basic. The recorded web test is simple, but the coded web test gives more flexibility.

It is suggested practice that the web test should be recorded and then converted to coded web test by defining the data sources, extraction rules, validation rules, and binding the form post fields to the data source. This can let the tool generate the basic code and concentrate on customizing it with additional features.

The other advantage of coded tests is full control of the test execution. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required