Forum Discussion

roczhang's avatar
14 years ago

We need one way to reference the code if they are share the

When I write test cases, each test case need to construct one signature for authentication.
All the test case share the same groovy script to generate the signature.
But the problem is that all test case, each one has its own copy the same code. When the code need to update or change, it is crazy!!!!
It's absolutely stupid and Never allow.


We need one way to reference the code if they are share the same code.

1 Reply

  • M_McDonald's avatar
    M_McDonald
    Super Contributor
    This feature exists in the Pro version, where you can create external script libraries.

    A couple other approaches:

    1) Create a separate test case with the Groovy script that writes test case properties, then call it from your test cases ('Run TestCase' test step.)
    2) See this topic http://www.eviware.com/forum/viewtopic.php?t=13101