Forum Discussion

alibaba82's avatar
alibaba82
Super Contributor
16 years ago

Running test in Parallel question

Hello,

Lets say I have a test suite with 10 test cases. Each of the testcase starts with a teststep with queries the current system time. The requirement is that testcases can pass the same system time.

If I run them in parallel, they will get the same system Time stamp. Is there any property that each testcase has that I can maybe add to the time stamp so that each of them is unique.

so something like
time = systemtime + testId
e.g: 5:50 = 5:49 +1

I am open to other suggestions.

Thanks

Ali

1 Reply

  • omatzura's avatar
    omatzura
    Super Contributor
    Hi Ali,

    does the value still have to be a valid time after you augment it? (Otherwise you could just add the name of the TestCase or something..)

    /Ole