How to add java classes to read pdf for test execute?
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to add java classes to read pdf for test execute?
Hi,
I was able to add java classes and read the pdf files through test complete but now I want to run my scripts through jenkins using test execute. My question is how do we add tha same java classes for test execute? or is there a way to do it through code?
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This may be of some help:
https://support.smartbear.com/testexecute/docs/reference/options/engines/javabridge.html
Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sadly, no. Since without adding the java classes it fails.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sadly, if you don't give us details about what you've already tried and what happened as a result, you get to sit through us guessing what the problem might be. It saves time all around if you explain everything first.
Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If i only add the jvm path for test execute and not add the classes like I did for testcomplete I am unable to use the functions like
JavaClasses.org_apache_pdfbox_pdmodel.PDDocument.load_3(fileName);
I also tried this solution Sys.Process("MyJavaApp").JavaRuntime.JavaClasses.
package.class.subclass.method(parameters) But was unable to use the functions like before.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The JVM is part of the environment configuration on TestExecute. However, the link to the classes are stored in the project MDS file, assuming that the JAR files are in the same directory pathing on the TestExecute workstation.
Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Reshail,
Do the suggestion given here help you resolve the issue? Otherwise, please let us know what is happening when you start the project in TestExecute. If you get some errors, please post their text here.
Tanya Yatskovskaya
SmartBear Community and Education Manager
