| || |
Changing the seed value and regenerating a datapool programmatica
User Peter Dunkinson (Devtest) - EB (Peter.Dunkinson@vec.vic.gov.au.nospam) posted:
I have a fairly large automated testbed that does regression testing every
day. It uses several datapools. It would help me a great deal if I could
regenerate the pools with different seed values automatically rather than
having to do it manually.
Anyone have any ideas how I might achieve this?
The process is as follows
I get a new build from development every night. That gets automatically
deployed to a machine that hosts the robot. The auto deploy script kicks off
the robot that does a build verification test that takes about an hour and
twenty minutes. when that is finished, the robot does a regression test on
the build to test functionality has not been compromised since yesterdays
build. The regression test uses several datapools created in Test Manager
and as all this runs at night when I'm not there, I want to regenerate these
pools with different seed values 'on the fly'.
Any help is appreciated
Re: Changing the seed value and regenerating a datapool programmatica
User (firstname.lastname@example.org) posted:
I do something similar by generating a long series of random values to a csv
file (but instead of Excel, I wrote a little WinBatch app). I store the last
seed value used in a separate ini file, and then the script uses that to
grab the next seed value from the list, then increments the "last used"
value and saves that into the same file for next time.
SQA Engineer, CVBU - OPL
The opinions expressed herein almost certainly
do not represent those of my employer or any other