marin
12 years agoFrequent Contributor
Multiple ODT declaration scripts per project
Hello all,
I wonder if it is possible to have muliple ODT object declaration scripts per project?
What I'd like to achieve is to have dedicated classes and data per test run, but it seems as if only one, same script is being called when ODT.Data.Run() is invoked.
Situation in screenshot:
although I am calling the ODT.Data.Run() method from scripts _30001_Main and _30002_Main, it will always be the script _30001_ODT that is being run when ODT.Data.Run() is invoked:
Is there a way to distinguish which script will be run by calling ODT.Data.Run()?
Many thanks for any hints.
Marin
I wonder if it is possible to have muliple ODT object declaration scripts per project?
What I'd like to achieve is to have dedicated classes and data per test run, but it seems as if only one, same script is being called when ODT.Data.Run() is invoked.
Situation in screenshot:
although I am calling the ODT.Data.Run() method from scripts _30001_Main and _30002_Main, it will always be the script _30001_ODT that is being run when ODT.Data.Run() is invoked:
try
{
//Run the test
ODT.Data.Run();
}
Is there a way to distinguish which script will be run by calling ODT.Data.Run()?
Many thanks for any hints.
Marin
Hi Marin,
The "How to Create, Modify and Delete Methods" article contains a description of how to specify a script routine to be run for a method. Is this what you were looking for?