Cannot Execute test from test suite
Cannot Execute test from test suite
Hi,
When I try to execute a test case I am getting the below error .
"Project is configured as dll and no execution command is specified. You can specify an execution command in the project option"
My project option is as below. Please help to make it executable form Test Suite.
When I try to execute a test case I am getting the below error .
"Project is configured as dll and no execution command is specified. You can specify an execution command in the project option"
My project option is as below. Please help to make it executable form Test Suite.
Re: Cannot Execute test from test suite
Hi,
You must change Output type to 'Console' or 'Windows' application.
You must change Output type to 'Console' or 'Windows' application.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Cannot Execute test from test suite
Tried both. Its not working still. Please help
You do not have the required permissions to view the files attached to this post.
Re: Cannot Execute test from test suite
Hi,
Are you sure the project you changed to Console/Windows application is set as Startup project? How many projects do you have in your solution?
Are you sure the project you changed to Console/Windows application is set as Startup project? How many projects do you have in your solution?
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Cannot Execute test from test suite
Hi,
Unfortunately there is no projects or anything in Startup objects as you see in screenshot. (Why so?)
All I could do is to change the “Output Type” value.
Unfortunately there is no projects or anything in Startup objects as you see in screenshot. (Why so?)
All I could do is to change the “Output Type” value.
Re: Cannot Execute test from test suite
Hi,
To set the project as Startup project, simply right click the project (in Projects view) and select Set as startup project...
To set the project as Startup project, simply right click the project (in Projects view) and select Set as startup project...
You do not have the required permissions to view the files attached to this post.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Cannot Execute test from test suite
Tried to do the same steps. But when I click on "“Set as startup project” I got the same error again!
You do not have the required permissions to view the files attached to this post.
Re: Cannot Execute test from test suite
Adding to my previous reply.. The error is showing for one project only which I have to execute now.
And for the other one I was able to successfully set it as start up project and able to select the project name from "Startup object" too.
How to fix the other project?
And for the other one I was able to successfully set it as start up project and able to select the project name from "Startup object" too.
How to fix the other project?
Re: Cannot Execute test from test suite
Hi,
As the error message suggests, the project is still configured as dll (class library). You must set it as Console/Windows application, otherwise, it's not executable.
As the error message suggests, the project is still configured as dll (class library). You must set it as Console/Windows application, otherwise, it's not executable.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Cannot Execute test from test suite
When I right click the project and clicked on “Select as Startup project” I got the above error.
Then I went to project properties, selected “Output Type” as “Console Application”. The “startup object” was missing.
Now when I right clicked the project I was able to select “Select as Startup project” with now error and it was set. But the problem is “startup object” drop down is still empty in the project properties even after setting the project as startup.
Then I went to project properties, selected “Output Type” as “Console Application”. The “startup object” was missing.
Now when I right clicked the project I was able to select “Select as Startup project” with now error and it was set. But the problem is “startup object” drop down is still empty in the project properties even after setting the project as startup.
Re: Cannot Execute test from test suite
Hi,
"Startup object" combo is probably not important. At least I have it empty and all works as expected.
"Startup object" combo is probably not important. At least I have it empty and all works as expected.
You do not have the required permissions to view the files attached to this post.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Cannot Execute test from test suite
Ofcourse its all the same. Still no luck
You do not have the required permissions to view the files attached to this post.
Re: Cannot Execute test from test suite
Well, it looks really weird. I think the solution is probably corrupted? What version of Ranorex do you use? Have you tried to reproduce the problem with fresh new solution? I think you will have to contact Ranorex support and send them your solution for review.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Cannot Execute test from test suite
Its 9.1.2.
Re: Cannot Execute test from test suite
I see a potential issue in your project settings! Please click the button with blue icon under Output type settings and uncheck Configuration-specific option! Or, if you want to preserve this option enabled, you must switch the project Configuration from "Debug" to "Release" and then change the Output type also there! You see, with enabled Configuration-specific option, Debug and Release settings could differ, which is most probably also your case!
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration