The online community for software testing & quality assurance professionals
   
Active Topics Today's Topics
Sponsors:
Lost Password?

Home
BetaSoft
Jobs
Training
News
Links
Downloads

News Group:
software.testing


Testing
Automation
Performance
Engineering
Miscellaneous
Statistics
Poll
  QA Forums
  Automated Testing
  Is automated testing the answer? (Page 1)

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone!
This topic is 2 pages long:   1  2 
next newest topic | next oldest topic
Author Topic:   Is automated testing the answer?
cnote
Member

Posts: 7
Registered: Aug 2002

posted 10-20-2002 07:06 AM     Click Here to See the Profile for cnote   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by cnote
I have currently been thrown into my company's testing team. The base of our current testing efforts consist of manual tests driven by test scripts written by myself. I am currently being pushed towards an automated testing program by my superiors whom do not even unit test their own code. I am responsible for testing a billing software program with an oracle 9i backend written in pl/sql. I have researched many testing tools yet, without having any automated testing experience any guidance would be helpful and appreciated. I see flexibility of the tool to be the key in its success.

------------------

IP Logged

jimhazen
Member

Posts: 63
Registered: Jan 2002

posted 10-20-2002 04:22 PM     Click Here to See the Profile for jimhazen   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by jimhazen
CNote,
Flexibility in the tool is not the answer. The answer is understanding and support by management for automation of testing. The tool will not be a silver bullet that will solve all your problems and make your testing go faster. Quite the opposite in the beginning, which is why a lot of automation projects fail. Learn and live this mantra: "automation is not automagic"!

Misconception of what automation is and how it can be beneficial is the biggest problem anyone faces. A proper expectation must be set with management and other affected parties (development and marketing). The best way to explain it is that automation needs to be treated just like regular application development. Even if you go and get one of the best test tools and add on a Keyword driven library you will have development time to build the data sets, driver scripts, error handling routines, and report engine. Even despite what some of the Keyword library advocates say it will take time.

[It would be beneficial for those of you promoting Keyword driven testing to specify how long it took you to implement this approach the first time.]

This will be on top of time to learn the tools and their functionality. Also, once all this is done you will have maintenance time to consider. Maintaining and debugging scripts is just as time consuming as regular programming, even more at times. But if you plan properly and build your automation system in a step by step process you will have better control.

Another thing to consider is resources allocated (both personel and equipment). You will need someone full time to do this, and have dedicated machines (controlled environment which development & other test staff are not allowed to touch). Doing it as a part time effort and on volatile platforms is just going to make the job more difficult and prone to failure.

Phew!.... I gotta stop here and let some other people chime in. I gotta go pick up a pizza. This is making me hungry.

Remember "automation is not automagic".

Best of luck to ya.

------------------

IP Logged

mk_sunil
unregistered
posted 10-20-2002 11:07 PM         Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by mk_sunil
You have to analyse your application with respect to the automated tools. That means how much percenatge of the tests can be automated? Then you can go through the selection of a list of tools for evaluation. At the end of evaluation you can prepare the comparison document and select the best tool which is satisfying your requirements.
Evaluation should be done on your application so that you will come to know about the help of automation tools for testing your application.

Learning curve of the tool is also one major area you have to consider while evaluation apart from the features ..

------------------

IP Logged

cnote
Member

Posts: 7
Registered: Aug 2002

posted 10-21-2002 05:05 AM     Click Here to See the Profile for cnote   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by cnote
Thank you for your input.

------------------

IP Logged

qasleuth
Member

Posts: 43
Registered: Feb 2002

posted 10-21-2002 09:58 AM     Click Here to See the Profile for qasleuth   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by qasleuth
Cnote,

are you thrusted this job against your will ?? i see a lot of dislike in what you are doing.

------------------

IP Logged

cnote
Member

Posts: 7
Registered: Aug 2002

posted 10-22-2002 11:27 AM     Click Here to See the Profile for cnote   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by cnote
I don't want my frustration to appear as dislike. My company currently does not veiw testing as valuable. Due to this testing salaries are very LOW and we have not been provided a testing DB. Therefore to accurately test is currently impossible. We are incapable of creating valuable testing scripts due to lack of input and output control/analyzation. I view this introduction to the testing world as a learning experience. Once I have laid the ground work for the testing environment at my current location I will take the testing skills I have developed and move on. QAFORUMS has been a vailable source for testing information. Thank you for all your help.

------------------

IP Logged

cnote
Member

Posts: 7
Registered: Aug 2002

posted 10-22-2002 11:29 AM     Click Here to See the Profile for cnote   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by cnote
I don't want my frustration to appear as dislike. My company currently does not veiw testing as valuable. Due to this testing salaries are very LOW and we have not been provided a testing DB. Therefore to accurately test is currently impossible. We are incapable of creating valuable testing scripts due to lack of input and output control/analyzation. I view this introduction to the testing world as a learning experience. Once I have laid the ground work for the testing environment at my current location I will take the testing skills I have developed and move on. QAFORUMS has been a valuable source for testing information. Thank you for all your help.

------------------

IP Logged

qasleuth
Member

Posts: 43
Registered: Feb 2002

posted 10-22-2002 11:42 AM     Click Here to See the Profile for qasleuth   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by qasleuth
Cnote,

