Visual Studio (VSTS) Automation Testing Tool

VS Test Types: VS 2010 testing tools provide several test types that can be used for specific software testing purposes. Custom Test Types can also be created to meet other testing needs.  VS 2010 supports the following test types “out of the box”:

  • Unit Tests
    • §  Unit tests give developers and testers a quick way to check for logic errors in the methods of classes in C#, Visual Basic .NET, and C++ projects. Unit tests allow the developer to assess the quality of their own code and also provide a security mechanism to reduce regressions when adding new functionality or changing existing functionality (such as when refactoring). An additional feature of Unit Tests is that they can be re-used within Load/Performance tests, providing broad, flexible support for application performance testing.
  •  Web Tests
    • §  A Web Performance test (previously simply called a Web test in VSTS 2005/2008) consists of a series of HTTP requests. Web tests work at the protocol layer by issuing HTTP requests. Web tests do not run JavaScript. However, you can simulate JavaScript actions at runtime by using Web test plug-ins, Web test request plug-ins, extraction rules, or coded Web tests. Web tests are used to test the functionality of Web applications and to test Web applications under load. Web tests are used both in performance tests and stress tests.  You can create Web tests by recording your activities in a browser session.  You can also build Web tests manually by using the Web Test Editor.
  •  Load Tests
    • §  The primary goal of a load test is to simulate many users accessing a server at the same time. When you add Web tests to a load test, you simulate multiple users opening simultaneous connections to a server and making multiple HTTP requests. You can set properties on load tests that broadly apply to the individual Web tests. When you add unit tests to a load test, you exercise the performance of non-Web based server components. An example application of a unit test under load is to test data access model components. Load tests can be used with a set of computers known as a Test Environment (aka Test Rig), which consists of agents and a controller.
  • Coded UI Tests
    • §  Coded UI tests are automated tests of the user interface. These tests provide functional testing of the user interface and validation of user interface controls. Automated UI tests enable you to test to ensure the user interface is functioning correctly. They are quicker to run than manual tests thus can be run more frequently.  A key advantage to these tests is that they use .Net languages (code is generated for C# and VB.Net) against a .Net API, thus organizations can use/re-use familiar skills and existing code to test their apps. This also results in the test team having interchangeable skills with the development team.
  • Manual Tests
    • §  In VS 2005/2008 manual tests are usually in the form of a Word document, in VS2010 this format is deprecated and is replaced by the new Work Item based Test Case already discussed.
  • Generic Tests
    • §  You use generic tests to wrap external programs and tests that were not originally developed for use in the Visual Studio Test Tools.  After you have done this, the generic test is treated by the test engine as any other test type. That is, you can work with generic tests using the Visual Studio Test Tools windows. For example, you can run generic tests from the Test View window and the Test List Editor and you can obtain and publish results from generic tests as from other tests.
  • Ordered Tests
    • §  An ordered test contains other tests that are meant to be run in a specified order. An ordered test appears as a single test in the Test List Editor and the Test View window. Its results appear in a single row in the Test Results window, but you can obtain individual results for each test that was run as a part of the ordered test.

What is QTP?

QTP stands for Quick Test Professional. QTP is the flagship functional automation testing tool from Mercury Interactive now acquired by HP. It is also called as HP Functional Test

Features of QTP:

  • It is an icon based tool, which automates the functional & regression testing of an application
  • QTP is easier to use and implement for both technical & non technical testers in comparison to other functional testing tools available.
  • Quick Test  is the market leader in Functional Automation Tool with over 50% market share
  • QTP’s Scripting Language is VB Script which is easy to use , understand and program
  • Quick Test Professional  enables Business Process Testing (BPT)
  • Supports large pool of  software development environments like SAP , Web , Oracle etc.

W3C Quality Assurance Automation Testing Tool

W3C Quality Assurance Automation Testing Tool was very much useful to test website. It provide web accessibility evaluation tools can significantly reduce the time and effort to evaluate Web sites.

You can test HTML, DHTML, XHTML, MIL, MathML, etc document by using Markup Validator. Link checker will find the issues with link broken, anchors and referenced objects in a Web page, CSS style sheet, or recursively on a whole Web site. For best results, it is recommended to first ensure that the documents checked use Valid (X)HTML Markup and CSS.

CSS Validator use to check to css of the document.

  • Unicorn – W3C’s Unified Validator
  • The MarkUp Validator – Also known as the HTML validator, it helps check Web documents in formats like HTML and XHTML, SVG or MathML.
  • The CSS Validator – validates CSS stylesheets or documents using CSS stylesheets

WAPT Testing Tool Use For Load, Performance and Stress Testing

I have used WAPT testing tool. It is very easy to use and understand automated software testing tool. You  do not required to use programming knowledge. You can pass dynamic data from using tool features.   Powerful GUI based recording capabilities and a no-programming required user interface allows testers to quickly set up even complex test cases. A built-in editor allows users to build tests that can be easily edited to allow for changes in the test cases.

WAPT is a load and stress testing tool for web sites and intranet applications. It provides ways for accurate load simulation, run-time test data generation and more. You can use the task editor to create task or use the built-in recorder to record the actions of a virtual user, which can then be replayed, edited and tested. WAPT can simulate multiple users for each scenario, custom implement delays between requests and dynamically generate test data parameters.The values of request parameters and URIs can be calculated in a number of ways and even be determined by the server response to the previous request. The results are displayed in easy to understand graphical chart displays and reports.

Advanced software testing allows the use of over 300 various editable commands that allow users to create and manage complex scripts easily.