Forum Discussion

marin's avatar
marin
Frequent Contributor
12 years ago
Solved

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:





 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 sree,

     

    If you go to Products tab, you can find the Features link for TestExecuteX(X is version you are using). If you click "Features", you are shown with "Features" page. Now observe the no of rows for in the page. The number of rows(for ex: 4) is the no of features your TestExecute has.

     

    So for every instance of TestExecute you open, 4 sessions are created in "Sessions" tab.

     

    If you have 35 TestExecute licenses for 4 features, you should basically have (35*4) entries in the sessions tab is all are used at once.


    In other way, Number of entries in Sessions tab divided by 4 will give you number of licenses actively used.

    #of Licences used = (No of sessions)/(No of sessions created per launch).

    Hope this helps.