Try browsing General Discussion or other areas of this forum, situations like what you are in, "Is the Industry Standard". You will find very few companies who have the "ideal" environment. Look at my posts, we seem to be in the same kind of situation. Size of the company need not necessarily mean it will have better processes.
Would do you mean by "lack of input and output control/analyzation". You as a tester have to create this process, if i understand it correctly.
"we have not been provided a testing DB". Does 'we' mean QA? if it does i understand you have to create your own DB for testing, populate the DB with test data depending on set criteria.

------------------

IP Logged

cnote
Member

Posts: 7
Registered: Aug 2002

posted 10-22-2002 12:40 PM     Click Here to See the Profile for cnote   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by cnote
When I state 'we' the test team has not been granted a DB that is 'off limits' to the rest of the organization. So we may have individuals from support, development, etc. going into the DB and making modifications to the code, data, etc. We are moving in the direction of providing a DB that is soley for testing. This will be a huge move in the right direction. I will be able to generate test scripts with inputs that will become standard because I will be able to reload the DB with the test data set. This in turn will allow me to generate tests to evaluate the changes that are made to the code. Once again please do not view my frustration as dislike.

------------------

IP Logged

qasleuth
Member

Posts: 43
Registered: Feb 2002

posted 10-22-2002 01:16 PM     Click Here to See the Profile for qasleuth   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by qasleuth
Nice to hear that you were successful in getting a DB for testing. I totally understand your frustration, as i am going through a similar project.

------------------

IP Logged

sara5266
New Member

Posts: 3
Registered: Feb 2002

posted 10-23-2002 05:29 AM     Click Here to See the Profile for sara5266   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by sara5266
I am totally in the same boat as you. This advice has also been helpful to me also. I also test a billing program and know Winrunner and have used it a little. But we are now implementing a new billing region from start to finish and my superiors think that automated testing is the answer. They think I can automate on a prototype! I am the only one on my team of 6 with automating experience (and not that much!) so I also have the learning curve. I am now getting facts to back up my stand that I cannot automate this, at least in the beginning.

------------------

IP Logged

witchcrop
Moderator

Posts: 235
Registered: May 2002

posted 10-23-2002 05:53 AM     Click Here to See the Profile for witchcrop   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by witchcrop
quote:
I am now getting facts to back up my stand that I cannot automate this, at least in the beginning.

The widely followed practice of treating Test Automation as the silver bullet still continues However here's something that will help boost your fact gathering.

Lessons in Test Automation : Elfriede Dustin
Success with test automation

Hope this helps

------------------
never say die

IP Logged

igglue
Guru

Posts: 291
Registered: Jan 2002

posted 10-23-2002 07:43 PM     Click Here to See the Profile for igglue   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by igglue
cnote,

You can download Oracle 9i for free and use it leagally for internal development use. All you need is a reasonable P3 or better system with 512megs of RAM. This isn't too bad, since SDRAM is really cheap. (I'm sure you must have 1 MSDN subscription in house? If so, you can use the Win2K server.). If you are even more tight on budget or unix savvy, you can consider going with Linux version (make sure you don't run GNOME, or KDE GUI interface to save tons of memory and processing.).

So you have a Oracle database. Now what's the execuse of the company to not to allow you to copy the database? All you need is to export their database, and import it using the Oracle tool. All you need is enough disk space to export it, and copy it over and to your new space, and you are done. (Make sure you create a new tablespace and user for each one to make it clean...).

Whenever someone says "I can't", or "It's too difficult", I just do it. That is why I have a E250 with 2 gig of ram sitting next to me in the cube running Oracle. This beast used to sit in dev. mgr's office, and it got logged in once in the first year of it's ownership. And they said "We can't, since we need it for performance testing.". Well, I've had it for almost a year, and nobody has ever asked to use it for performance testing. All it took for me was "Can I just borrow it? I promise to return it, when you need it.".

Often, it's easier to ask for forgivness than permission. I live by Steve McConnel's "How to manager your manager" section. 6 months ago, my boss said NO to ant. Last week, he ordered me to use it...

As for testing pl/sql, you can consider using perl. Simply write a 'qx/sqlplus user\/password \@filename', then call a perl DBI module to execute the proper call SQL call to validate the data. If you want, you can even consider using something like JUnit using JDBC. Both of these tools are free, and will be able to easily integrate with build tools, thereby making nightly regression a possibility. This may be a good enough bait to get everyone interested and support your automation effort.

If your company is against automation, then lean toward free tools, that will easily integrate with the build process. Once you get the momentum going, you can get more budget and tools/apis to do more testing.

------------------

IP Logged

cnote
Member

Posts: 7
Registered: Aug 2002

posted 10-24-2002 08:28 AM     Click Here to See the Profile for cnote   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by cnote
Thank for your input. Everyone has been a great help.

------------------

IP Logged

Semantec
Member

Posts: 35
Registered: Feb 2002

posted 10-25-2002 12:32 AM     Click Here to See the Profile for Semantec   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by Semantec Visit Semantec's Homepage!
quote:
Originally posted by cnote:
Thank for your input. Everyone has been a great help.


Actually for unit testing PL/SQL you might consider utPL/SQL - a framework created by one of the greates PL/SQL experts Steven Feuerstein. You can download it from http://oracle.oreilly.com/utplsql/
The problem I see with unit testing is that it should be done mainly from the developers which is a rare case when the testing and QA is not a strategic company enterprise..nevertheless you have to try

------------------

IP Logged


This topic is 2 pages long:   1  2 

All times are PT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic | Top
Post New Topic  Post A Reply
Hop to:

Contact Us | BetaSoft Inc. | Privacy Statement

Copyright © 1997-2003 BetaSoft Inc.


Ultimate Bulletin Board 5.45c