This is a strange one. It is only happening recently when updating existing tests that have been working for months. A dialog has changed and therefore a new screenshot image was required for validation. Everything works fine when the recording is tested on it´s own, but as soon as the full test is run, Ranorex doesn´t find the screenshot image. The image clearly is there, so what is happening?
Error message: Could not locate image for ID '49e8f291-806c-4f6b-9e8b-1beda81e1b76'.
The error points to this code:
Code: Select all
CompressedImage NewChargenBezeichnung_Screenshot2
{ get { return repo.AfxWnd140.NewChargenBezeichnungInfo.GetScreenshot2(new Rectangle(0, 10, 31, 8)); } }