Desigining Automation Framework using QTP and Quality Center
I have to design Automation Framework for a web-based application using QTP and Quality Center (QC).
Has anyone created Automation Framework using QTP and QC? If yes, can you share your ideas/tips/docs with me?
Also, if anyone has any document, tool, article, which talks about designing Automation Frameworks, please send it to me.
Re: Desigining Automation Framework using QTP and Quality Center
The automation frame work can be customized as based on the complexity of the business requirements you use. You can use any frame work as a template to determine which would best suit your needs !
Automation Framework is a term used in general used to describe the method you organize your automation. How you manage your scripts and efforts to increase reusability of your scripts. Its a structure to increase maintainability of your automation scripts.
It's particularly useful when you have to automate multiple inter-dependant applications and if you have multiple people working in your automation team. It also includes naming conventions and coding standards for scripts.
Having a automation framework, considerably increases the maintainability and manageability of your automation scripts.
Automation framework is a process or best practices or guidelines to develop the automation scripts and reduce maintenance. This framework completely depends on the AUT. types of testing and tools you are using. Its very hard to provide generalized framework for all AUTs.
Sample automation frameworks with QTP
1) Creating scripts with shared repository
2) Creating Business components in QC and creating scripts out of it.
3) Creating scripts using DP and function libraries and developing scripts on top of it
4) Creating modular scripts and driving scripts from external data.
Again, you can use any framework that best suits your environment.
Creating Data Setups and user setups before.
a) Select only required addins
b) select Shared OR private repositories
c) Change Active Screen level to low
d) Do not use Smart Identification
e) Use DP where ever QTP has problem in recognizing the objects.
f) Use comments for every scripts
g) Use Global variables and call them in the start of the script.
Success is the ability to go from one failure to another with no loss of enthusiasm.
~ Winston Churchill ~