Exception in ArtOfTest.WebAii

4 posts, 1 answers
  1. imran
    imran avatar
    5 posts
    Member since:
    Feb 2018

    Posted 14 Mar Link to this post

    I am getting this exception while automating using ArtOfTest.WebAii dll in VS2017, what could be the reason.

    threw exception: 
    System.TypeInitializationException: The type initializer for 'ArtOfTest.WebAii.Core.Settings' threw an exception. 
    ---> System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, 
    Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.

  2. Answer
    Elena Tsvetkova
    Admin
    Elena Tsvetkova avatar
    768 posts

    Posted 16 Mar Link to this post

    Hi Imran,

    Thank you for reaching us out. 

    Could you please add the NewtonSoft.Json.dll into GAC. Please use the dll which is deployed with the Testing Framework installation - it could be found in the bin folder. The default installation path is C:\Program Files (x86)\Telerik\Test Studio\Bin if you have upgraded the product and C:\Program Files (x86)\Progress\Test Studio\Bin if you have performed a new installation. 

    You could double check the version of the dll in the bin folder and if it is the same as the one listed in the exception. 

    I hope this will work for you as well. Though in case of questions please let me know! 

    Regards,
    Elena Tsvetkova
    Progress Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  3. imran
    imran avatar
    5 posts
    Member since:
    Feb 2018

    Posted 19 Mar in reply to Elena Tsvetkova Link to this post

    Thank You. It worked after adding to GAC.
  4. Elena Tsvetkova
    Admin
    Elena Tsvetkova avatar
    768 posts

    Posted 19 Mar Link to this post

    Hi Imran,

    Thanks for the feedback! I am pleased to know that worked for you! 

    Regards,
    Elena Tsvetkova
    Progress Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
Back to Top