Forum Discussion

TestQA1's avatar
TestQA1
Frequent Contributor
2 years ago

Advanced Concepts - Test Complete

Hi,   I have started to dig more on advanced concepts. I'm not a programming expert but trying to get there.  I use JavaScript in test complete and my application is written in java. I need to br...
  • tristaanogre's avatar
    2 years ago

    1) We needed to have the ability to dig into the contents of a PDF file to very text compared to a baseline.  To do this, we found a Java project called PDFBox which, when imported into TestComplete, gave us such options.  This was done via the Java Bridge.
    2) DLL calls allows you to import a DLL developed outside of TestComplete and call methods and utilize properties of the DLL. In a "past life", at a different company, we had a DLL that contained various engines used in the calculation of sales tax on admission tickets.  We used the DLL calls against that engine to test the tax calculations without having to automate the UI of the application.  That's one use of it but the concept is basically the same: using methods of a DLL within your test automation.

    3) As described below, LLPs allow you to simulate Ui actions in a more low-level hardward drive situation.  Same past life, we needed a wat to simulate the swipe of a credit card.  Back in those days (boy, I sound old), credit card magnetic stripe readers could be connected via the keyboard port on a PC and the contents of the stripe would be sent as keyboard events.  So, we used an LLP to simulate that magnetic swipe to make sure that the code of the application recoginized that a swipe occurred rather than a keyed entry of a credit card.