Page 1 of 1

Automation

Posted: Fri Sep 09, 2011 8:17 pm
by omayer
Need some idea about building an automation framework with .net,cold fusion and flash technology apps.

Thanks in advance.

Re: Automation

Posted: Wed Sep 21, 2011 9:25 am
by sdaly
I'm not sure the exact info you want, but here is what I do when starting out on a new framework....

First you will prob want to create a shared library (or code modules if using Studio) for all the common things you need to do while running tests. This can vary depending on the project, for example we have a shared dll which contains classes for working with databases, xml, the registry, disks, processes, services etc - because our apps involve manipulating these so we need to be able to validate.

You should then break down what apps you are trying to test, are the apps all separate and standalone? If so then create a solution or separate project for each app to test. If multiple apps are part of the same product being tested, then create one solution or project. You can then start to break down the product into the key areas, maybe create a class for each of these areas - for example FlexSite for the flex site and CFSite for the ColdFusion site. In each of those classes then you can write methods such as LogOn(), LofOff() etc. As these classes grow, you may wish to refactor them into finer classes or use namespaces to split the functionality into logical areas.

Hope that helps!

Re: Automation

Posted: Tue Sep 27, 2011 7:50 pm
by omayer
Thank you very much for the input

Re: Automation

Posted: Wed Dec 07, 2011 8:48 am
by Leonard
The Lightweight Test Automation Framework for ASP.NET was developed and is currently used by the ASP.NET QA Team to automate regression tests for the product. It is designed to run within an ASP.NET application.
Tests can be written in any .NET Framework language. They use an API to manipulate and verify the DOM of the browser. The Lightweight Test Automation Framework supports running tests in Microsoft Internet Explorer, Mozilla Firefox, Apple Safari, and Opera.

Please see the Lightweight Test Automation Framework Road Map for more information about the team's plan for future releases.

The June Update release contains both the Lightweight Test Automation Framework for ASP.NET source code and samples that show how the ASP.NET QA team creates automated tests. The release is unsupported, and is provided as is.