Error in one recording

Best practices, code snippets for common functionality, examples, and guidelines.
theraviz
Posts: 72
Joined: Sun Apr 14, 2019 9:46 am

Error in one recording

Post by theraviz » Thu Jul 16, 2020 11:12 am

Hello,

I have a testcase with 10 recording modules. When I execute the test case the first 5 recordings are running successfully but it fails at the sixth recording. Below is the error I am getting. Please help to resolve this.

When I try to execute this particular recording alone it is working too.

Error

The module 'XXX' (with ID {0aad1ac8-2173-4087-a9bb-418afbe39899}) could not be found. The following error occurred loading the assembly: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified..
Show/Hide Stacktrace
at Ranorex.Core.Testing.TestModuleLeaf.RunInternal(DataContext parentDataContext, Int32 iteration, Int32 iterationCount, Boolean skipIteration)

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 6180
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Error in one recording

Post by odklizec » Thu Jul 16, 2020 11:31 am

Hi,

Could you please share whole test suite (zipped and without bin, obj and reports folders)? How exactly you created the failing recording? Have you tried to recreate it?
Pavel Kudrys
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

theraviz
Posts: 72
Joined: Sun Apr 14, 2019 9:46 am

Re: Error in one recording

Post by theraviz » Thu Jul 16, 2020 12:16 pm

Hi,

Thank you for the hint. Its working now!

I have just created of a copy of the old recording and added it to the suite by deleting the existing one. It worked :)