When i try to run it in Ranorex 3.0 it will not compile.
Here are error messages:
An object reference is required for the non-static field, method, or property 'Review1.Recording1.Element59648_Screenshot6' (CS0120) - C:\AutoRex\Review\Review1\Recording1.UserCode.cs:839,78
An object reference is required for the non-static field, method, or property 'Review1.Recording1.Element59648_Screenshot6_Options' (CS0120) - C:\AutoRex\Review\Review1\Recording1.UserCode.cs:839,104
What's that and how to fix it?
Here is code, where error found:
Code: Select all
Validate.CompareImage(repo.FormOIS_WinStation_11_EyeSca.Element59648Info, Element59648_Screenshot6, Element59648_Screenshot6_Options, "TC140: Screenshot validation", false);