writing script coverage

No Comments




Webmaster Toolkit v20
Webmaster Toolkit v20
Paypal   US $9.95
Unix System 5 by Mark G Sobell 1994 Paperback Su
Unix System 5 by Mark G Sobell 1994 Paperback Su
Paypal   US $4.99
Powered by phpBay Pro

writing script coverage

Do More With Functional Testing

Functional Testing has always been an activity done by Test Engineers using Functional Testing tools like QTP from HP/Mercury, SilkTest from Borland/Segue, Functional Tester from IBM/Rational, …

But time is changing – so is Functional Testing – and the things you can do with it. In this article I talk about:
• The Past – Functional Testing done by Testers
• The Present – More and More Functional Testing done by Developers with the help of Frameworks
• The Future - Extend Functional Testing with Transactional Tracing to improve Root Cause Analysis and Automate Architecture Validation

The Past: Traditional Functional Testing

All those tools traditionally had their record/replay approach by recording the interactions with the User Interface that should be tested as well as recording the control structure of the windows/controls that were tested. With this separation it was easier to maintain scripts in case the layout of the application under test changed. You only had to update the description of the UI and not each test script that used that description.

The drawback of all these tools was that it required a special set of skills to do Functional Testing. Each tool came with its more or less proprietary testing language as well as IDE and runtime. These were some of the reasons developers usually didn’t get in-touch with functional testing. Due to the lack of exposure developers also frequently questioned the results of functional testing tools as they were presented to them by the Testing Engineers leading to built up tension between the testing and development teams.

The Present: The Functional Testing world is changing to …

Over the past couple of years – greatly driven by the Open Source Community as I believe – we could see a move towards bringing Functional Testing closer to the developers. The approach taken was to provide testing frameworks that allow writing functional tests in Java, .NET, JavaScript, … just as you would write your unit tests using frameworks like JUnit or NUnit. The frameworks are easy to use and provide support for the major browsers, RIA frameworks and desktop UI technologies.

The list of available frameworks is growing - a lot of them are free, e.g.: Selenium, WebAii, WindMill

Benefits of Functional Testing Frameworks

I see multiple benefits of these frameworks:
• Developers can now easily write functional tests besides only writing unit tests
• Functional tests can cover test areas where it is hard to write unit tests for
• Functional tests can easily be integrated in your Continuous Integration process -> execute them as you execute your unit tests
• Developers not only think about how components can be made testable for unit testing – but also how the UI can be made testable for Functional Testing
• BETTER TEST COVERAGE
• Reuse tests for load-testing and production monitoring

The Future: Go beyond Functional Testing with Transactional Tracing

Functional Testing in the hands of developers promises to bring us more tests that can easily be integrated in the existing automation processes like Continuous Integration. So – is there anything missing? YES THERE IS
• Root Cause Analysis: you still have to sit down and figure out why certain tests failed. This often requires manual re-runs of the tests with an attached debugger to track down the problem. Too often the problems cannot be reproduced on the developers machine but only on the test machine that was setup with a special environment – which might just not be available right now
• Architecture Validation: functional testing as well as unit testing only verifies the functional correctness of the tested components. It does not verify if the underlying code is efficient and scalable when executed under load or in production like environments

The next evolutionary step for Functional Testing is to combine Functional Testing with Transactional Tracing. Analyzing the executed transactions from end-to-end down to the invoked components, across tiers and runtime boundaries allows you to

Speed up Root Cause Analysis
• you get the dynamic execution path of the tested code as part of the functional test result for each functional test step
• no need to manually re-run tests as all code-level execution results have already been collected on the target machine where it happened
• no need to debug through code as the transactional trace contains method level information including execution time, arguments, exceptions, …

Automate Architecture Validation
• you can analyze the dynamic code behavior in terms of e.g.: number of sql-queries, number of remoting roundtrips, memory allocations, …
• you can analyze which components really interact with each other and if the dynamic execution matches what is on the blueprint
• Automating the analysis of these “Architectural Rules” allows you to let test runs fail in case certain rules have been violated even though the application might be functionally correct
• identify problems early on that would later cause problems under load or in production

About the Author

www.dynaTrace.com is the leader in continuous APM for business-critical Java/.NET applications. We enable lifecycle stakeholders, development, QA and production, to quickly find problems & coordinate resolution, speeding MTTR by 10x.

Script Writing & Filmmaking : How to Make a Music Video

