Please enable JavaScript to view this site.

ESL Documentation

Navigation: » No topics above this level «

Q15 How do I test a local application?

Scroll Prev Top Next More

The lack of a prompt in the Windows environment has made testing an ESL for Windows local application more difficult than for our DOS or OS/2 users. Simple solution: Write your own command prompt with ESL! You might write an application that uses a textual region called Display to show input and output:

 

FAQs_CCode_Q15_1

The ESL application that is supplied with DOSCMD, also makes an idea test harness for any local application. Merely by replacing the local application executable defined in the response to item start, it is possible to produce an interactive testing tool. Below is the source of test harness for the different version of the Print Local Application ESLPR.EXE. You will notice certain improvement on the DOSCMD on which it is based, together with the ability to run different version of a local application:

FAQs_CCode_Q15_2