Ask a Question

.exe file run in test execute

SOLVED
sathashiv5
Contributor

.exe file run in test execute

Hi,

 

 

Is it possible to convert the project suite(with project scripts, keywords) into binary executable? And run in Test Execute Tool.

Since, Test execute support file format -> .pjs and .mds. Does the Extensions(has installed with .net framework) will run .exe file? 

(Note: Test Execute providing .Net Framework->so, Can we run .exe file)

14 REPLIES 14
Lee_M
Community Hero

@sathashiv5 I don't believe there is such a feature

I did create a simple user-friendly solution that accomplished similar results.

 

The only condition is that it needs to be run from a computer running TestComplete or TestExecute (Lite).

 

I created a UserForm with buttons, each button startes a test (like a program GUI)

 

The UserForm has to call functions from a SCRIPT (not KW)

A button on the GUI calls a function from a script that in turn calls a project from either a script or KW test - parameters can even be passed, they are just text boxes from the GUI)

 

The UserForm could then be placed in the Execution Plan as the only item, running the project now invokes this GUI

 

EXTRA: EventHandler onStopTest would then reinitialize the 'dashboard app'

Does licensed software has this feature -> converting .pjs / .mds into .exe ?

Is the batch file the only option? 

Does userform fits in my case? 

Does Test Execute supports .exe file for execution?

 

Hi Lee_M,

 

Thanks for the support. I would like to convert the project files into single executable(should able to run in Test Execute) in order to reduce the size of the project which grows with incremental scripts. Is there a specific document for file extensions, does TC and TE supports? 

And, any extensions or third-party tools support this feature. 

AlexKaras
Community Hero

Hi,

 

Is it possible to convert the project suite(with project scripts, keywords) into binary executable?

No, this is not possible. Point.

TestComplete or TestExecute are required to be installed on the box where test code must be executed.

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================

Hi,

I want to convert the project file into a single executable, so I can pass this .exe file into Test Execute Tool for executing test code(Client requirements). If possible, how to reduce the project size? Our Scripts within the Test Code will be added incrementally, so the project size may become a huge memory usage. That's why, we looking to convert into small sized file and if we pass this to our client, they can easily run as well. (If any other suggestions like extension need to be installed for this purpose, please mention the guide to make it). 

Hi,

 

As it was said more than once, it is not possible to convert TestComplete's test project to any sort of self-executable file. TestExecute requires test project in exactly the same form as TestComplete.

Why did you decide that TestExecute can use or require project in the form of executable file?

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================

@sathashiv5,

 

I don't believe you can produce a binary like you are looking for - @AlexKaras please confirm this.

Feel free to suggest it for a future TestComplete feature.

 

It sounds like your projects are getting larger and that a CI solution may be what you are looking for.

 

You may want to investigate Jenkins, this has a TestComplete extension - I am using this approach - but this doesn't address your filesize issue.

I have a separate server that everyone can RDP into, the server houses a Jenkins installation and maintains the tests from a BitBucket (GIT) repository running a TestExecute instance.

People can then add tests that can be scheduled or manually run (advanced solution to the hack of the UserForm that what was suggested previously)

 

Have you found out where the file size is taken up, most of my space was taken up with logs, maybe this can help - managing log files

Hi @Lee_M ,

 

Thank you for the update. If we know how to reduce the project size(apart from logs), and the extensions supported by Test Execute, then it will be very useful for us.  

cancel
Showing results for 
Search instead for 
Did you mean: