looking for dll issue

14 posts, 0 answers
  1. Siva
    Siva avatar
    28 posts
    Member since:
    Apr 2012

    Posted 12 Aug 2013 Link to this post

    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






     


  2. Velin Koychev
    Admin
    Velin Koychev avatar
    88 posts

    Posted 15 Aug 2013 Link to this post

    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
  3. Siva
    Siva avatar
    28 posts
    Member since:
    Apr 2012

    Posted 15 Aug 2013 Link to this post


    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
  4. Velin Koychev
    Admin
    Velin Koychev avatar
    88 posts

    Posted 20 Aug 2013 Link to this post

    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
  5. Tristan
    Tristan avatar
    2 posts
    Member since:
    Jun 2013

    Posted 03 Dec 2013 Link to this post

    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.
  6. Velin Koychev
    Admin
    Velin Koychev avatar
    88 posts

    Posted 06 Dec 2013 Link to this post

    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
  7. Tristan
    Tristan avatar
    2 posts
    Member since:
    Jun 2013

    Posted 11 Dec 2013 Link to this post

    Thanks, we were able to resolve our problems.
  8. Reinout
    Reinout avatar
    15 posts
    Member since:
    Jan 2014

    Posted 14 Jan 2014 Link to this post

    Please share the solution!

    I'm facing a similar problem.
  9. Velin Koychev
    Admin
    Velin Koychev avatar
    88 posts

    Posted 17 Jan 2014 Link to this post

    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
  10. Shashi
    Shashi avatar
    25 posts
    Member since:
    Feb 2011

    Posted 07 Jun 2014 in reply to Velin Koychev Link to this post

    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 

  11. Shashi
    Shashi avatar
    25 posts
    Member since:
    Feb 2011

    Posted 11 Jun 2014 in reply to Shashi Link to this post

    A response to this would be much appreciated.

    Thanks,
    Shashi
  12. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 11 Jun 2014 Link to this post

    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
     
  13. Shashi
    Shashi avatar
    25 posts
    Member since:
    Feb 2011

    Posted 12 Jun 2014 in reply to Ivaylo Link to this post

    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
  14. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 17 Jun 2014 Link to this post

    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
     
Back to Top
  Cast Your Vote at DevPro Connections! Cast Your Vote at  Win IT Pro Connections!