Can a project call another project and pass it parameters?
I have created a framework of sorts for my AUT, a library of somewhat universal scripts for common actions:
- Click Option in file menu (File, New)
- Set Form Field value (Customer #, 12345)
etc, etc
I have done this to make the code managable, and set things up such that if the AUT changes, I only need to update the framework rather than hundreds of test scripts.
I have a project titled "Create Service Order" which calls on these scripts to run through the process of creating a service order etc.
Now what I need is a higher level project to call on sub projects to test entire end to end processes
eg.
- Call Project "Create Service Order" with parameters "Customer #", "machine #", etc
- Call Project "Invoice Service Order" with parameters "Order #", etc
etc, etc
I know I could make my project "Create Service Order" into a script instead, and only make projects for "End to End" tests, but I would preffer not to so things are more manageable. It would be nice to be able to maintain the individual processes using the GUI rather than purely by code.
Can this be done?
Can a project call on other projects and pass them parameters?
Thanks!
- James
We have something similar. Just make another keyword test called Create Service Order with all the little ones under it. Then you can copy the one keyword test around instead of the many.