Discussions
Categories
- 197.2K All Categories
- 2.5K Data
- 546 Big Data Appliance
- 1.9K Data Science
- 450.8K Databases
- 221.9K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 31 Multilingual Engine
- 552 MySQL Community Space
- 479 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3.1K ORDS, SODA & JSON in the Database
- 555 SQLcl
- 4K SQL Developer Data Modeler
- 187.2K SQL & PL/SQL
- 21.4K SQL Developer
- 296.3K Development
- 17 Developer Projects
- 139 Programming Languages
- 293K Development Tools
- 110 DevOps
- 3.1K QA/Testing
- 646.1K Java
- 28 Java Learning Subscription
- 37K Database Connectivity
- 158 Java Community Process
- 105 Java 25
- 22.1K Java APIs
- 138.2K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 19 Java Essentials
- 162 Java 8 Questions
- 86K Java Programming
- 81 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 205 Java User Groups
- 24 JavaScript - Nashorn
- Programs
- 468 LiveLabs
- 39 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.5K JHeadstart
- 5.7K Other Languages
- 2.3K Chinese
- 175 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 233 Portuguese
Run OATS scripts using Jenkins

Can we run OATS scripts from Jenkins
Best Answer
-
Hi,
Create a free style jenkins job with build Execute Batch Command and use cmd way of OATS script execution.
cd C:\OracleATS\openScript
call runscript.bat " script path to jwg file "
Thanks,
Deepu M
Answers
-
Hi,
Create a free style jenkins job with build Execute Batch Command and use cmd way of OATS script execution.
cd C:\OracleATS\openScript
call runscript.bat " script path to jwg file "
Thanks,
Deepu M
-
Hi ,
While running the OATS script(Batch Command mode) through Jenkins jobs . I am getting below issue
01:14:04,706 INFO [1] Initialized script service "oracle.oats.scripting.modules.applet.api.AppletService" 01:14:04,714 INFO [1] Initialized function library "lib.oracle.oats.scripting.ebs.EBSLibrary" for alias EBSLibrary 01:14:04,727 INFO [1] Initialized function library "lib.ebsqafwk.WEBLABELLIB" for alias WEBLABELLIB 01:14:04,731 INFO [1] Initialized function library "lib.ebsqafwk.WEBTABLEOBJ" for alias WEBTABLEOBJ 01:14:04,732 INFO [1] Initialized function library "lib.ebsqafwk.GENLIB" for alias GENLIB 01:14:04,732 WARN [JwgRepositoryService] No repository path found, using default. repository=E:\jenkins\workspace\ebsqa-folder\test\CORP_AutoScripts 01:14:04,915 INFO [1] Initializing VU 1 for script MASTERDRIVE 01:14:07,125 WARN [InstallerManager] FormsFT dynamic enabling finished, summary information: 1 Installed JRE(s) found: [1.8.0_261 | C:\Program Files (x86)\Java\jre1.8.0_261] 0 JRE(s) dynamic enabled 1 JRE(s) static enabled: [1.8.0_261 | C:\Program Files (x86)\Java\jre1.8.0_261] 01:16:07,133 ERROR [PlayBackHandler] oracle.oats.scripting.modules.webdom.common.api.exception.BrowserHelperException: Cannot get a connection from helper after 120 seconds. 01:16:09,295 ERROR [1] Error in section Initialize at line (script.java:33). Cannot get a connection from helper after 120 seconds. oracle.oats.scripting.modules.browser.api.utilities.exceptions.BrowserException: Cannot get a connection from helper after 120 seconds.
Thanks in advance !!
-
Hi Sai,
Try restarting or reinstalling Helper Service in your node machine
Thanks,
Deepu M
-
Hi Deepu,
Thanks a lot !!
I have try by restarting or re -installing the Helper Service in my machine
Step follow to restart the helper service
-> Navigate to here C:\OracleATS\helperService\bin and Started the RunHelperService.bat( Admin)
Step follow to re -installing the helper service
-> Navigate to here C:\OracleATS\helperService\bin and uninstalled the helperServices a, after that I installed the helperServices again and started the HelperServices
After that I have trigger the Jenkins Job , But Still I am getting the Same issue
[PlayBackHandler] oracle.oats.scripting.modules.webdom.common.api.exception.BrowserHelperException: Cannot get a connection from helper after 120 seconds. Error in section Initialize at line (script.java:33). Cannot get a connection from helper after 120 seconds. oracle.oats.scripting.modules.browser.api.utilities.exceptions.BrowserException: Cannot get a connection from helper after 120 seconds
Please guide me here , Thanks in advance!!
Regards,
Sai swaroop.
-
Are you able to run script from Openscript in same machine
Thanks, DeepuM
-
Yes , I am able to run script from my machine .
Regards,
Sai Swaroop.
-
Stop jenkins service and run slave-agent.jnlp as administrator in node machine
Thanks,
DeepuM
-
Hi,
I am trying to run OATS script from Jenkins.
The script is running successfully but the runScript.bat file is returning a non-zero return code due to which the Jenkins job is failing.
Any idea why the batch file is returning a non-zero return code(in my case its 1) even when the script is successfully executed?