Forum Discussion
ChrisPerth wrote:
I don't think you have read my reply in full.
I am not after a 'Java' solution. JavaScript and Java are very different.
How is JavaScript different from Java?
https://www.java.com/en/download/faq/java_javascript.xml
What shankar_r is indicating is that you can take a Java lib and have TestComplete consume that lib for use within your automation. This is a standard practice for many situations where TestComplete may not have the built in capabilities but you can import those capabilities from outside sources. A common example is the use of PDFBox to be able to consume and parse PDF files. Sure, you could probably write the code from scratch using JavaScript... but why, when there are consumable libraries out there that allow you to do so? That's what this link (https://support.smartbear.com/testcomplete/docs/testing-with/advanced/using-external-functions/calling-from-java-classes.html) is all about... taking an external Java lib, importing it into TestComplete, and then calling functions from that lib within your automation.
Give it a try... I'm guessing tht it will do EXACTLY what you want it to.
Ok, thanks for your feedback.
I will look into it further :smileyhappy:
Related Content
- 9 years ago
Recent Discussions
- 17 hours ago