[ QUOTE ]
Please can anybody tell me how to design automation testi framework. Is there any site which guides for that ...
[/ QUOTE ]
IMO, the design of your framework will be based very much on the type of application that you are attempting to automate. If there is a large amount of form filling / dialog completion, Ian's approach is excellent. If you are dealing with a lot of interactive graphics, custom controls, and other such nasties, be prepared to put in a lot of work yourself. Designing a framework, in many respects, is no different from designing any program; first off, you have to decide what it is going to do. Is your framwork going to be a tool, such as Ians, that enables non-automation people to develop automated tests?, or is it a library that allows automation testers to develop tests more efficiently? Are you going to be testing and re-testing the same app for a long period of time, or do you intend to use this framework to test numerous apps? Is the framework likely to be used by more than one person? etc, etc... I ask these questions, as like designing any program, you first have to understand and document your requirements.
Let's start on the same plane. What do you mean when you say "Framework"? Do you mean the methodology of assembling the automation scripts, the way the tests are arranged or what exactly. Many time we find that we are talking about different things and it only leads to confusion. There are only a couple of approaches that I know of for what I call Automation framework. They refer to the way the automation process operates.
Success is the ability to go from one failure to another with no loss of enthusiasm.
~ Winston Churchill ~