This is a migrated thread and some comments may be shown as answers.

looking for dll issue

13 Answers 111 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Siva
Top achievements
Rank 1
Siva asked on 12 Aug 2013, 06:11 PM
Hi
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.

And also from another test

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

Sort by
0
Velin Koychev
Telerik team
answered on 15 Aug 2013, 02:50 PM
Hello Siva,

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.
 
Regards,
Velin Koychev
Telerik
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Siva
Top achievements
Rank 1
answered on 15 Aug 2013, 07:58 PM

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
0
Velin Koychev
Telerik team
answered on 20 Aug 2013, 01:46 PM
Hi 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
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Tristan
Top achievements
Rank 1
answered on 03 Dec 2013, 07:39 PM
Was this problem ever resolved? I've come upon the same problem, where the individual tests all run perfectly but when I try to run certain tests within an ordered list I get this same error and can't seem to find the problem.

It is on VS2012 so the deployment settings fix doesn't apply and I've tried recompiling several times.
0
Velin Koychev
Telerik team
answered on 06 Dec 2013, 09:15 AM
Hello Tristan,

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
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Tristan
Top achievements
Rank 1
answered on 11 Dec 2013, 04:35 PM
Thanks, we were able to resolve our problems.
0
Reinout
Top achievements
Rank 2
answered on 14 Jan 2014, 02:16 PM
Please share the solution!

I'm facing a similar problem.
0
Velin Koychev
Telerik team
answered on 17 Jan 2014, 09:38 AM
Hello Reinout,

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
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Shashi
Top achievements
Rank 1
answered on 07 Jun 2014, 02:21 PM
Velin/Telerik,

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 

0
Shashi
Top achievements
Rank 1
answered on 11 Jun 2014, 11:41 AM
A response to this would be much appreciated.

Thanks,
Shashi
0
Ivaylo
Telerik team
answered on 11 Jun 2014, 02:11 PM
Hello 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
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
0
Shashi
Top achievements
Rank 1
answered on 12 Jun 2014, 10:44 PM
I see - let me see what I can do.  Could you clarify what exactly you need?
- 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
0
Ivaylo
Telerik team
answered on 17 Jun 2014, 11:53 AM
Hello Shashi,

I will need everything required for local repro, most probably the entire project will be needed.

Regards,
Ivaylo
Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
Tags
General Discussions
Asked by
Siva
Top achievements
Rank 1
Answers by
Velin Koychev
Telerik team
Siva
Top achievements
Rank 1
Tristan
Top achievements
Rank 1
Reinout
Top achievements
Rank 2
Shashi
Top achievements
Rank 1
Ivaylo
Telerik team
Share this question
or