phil94gullick
13 years agoNew Contributor
Calling numerous small scripts to create one big script
Hi all,
I am currently in the process of getting to grips with TestComplete, the problem I face is:
My company want numerous small test scripts that tests one thing, but also want a big test that calls each small test.
Is there a way to do with without copy and pasting the whole code?
I tried using 'USEUNIT but it didn't work.
So to picture this for you I have(for example) two folders:
Small Scripts:
- Test A
- Test B
- Test C
- Test D
Big Script:
Call + Run Test A
Call + Run Test B
Call + Run Test C
Call + Run Test D
Preferably one liners for readability, and this way I can control what runs when, and no duplicate code.
Cheers!
Apologies for the simplicity of this.
I am currently in the process of getting to grips with TestComplete, the problem I face is:
My company want numerous small test scripts that tests one thing, but also want a big test that calls each small test.
Is there a way to do with without copy and pasting the whole code?
I tried using 'USEUNIT but it didn't work.
So to picture this for you I have(for example) two folders:
Small Scripts:
- Test A
- Test B
- Test C
- Test D
Big Script:
Call + Run Test A
Call + Run Test B
Call + Run Test C
Call + Run Test D
Preferably one liners for readability, and this way I can control what runs when, and no duplicate code.
Cheers!
Apologies for the simplicity of this.