I have couple of issue.
First one :
I am using visual studio 2012 with the add on of telerik test studio.
when i execute my test from test explorer it says it is looking for .dll file in Bin folder
System.IO.FileNotFoundException: Unable to find the code behind assembly.
Please make sure you have compiled your code behind without errors before
attempting to execute the test. Looking for: C:\Testfolder\Testproject\Testproject.dll
And i copied dll from bin folder and pasted it where it is asking for, the the issue resolved.
I had a error message that looking from dll from TestResults folder.
System.IO.FileNotFoundException: Unable to find the code behind assembly. Please make sure you have compiled your code behind without errors before attempting to execute the test. Looking for: C:\Folder\TEstProject\TestResults\TEstProject.dll
If you are running VS 2010, make sure Deployment is checked in your .settings file (in the solution items)
at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.EnsureAssemblyExists(String assembly, String folder)
at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.CreateCodedTestInstance(Test test, TestResult result, String binariesFolder)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTest(Test test, TestResult initializationResult)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteTestInCurrentContext(Test test)
And I copied dll from bin folder pasted it where it asking for , under TestResults folder, then issue resolved.
Please give a a solution why it is looking for dll's in different folder, other than bin
Help needed ASAP.
Thanks
Regards
Siva
13 Answers, 1 is accepted
I am sorry to hear you are running into this problem.
Can you verify what is the value of Output path in the Properties of the project, Build tab, Output section.
I have recorded a short video for demonstration.
Looking forward to hearing from you.
Velin Koychev
Telerik
Test Studio Trainings
Hi Velin
Thanks for your response.
Yes I Verified Output path is Bin\Release
I really don't understand why it is looking for Bin folder
Or some other folder called TestResults ,
Appreciate Your solution
Regards
Siva
It looks like this setting is configured OK.
In order to help you best, please send us your project into a .zip file so we can review it and definitely say what the problem is.
Regards,
Velin Koychev
Telerik
Test Studio Trainings
It is on VS2012 so the deployment settings fix doesn't apply and I've tried recompiling several times.
I saw that one of my colleagues, Rodney, is helping you resolve this issue in a support ticket.
There are different reasons why you could experience this issue, so I hope that you'll be able to resolve this problem using his help.
Regards,
Velin Koychev
Telerik
Test Studio Trainings
I'm facing a similar problem.
There could be different reasons for this problem.
In order to help you best, could you please send us the project so we can reproduce the issue on our end and give you a solution. If the project is very large, you can also use Dropbox or Google Drive. Please upload the project folder, then share the folder and paste a link in this forum thread.
Looking forward to hearing from you.
Regards,
Velin Koychev
Telerik
Test Studio Trainings
I have run into this issue as well. However, the problem is only occurring with VS 2012 Professional - the issue does not occur with VS 2012 Ultimate and VS 2012 Premium.
Some additional information:
a) Problem occurs only when running tests from VS 2012 Test Explorer - it does not occur when running in QuickExecute mode.
b) I am able to run other types of tests (non-Test Studio) from Test Explorer without issues.
c) I am running with Test Studio 2012.2.1420.0.
d) As mentioned above, the issue does not exist when using VS Premium or VS Ultimate.
I cannot share the solution with you (even in a support ticket) for confidentiality reasons. So if you could provide a list of things that I can check, that would be greatly appreciated.
Thanks,
Shashi
Thanks,
Shashi
Without providing the project so we can reproduce this behavior locally we cannot investigate further.
Since you are not able to provide us with a reliable repro the only workaround for you will be to use VS Premium or Ultimate.
Thank you for your understanding.
Regards,
Ivaylo
Telerik
Test Studio Trainings
- Do you need the entire project (with all contents) or just the project file?
- Do you need to be able to run the test(s)?
- Do you need access to the AUT?
Thanks,
Shashi
I will need everything required for local repro, most probably the entire project will be needed.
Regards,
Ivaylo
Telerik
Test Studio Trainings