Webmaster Toolkit v20
Webmaster Toolkit v20
Paypal   US $9.95
Unix System 5 by Mark G Sobell 1994 Paperback Su
Unix System 5 by Mark G Sobell 1994 Paperback Su
Paypal   US $4.99
QTP WINRUNNERLOADRUNNER TD SILK SQA TRAINING SET
QTP WINRUNNERLOADRUNNER TD SILK SQA TRAINING SET
Paypal   US $20.12
Windows XP Inside Out
Windows XP Inside Out
Paypal   US $7.99
ILLUS AUTOCAD 2004QUICK REFER GDE
ILLUS AUTOCAD 2004QUICK REFER GDE
Paypal   US $7.95
Dr Doctor Who Official Magazine Issue 382 David Tennant
Dr Doctor Who Official Magazine Issue 382 David Tennant
Paypal   US $19.95
Practical Guide to the UNIX System A 3rd Edition Ma
Practical Guide to the UNIX System A 3rd Edition Ma
Paypal   US $5.00
Advanced Ajax Architecture and Best Practices
Advanced Ajax Architecture and Best Practices
Paypal   US $9.35
The Code of Kings Language of 7 Sacred Maya Temple
The Code of Kings Language of 7 Sacred Maya Temple
Paypal   US $30.00
Beginning Mac OSX Programming by Michael Trent Drew M
Beginning Mac OSX Programming by Michael Trent Drew M
Paypal   US $3.98
Linux System Administration Second Edition Craig Hunt
Linux System Administration Second Edition Craig Hunt
Paypal   US $13.70
Writing for Television Radio and New Media with In
Writing for Television Radio and New Media with In
Paypal   US $19.99
Real World Adobe Indesign Cs 2004
Real World Adobe Indesign Cs 2004
Paypal   US $19.90
1968 TV Guide High Chaparral
1968 TV Guide High Chaparral
Paypal   US $6.99
Just Enough Software Test Automation Daniel J Mosley
Just Enough Software Test Automation Daniel J Mosley
   US $18.92
8x10 HAND COLOR TINTED PHOTO MARTIN LUTHER KING JR
8x10 HAND COLOR TINTED PHOTO MARTIN LUTHER KING JR
Paypal   US $14.50
Ubuntu Unleashed NEW by Andrew Hudson
Ubuntu Unleashed NEW by Andrew Hudson
Paypal   US $66.14
Red Hat Linux Networking and System Administration W
Red Hat Linux Networking and System Administration W
Paypal   US $18.69
Katharine HEPBURN Spencer TRACY 1957 still DESK SET
Katharine HEPBURN Spencer TRACY 1957 still DESK SET
Paypal   US $18.00
Brand NEW LEARN JAVASCRIPT IN A WEEKEND w CD Ed 2
Brand NEW LEARN JAVASCRIPT IN A WEEKEND w CD Ed 2
Paypal   US $59.99
Internet Secrets Secrets IDG by Levine John R
Internet Secrets Secrets IDG by Levine John R
Paypal   US $9.94
Linux System Administration NEW by Vicki Stanfield
Linux System Administration NEW by Vicki Stanfield
Paypal   US $62.92
Access 2003 All in One Desk Reference for Dummies
Access 2003 All in One Desk Reference for Dummies
Paypal   US $7.60
CREATIVE SPIRIT
CREATIVE SPIRIT
Paypal   US $55.65
REAL WORLD ABODE IN DESIGN CS
REAL WORLD ABODE IN DESIGN CS
Paypal   US $2.95
LIONS FOR LAMBS DVD NEW
LIONS FOR LAMBS DVD NEW
Paypal   US $12.31
Asterisk The Future of Telephony The Future of Teleph
Asterisk The Future of Telephony The Future of Teleph
Paypal   US $51.90
4Wire Joint FLEX Mohair STEIFF TEDDY Caramel 1950s
4Wire Joint FLEX Mohair STEIFF TEDDY Caramel 1950s
Paypal   US $150.00
STEIFF Sail Dinghy BOATSWAIN BEAR 2039 3500 Sets 1996
STEIFF Sail Dinghy BOATSWAIN BEAR 2039 3500 Sets 1996
Paypal   US $195.00
Red Hat Linux 72 Bible Unlimited Edition With CD ROM
Red Hat Linux 72 Bible Unlimited Edition With CD ROM
Paypal   US $5.00
The Calligraphers Companion
The Calligraphers Companion
Paypal   US $5.00
A Practical Guide to Fedora and Red Hat Enterprise Linu
A Practical Guide to Fedora and Red Hat Enterprise Linu
Paypal   US $86.81
sed awk NEW by Arnold Robbins
sed awk NEW by Arnold Robbins
Paypal   US $39.95
Microsoft Windows Vista Unleashed NEW by Paul McFedries
Microsoft Windows Vista Unleashed NEW by Paul McFedries
Paypal   US $64.76
The Creative Spirit by Stephanie Arnold 2003 Paper
The Creative Spirit by Stephanie Arnold 2003 Paper
Paypal   US $8.88
Essential SNMP NEW by Douglas R Mauro
Essential SNMP NEW by Douglas R Mauro
Paypal   US $53.73
The Bedford Introduction to Drama NEW by Lee A Jacobus
The Bedford Introduction to Drama NEW by Lee A Jacobus
Paypal   US $177.76
500 Ways to Beat the Hollywood Script Reader Writing t
500 Ways to Beat the Hollywood Script Reader Writing t
Paypal   US $8.50
Advanced Macromedia COLDFUSION MX 7 App Develop NEW
Advanced Macromedia COLDFUSION MX 7 App Develop NEW
Paypal   US $9.99
RELOOP RHP 10 HEADPHONES CERAMIC MINT DJ STUDIO RHP10
RELOOP RHP 10 HEADPHONES CERAMIC MINT DJ STUDIO RHP10
Paypal   US $88.99
Powered by phpBay Pro