0 Replies Latest reply on Oct 14, 2013 1:10 PM by sameer.gupta2387

    Issue while running a script through command file for a shared repository

    sameer.gupta2387

      I have a shared repository which contains few scripts I want to execute using Command line as below:-

      “C:\OracleATS\openScript\runScript.bat \\10.184.82.45\SharedRepository\Mysharedscript\Mysharedscript.jwg”

      On executing the script from the system where shared repository exists, it’s working fine and is completed successfully whereas while running the same script from other system it’s not proceeding forward after Initialization.

      Please find script code below.

       

      Line after which script is not moving forward after running through other system is :-

      18:07:50,376 INFO  [1] Finished VU 1 for script Mysharedscript

       

      Code =>

      (its very simple with just an info command)


      import oracle.oats.scripting.modules.basic.api.*;

      import oracle.oats.scripting.modules.browser.api.*;

      import oracle.oats.scripting.modules.functionalTest.api.*;

      import oracle.oats.scripting.modules.utilities.api.*;

      import oracle.oats.scripting.modules.utilities.api.sql.*;

      import oracle.oats.scripting.modules.utilities.api.xml.*;

      import oracle.oats.scripting.modules.utilities.api.file.*;

      import oracle.oats.scripting.modules.webdom.api.*;

       

      public class script extends IteratingVUserScript {

            @ScriptService oracle.oats.scripting.modules.utilities.api.UtilitiesService utilities;

            @ScriptService oracle.oats.scripting.modules.browser.api.BrowserService browser;

            @ScriptService oracle.oats.scripting.modules.functionalTest.api.FunctionalTestService ft;

            @ScriptService oracle.oats.scripting.modules.webdom.api.WebDomService web;

           

            public void initialize() throws Exception {

            }

                 

            /**

             * Add code to be executed each iteration for this virtual user.

             */

            public void run() throws Exception {

                  info("executed");

            }

           

            public void finish() throws Exception {

            }

      }