Forum Discussion
Hi Shankar R,
Thanks for the reply.
I did find ykarpovich/msg.reader but did not have much success running it in TC without completely hacking it up.
The second link you posted is in reference to Java and not JavaScript.
Am I missing something?
Cheers,
Chris.
The second link shoes you how to integrate with java Lib into TestComplete
I guess instead of seeing ykarpovich/msg.reader you can try https://stackoverflow.com/questions/65936/whats-the-best-library-for-reading-outlook-msg-files-in-java
- ChrisPerth7 years agoOccasional Contributor
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
- shankar_r7 years agoCommunity Hero
I am pretty much good at differentiating JavaScript and Java.
I was trying say, there is not much with JavaScript to achieve your scenario.
That's why I'm suggesting you to checkout the java libs to try your scenario.
- tristaanogre7 years agoEsteemed Contributor
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.
- ChrisPerth7 years agoOccasional Contributor
Ok, thanks for your feedback.
I will look into it further :smileyhappy:
Related Content
- 9 years ago
Recent Discussions
- 19 hours ago
- 7 days ago
- 10 days ago