Answer the question
In order to leave comments, you need to log in
Running an executable from a web page?
Good evening everyone!
There is a set of test scripts written in LUA. Each script is a minimal application test.
We make a test plan, which consists of 10 test scripts. A test plan is essentially a file in which we call test scripts one by one. Further, this file is passed as a parameter to our application.
The idea of forming a test plan and launching it is done from a web page.
Please help me choose an instrument. Maybe someone knows interesting framework?
Any information on this topic would be of interest to me.
Now I'm carefully studying node,js.
Answer the question
In order to leave comments, you need to log in
Since OS is not specified, I will assume that Windows.
If the application registers itself in environment variables.
Then on the page you can create a text bat file with the content
mysuperapp.exe script1.lua
mysuperapp.exe script2.lua
...
mysuperapp.exe script10.lua
Alexander Taratin @Taraflex
Thank you, I did not specify the OS, since it does not matter at the moment.
Now everything is under Windows and I’m just launching baniki))). Your suggestion, I'll definitely check it out.
Ideally, I want to implement everything under linux.
I imagine it like this:
I write the scripts with my hands and put them in the working directory.
Next, the web application analyzes the working folder and generates a web tablet. The name of the script, and perhaps some other information, some description of the test. Next, I check the boxes next to the tests and thus form a test plan. I press the button to start the test and the binary file is launched for input, which is fed the generated list of tests.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question