web sites testing with visual studio team system shai raiten sela group

24
Web Sites Testing Web Sites Testing with Visual Studio with Visual Studio Team System Team System Shai Raiten Sela Group http:// blogs.microsoft.co.il/blogs/

Post on 20-Dec-2015

217 views

Category:

Documents


2 download

TRANSCRIPT

Web Sites Testing with Web Sites Testing with Visual Studio Team SystemVisual Studio Team System

Shai RaitenSela Grouphttp://blogs.microsoft.co.il/blogs/shair

AgendaAgenda

• Web Test In Team System• Basic Web Test• Advanced Web Test• Limitations• Q & A• Summary

Web Test In Team SystemWeb Test In Team System

DEMODEMOBasic Web Testing

Validation Rules Validation Rules Verifies the existence of specified text inThe response.

• Form Field• Find Text• Maximum Request Time• Required Attribute Value • Required Tag

DEMODEMOValidation Rule

Data Driven Web TestData Driven Web Test

Combine Data Source To Web Test To Create Correlation

• SQL• XML• CSV• TXT• ODBC

DEMODEMOData Driven Web Test

Extraction / Custom Extraction RulesExtraction / Custom Extraction Rules

Extract text from the response.

• Attribute Value• Form Field • HTTP Header • Regular Expression • Text • Hidden Fields

DEMODEMOExtraction / Custom Extraction Rules

Web Test And Request PluginsWeb Test And Request Plugins

• Check at the Beginning / End of Test

• Check at the Beginning / End of Request

• Write C# code to parse values.

DEMODEMOWeb Test And Request Plugins

Coded Web TestsCoded Web Tests

Add Logic to your Web Test

• Branching

• Looping

• Free Style Code

DEMODEMOCoded Web Tests

• Record on different browsers

• More detailed capture

• Lighter recorder

• Record more then one browser at the same time.

DEMODEMORecord Web Test Using Fiddler Tool

Team BuildTeam Build

LimitationsLimitations

• Functional Testing– Third Party Tools – WaTin, WebAii

• GUI Testing– Third Party Tools

• Silverlight– Unit Test– Web Test Plugins

• Flash

Q & AQ & A

SummarySummary

• Team System Is More Then Development

Environment.

• Easy and Flexible

• Mature Testing Tool

Thank YouThank You

Additional ResourcesAdditional Resources

Team Systemwww.teamsystemrocks.comMSDNhttp://msdn.microsoft.com/teamsystemhttp://msdn.microsoft.com/testingMy Bloghttp://blogs.microsoft.co.il/blogs/shair

© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.

The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after

the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.