View Full Version : Suggest tools for writing test cases/test scripts
platlab
05-04-2005, 11:33 PM
I want to know what tools are used to help writing test cases/test
scripts? I have to write test cases for a web-based system, and test
script for each test case. Each test script consists of a no. of steps
such as:
[Step no.] [Procedure] [Expected result]
1 Input "ABC" in field "Name"
2 Input "DEF" in field "Password"
3 Press "Submit" button Jump to the main page
.......
Each test script is quite long, so it is time consuming to write even a
test script.
I tried functional web testing tools, but the outputted scripts are
rather "technical" (i.e. each field name is HTML component name and is
not readable by humans). Next, most of these tools cannot export such
scripts to a text file. I prefer a tool that generates the above style
scripts. The tool is not necessary a browser recording tool.
shelnew
05-05-2005, 01:45 AM
We write modular test scripts that when combined together form a test
procedure - test procedures are formed together in test sets
We started writing our scripts manually, but the test case management
started to become unmanageable so we transferred all our scripts to Test
Director.
Our modular approach is defined as follows:
Assume we have system with an interface 'wizard' that has 7 pages. Only the
first page is dynamic and the remaining 6 are static and always present.
We wrote 7 test procedures and 13 test cases - one test case for each
dynamic page and a call to each of the static page test cases. This
significantly helped reduce our overhead. We use datasheets to input values
into each field using parameters instead of 'hard coding' them in the
script. This makes them more reusable for almost any scenario.
when we migrated to Mercury, we also developed modular foundational test
cases for object data types (especially useful for GUI, boundary, data
validation). One case was developed for each data type and a parameter was
set for the object. A test procedure is built and there is a call to the FTC
for the object under test - whenever changes are made to the FTC, it
auto-replicates and updates are procedures in which it is referenced.
Test Director allows us to print out test cases, but we find it easier to
manage them within the tool.
HTH
<platlab@newsgroup.com.hk> wrote in message
news:1115278393.872050.288630@o13g2000cwo.googlegroups.com...I want to know what tools are used to help writing test cases/test scripts? I have to write test cases for a web-based system, and test script for each test case. Each test script consists of a no. of steps such as: [Step no.] [Procedure] [Expected result] 1 Input "ABC" in field "Name" 2 Input "DEF" in field "Password" 3 Press "Submit" button Jump to the main page ...... Each test script is quite long, so it is time consuming to write even a test script. I tried functional web testing tools, but the outputted scripts are rather "technical" (i.e. each field name is HTML component name and is not readable by humans). Next, most of these tools cannot export such scripts to a text file. I prefer a tool that generates the above style scripts. The tool is not necessary a browser recording tool.
Phlip
05-05-2005, 06:01 AM
platlab wrote:
I want to know what tools are used to help writing test cases/test scripts? I have to write test cases for a web-based system, and test script for each test case. Each test script consists of a no. of steps such as: [Step no.] [Procedure] [Expected result] 1 Input "ABC" in field "Name" 2 Input "DEF" in field "Password" 3 Press "Submit" button Jump to the main page ......
http://fitnesse.org
It has fixtures that reach out to web sites. Also, you can treat each page
as a requirements document.
However, you should also use it to point tests at the business layer under
the web skin. That disintermediates, and helps
--
Phlip
http://www.c2.com/cgi/wiki?ZeekLand
Guest
05-05-2005, 06:19 PM
We also use the same process as Shelnew. I just want to post additional
info regarding TestDirector.
The test cases menioned above can be mapped to a business/technical
requirement. This will help management to see the coverage of the test
scipts created if the requirements are met, but you have to upload the
Business/Technical requirement in TD in order to map the test cases
(procedures)
TD also offers reporting capabilities and Defect Management.
Regards,
Chris
MyLounge.com Site Map
Forum:
Cars,
Cell Phone,
Database,
Games,
Home Improvement,
IT,
Music,
School,
Sports,
Web Design,
Web Server,
Weight Loss
The MyLounge.com forum is intended for informational use only and should not
be relied upon and is not a substitute for any advice. The information contained
on MyLounge.com are opinions and suggestions of members and is not a representation
of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for
the accuracy, completeness or usefulness of any postings or the qualifications
of any person responding. Please consult a expert or seek the services of an
attorney in your area for more accuracy on your specific situation. Please note
that our forums also serve as mirrors to Usenet newsgroups. Many posts you see
on our forums are made by newsgroup users who may not be members of MyLounge.com
Term of Service
vBulletin v3.0.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.