Joanne Yang

• 2006-Jul-10 - Automation Test Framework

Recently the project I am working on involves using the E-Tester of Empirix to automate the regression test package.  Duing the project, I've encountered some problems which led me to search for the answers of the following questions. 

 

1. What kind of applications that should be automated?  The best candidates for automation are enterprise applications.  These applications require multiple releases throughout their life cycles. 

 

2. What are the often used automation test frameworks and what are the differences between them?  There are 5 main automation test framework that are adopted by the industry. 

1) Test script modularity framework

2) Test library architecture framework

3) Keyword-driven framework

4) Table-driven framework

5) Hybrid test framework

The main purpose of using these framework is to ensure the resuability, maintainability and scalability of the test scripts/test packages.

 

3.  Which framework should I use?  Based on the characteristics of our web application, I've decided to use the table-driven framework.  The input data are from .txt format data file.  Each script contains its own seperate data file which is called databank file in E-Tester.  This would allow every script to run independently, which satisfies the loose-couple design methodology. 

When there is a need to change some data, only the relevant data file need to be updated. 

 

Reference:

 "Choosing a test automation framework"

http://www-128.ibm.com/developerworks/rational/library/591.html

:: Send to a Friend!

• 2006-Jul-11 - Sounds reasonable...

Posted by whollymindless
It sounds like you've made some good decisions. The most critical thing was to realize that automation is most beneficial when it is re-used. From your blog it seems that this has been a real easy transition for you. Can you share your secrets? I can't tell if I'm just fighting the momentum of history or people really aren't concerned... (or both)

Hope this goes well for you.
Permanent Link

• 2006-Jul-11 - Sometimes it is not that easy...

Posted by JoanneYang
Sorry to say that I don't think we have any secrets. And I would admit that sometimes it is not that easy, especially the test data. But I am glad that I can use the scripts in different test environment for system integration testing and user acceptance testing. In this way I think the automation scripts are reusable. What I did wss I had a data field in the data file to store the URL link. When I want to run the scripts against SIT environment, I enter that SIT URL link in data file. Later on when I want to run the exact same scripts again against the UAT environment, I only need to change the URL link in the data file and scripts stay the same. I think this is very cool...
Permanent Link

• 2006-Jul-12 - Jameleon...

Posted by whollymindless
What you're describing is one of the ideas in a testing tool called Jameleon. The idea is that the actions are independent of the environment (dev, beta, release) and the data may or may not be independent. It might be that you have 3 companies that all run the same software. The title bar may be different but all have the concept of "login", "listItems", "selectItem" and "logout". So why write a different script for each in each environment?

It might be worth a look for you http://jameleon.sf.net I believe.
Permanent Link

• 2006-Jul-15 - Thanks for the suggestion...

Posted by JoanneYang
Yes, we only have one set of scripts which runs on different environment (dev, sit, uat). Since it is web application, the URL link is different for each environment. And that 's why the databank file has to hold the URLs for each different environment.
Thanks for the link of jameleon (http://jameleon.sf.net). It has a lot of information there.
Permanent Link

• 2006-Jul-28 - Good Post !

Posted by aakashvakil
Hey Joanne - This post has been 'help in need' in my case. I have recently started work on my new project which is in QTP and the information on automation strategies is much appreciated. Thanx for sharing this information !
Permanent Link

About Me


«  May 2012  »
MonTueWedThuFriSatSun
 123456
78910111213
14151617181920
21222324252627
28293031 

Links

Home
View my profile
Archives
Friends
Email Me
My Blog's RSS

Books I Read

The Art of Software Testing
Software Testing Fundamentals
Find The Bug

Friends

whollymindless
aakashvakil
michaeljf
Entry 6 of 6
Last Page | Next Page