2 Replies Latest reply on Feb 1, 2013 9:14 AM by Deepu Muraleedharan

    Not able to record the Oracle Forms Application Objects in Open Script

      Hi All

      I was trying to record the Oracle Forms Application in OpenScript tool.However the tool is not recognising the Forms Object.

      Please find the step followed

      1.Launched IE and Logged into the Forms Application.
      2.Tool recorded only the Browser activities..

      Pre-requisite Settings made

      1. Enabled the Tools-->OpenScript Preference-->OpenScript-->Record-->Oracle EBS/Forms Functional
      2.Under Oracle EBS/Forms Functional-General Tab-->Selected all the Checkbox under Miscellaneous frame.

      Please advise me how to record the Forms Objects in Open Script

      Please find the recorded script below.

      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.*;
      import oracle.oats.scripting.modules.formsFT.api.*;
      import oracle.oats.scripting.modules.applet.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;
      @ScriptService oracle.oats.scripting.modules.applet.api.AppletService applet;
      @ScriptService oracle.oats.scripting.modules.formsFT.api.FormsService forms;

      public void initialize() throws Exception {
      * Add code to be executed each iteration for this virtual user.
      public void run() throws Exception {
      beginStep("[1] Sign In", 0);
      .window(37, "{{obj.ObjectsInfo.web_window_0_1}}")
      web.window(39, "{{obj.ObjectsInfo.web_window_0}}").capturePage();
      web.textBox(40, "{{obj.ObjectsInfo.web_input_text_c2}}").click();
      web.textBox(41, "{{obj.ObjectsInfo.web_input_text_c2}}").setText(
      web.textBox(42, "{{obj.ObjectsInfo.web_input_text_c2}}").pressTab();
      web.textBox(43, "{{obj.ObjectsInfo.web_input_password_c3}}")
      web.textBox(44, "{{obj.ObjectsInfo.web_input_password_c3}}")
      web.button(45, "{{obj.ObjectsInfo.web_input_submit_Login}}")
      beginStep("[2] COMS - WebUtil", 0);
      web.window(46, "{{obj.ObjectsInfo.web_window_0_2}}").capturePage();


      public void finish() throws Exception {



      Edited by: 974769 on Dec 3, 2012 11:24 PM
        • 1. Re: Not able to record the Oracle Forms Application Objects in Open Script
          Gunjan Ahuja

          Did you selected component as Oracle EBS/Forms before proceeding with your recordings?

          Pls confirm

          • 2. Re: Not able to record the Oracle Forms Application Objects in Open Script
            Deepu Muraleedharan

            Select 'Force HTTP Recording' in OpenScript Preference, ie open OpenScript Preference, the expand Record node, then select Oracle EBS/Forms Load, Then check checkbox 'Force HTTP Recording' true.

            If it doesnt work try following:

            Dont install a new java version. Openscript comes along with java.

            Go to OracleATS intalled folder, open openscript, you can see some batch files there. Open 'UninstallBrowserHelpers.bat', after that open 'InstallBrowserHelpers.bat'. Then open 'HelperService' folder in openScript. Then inside 'bin' open 'UninstallHelperService.bat' and 'InstallHelperService.bat' one after another.

            Then try to record forms.

            See console whether jar files are been downloaded during recording of forms.

            Another solution is there, but not a correct procedure.

            If you have another machine with OATS working fine with forms, then go to run, type %temp%. Copy 3 folders - OpenScript_FormsFT, OpenScript_Applet, OatsTempRTCache and paste it to %temp% in your machine(machine in which forms are not get recorded)

            Deepu M