The ATU ALM Service Wrapper is written in Java (using JACOB library) which is wrapped around the OTA API. For the wrapper to work correctly, the OTAClient.dll must be registered in your machine by the following approach.
With the help of regsvr32.exe tool, we will register the OTAClient.dll
On a 32-Bit OS:
1) Open CMD prompt. Change your directory to C:\Windows\System32
OTAClient.dll is typically located in C drive ,
C:\Users\<username>\AppData\Local\HP\ALM-Client\localhost\
If you are unable to see The AppData folder, enable viewing of Hidden files as AppData is a Hidden Folder
For registering the dll, use the below command.
C:\Windows\System32>regsvr32.exe C:\Users\Administrator\AppData\Local\HP\ALM-Client\localhost\OTAClient.dll
Press Enter Key, once it is done, you will get a Message as "DLL Register succeeded".
-----------------------------------------------------------------------------------------------------
On a 64-Bit OS:
1) Open CMD prompt. Change your directory to C:\Windows\System32
OTAClient.dll is typically located in C drive ,
C:\Users\<username>\AppData\Local\HP\ALM-Client\localhost\
If you are unable to see The AppData folder, enable viewing of Hidden files as AppData is a Hidden Folder
For registering the dll, use the below command.
C:\Windows\System32>regsvr32.exe C:\Users\Administrator\AppData\Local\HP\ALM-Client\localhost\OTAClient.dll
Press Enter Key, once it is done, you will get a Message as "DLL Register succeeded".
----------------------------------------------------------------------------------------------------
Once the above operation is done, we are ready to use the ALM Service Wrapper. with just four lines of code you can update the results into QC/ALM.
With the help of regsvr32.exe tool, we will register the OTAClient.dll
On a 32-Bit OS:
1) Open CMD prompt. Change your directory to C:\Windows\System32
OTAClient.dll is typically located in C drive ,
C:\Users\<username>\AppData\Local\HP\ALM-Client\localhost\
If you are unable to see The AppData folder, enable viewing of Hidden files as AppData is a Hidden Folder
For registering the dll, use the below command.
C:\Windows\System32>regsvr32.exe C:\Users\Administrator\AppData\Local\HP\ALM-Client\localhost\OTAClient.dll
Press Enter Key, once it is done, you will get a Message as "DLL Register succeeded".
-----------------------------------------------------------------------------------------------------
On a 64-Bit OS:
NOTE: Many users are experiencing issues with combination of 64bit JDK+ JACOB 32bit dll.To avoid this issue, use JDK 32bit on a 64bit machine.
1) Open CMD prompt. Change your directory to C:\Windows\System32
OTAClient.dll is typically located in C drive ,
C:\Users\<username>\AppData\Local\HP\ALM-Client\localhost\
If you are unable to see The AppData folder, enable viewing of Hidden files as AppData is a Hidden Folder
For registering the dll, use the below command.
C:\Windows\System32>regsvr32.exe C:\Users\Administrator\AppData\Local\HP\ALM-Client\localhost\OTAClient.dll
Press Enter Key, once it is done, you will get a Message as "DLL Register succeeded".
----------------------------------------------------------------------------------------------------
Once the above operation is done, we are ready to use the ALM Service Wrapper. with just four lines of code you can update the results into QC/ALM.
Hello Team,
ReplyDeleteI am using the above procedure to integrate QC with Selenium.
I dont see the 'localhost' folder in this path C:\Users\\AppData\Local\HP\ALM-Client.
Could you help me on this please. Thanks.
Warm Regards,
Ganesh A
Hi, i am facing the same issue. How did you resolve this?
DeleteGanesha,
DeleteLocalhost is referring to your QC server name. It could be a dns name of your QC server
HI,
DeleteHow do i find DNS name in QC. I searchd and found a folder with all the DLL files in it but when i give that path, it shows me error.
kindly help
I am glad that I saw this post. It is informative blog for us and we need this type of blog thanks for share this blog, Keep posting such instructional blogs and I am looking forward for your future posts. Python Projects for Students Data analytics is the study of dissecting crude data so as to make decisions about that data. Data analytics advances and procedures are generally utilized in business ventures to empower associations to settle on progressively Python Training in Chennai educated business choices. In the present worldwide commercial center, it isn't sufficient to assemble data and do the math; you should realize how to apply that data to genuine situations such that will affect conduct. In the program you will initially gain proficiency with the specialized skills, including R and Python dialects most usually utilized in data analytics programming and usage; Python Training in Chennai at that point center around the commonsense application, in view of genuine business issues in a scope of industry segments, for example, wellbeing, promoting and account. Project Center in Chennai
DeleteHi Team,
ReplyDeleteI folloed your steps for configuration, later during run i am getting the below error
"Exception in thread "main" java.lang.NoSuchFieldError: m_pDispatch"
Could you please help me here.
Thanks,
Manohara.KS
✔ PLC Training in chennai
ReplyDelete✔ PLC Training Institute in chennai
✔ PLC Training Center in chennai
✔ PLC Training Course in chennai
✔ PLC Course in chennai
✔ PLC SCADA Training in chennai
✔ PLC Training Centre in chennai
✔ PLC SCADA Training Institute in chennai
✔ Best PLC Training in chennai
✔ Best PLC Training Institute in chennai
✔ DCS Training in chennai
✔ Automation Training in chennai
✔ Automation Training Institute in chennai
✔ Industrial Automation Training in chennai
✔ Process Automation Training in chennai
✔ Robotics Training in chennai
✔ Inplant Training in chennai
Great and Useful Article.
ReplyDeleteJava Online Course
Java Online Training
Java EE training
Java Course in Chennai
Java Training in Chennai
Java Training Institutes in Chennai
Java Interview Questions
Java Interview Questions
'Unable to Establish connection' Please help. getting that error
ReplyDeleteThanks for sharing great information in your blog. Got to learn new things from your Blog . It was very nice blog to learn about Selenium.
ReplyDeleteSelenium
I have registered OTAClient.dll, but after executing the code still i see register dll error in IDE console
ReplyDeleteWell explained. Got to learn new things from your Blog on Appium.Appium training in chennai
ReplyDeleteHi Am facing "Exception in thread "main" ALM Service Wrapper Exception Details: Please Register the OTAClient.dll with your system" after all the set up. Could you please guide me
ReplyDeleteNo1 PLC SCADA Industrial Automation Training Course Institute In Noida Delhi - 9818293887
ReplyDeleteWant to know about DIAC Placement records? We provide 100 % placement assistance to our AUTOMATION ENGINEERING COURSE candidate in the core Automation Industries. DIAC Automation is the No.1 PLC AUTOMATION TRAINING INSTITUTE IN DELHI NCR. Further details about PLC AUTOMATION TRAINING CENTER call us at 9953489987.
Hi,
ReplyDeleteI'm using Java 1.8 version 64-bit and jacob-1.17-M2-x64.dll and I registered OTAClient.dll file to my machine but still I'm getting the below error.
FAILED: connection
ALM Service Wrapper Exception Details: Please Register the OTAClient.dll with your system
at atu.alm.wrapper.ALMServiceWrapper.connectToOTA(ALMServiceWrapper.java:110)
at atu.alm.wrapper.ALMServiceWrapper.connect(ALMServiceWrapper.java:74)
at UtilityLibrary.UtilityLibrary.connect(UtilityLibrary.java:207)
at TestScripts.selCon.connection(selCon.java:42)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:816)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1124)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
at org.testng.TestRunner.privateRun(TestRunner.java:774)
at org.testng.TestRunner.run(TestRunner.java:624)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:359)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:354)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:312)
at org.testng.SuiteRunner.run(SuiteRunner.java:261)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1215)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
at org.testng.TestNG.run(TestNG.java:1048)
at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:114)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77)
PlEASE HELP ME TO RESOLVE THIS ISSUE.
Thanks
did you get any solution to this?
DeleteCan I do this via JAVA program running in a Linux container ?
ReplyDeleteI simply wanted to write down a quick word to say thanks to you for those wonderful tips and hints you are showing on this site.
ReplyDeleteBest Devops training in sholinganallur
Devops training in velachery
Devops training in annanagar
Devops training in tambaram
After reading this web site I am very satisfied simply because this site is providing comprehensive knowledge for you to audience.
ReplyDeleteThank you to the perform as well as discuss anything incredibly important in my opinion. We loose time waiting for your next article writing in addition to I beg one to get back to pay a visit to our website in
selenium training in Bangalore
selenium training in Marathahalli
selenium training in Btm layout
selenium training in Jaya nagar
selenium training in Electronic city
selenium training in Kalyan nagar
Useful information.I am actual blessed to read this article.thanks for giving us this advantageous information.I acknowledge this post.and I would like bookmark this post.Thanks
ReplyDeletepython training in chennai
Python Online training in usa
python course institute in chennai
Hi, in CMD prompt, i am getting C:\Windows\System32 is not recognised as an internal or external command, operable program or batch file.
ReplyDeletePlease help me in resolving this issue.
Thanks for sharing this article , saved my time and took only 10 minutes to connect to my alm from eclipse :).
ReplyDeleteI have a question, can we use this wrapper for saving test scripts and performing the version control. can you please give me a hint how to do that