Validation - (Optional Action) Cannot find central directory

Ranorex Spy, Recorder, and Studio.
nikitabss
Posts: 5
Joined: Mon Oct 15, 2018 8:01 am

Validation - (Optional Action) Cannot find central directory

Post by nikitabss » Wed Aug 14, 2019 9:12 am

I try to CompareImage action and Ranorex returns this result ( (Optional Action) Cannot find central directory ) in log file instead validation.
Ranorex 9.0.0
I try to compare image in SumatraPDF program

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

Re: Validation - (Optional Action) Cannot find central directory

Post by odklizec » Wed Aug 14, 2019 9:20 am

Hi,

I'm afraid, I've never saw error like this? Could you please try to reproduce the problem with most recent 9.1.1? Ranorex 9.0 is outdated, no longer supported and somewhat buggy. At next, could you please upload PDF file and image you are trying validate? And please describe in more details, what exactly you trying to achieve. Image validation should be used only if there is absolutely no other way to validate individual elements. It's simply nowhere as reliable as standard element validation.
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

nikitabss
Posts: 5
Joined: Mon Oct 15, 2018 8:01 am

Re: Validation - (Optional Action) Cannot find central directory

Post by nikitabss » Wed Aug 14, 2019 9:54 am

When i open my project in 9.1.0 i got this
Attachments
Screenshot_1.jpg
Screenshot_1.jpg (21.92 KiB) Viewed 17 times

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

Re: Validation - (Optional Action) Cannot find central directory

Post by odklizec » Wed Aug 14, 2019 10:29 am

Hi,

I'm afraid, I don't know what's wrong. Are you sure the project file is located where it should be? Also, do you have the solution stored locally? Ranorex does not recommend nor supports loading solutions from network/shared drives. Is there an error message issued during loading solution?
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

nikitabss
Posts: 5
Joined: Mon Oct 15, 2018 8:01 am

Re: Validation - (Optional Action) Cannot find central directory

Post by nikitabss » Wed Aug 14, 2019 10:37 am

Its local project, which open correctly in 9.0.0

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

Re: Validation - (Optional Action) Cannot find central directory

Post by odklizec » Wed Aug 14, 2019 10:42 am

Hi,

Could you please compress whole solution, via menu Tools >> Compress solution... and post it here?

BTW, have you unistalled 9.0 before installing 9.1.1, or you simply replaced old version with new one? Maybe you should try to completely uninstall 9.1.1 and install it back.
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