Optional Action on Image Validation

Ask general questions here.
costamesakid
Posts: 94
Joined: Tue Jun 16, 2009 10:27 pm

Optional Action on Image Validation

Post by costamesakid » Fri Nov 02, 2012 9:04 pm

My image validation items use to pass until I upgraded to 3.3.3. For each validation item I set the Continue on Fail field to 'True'. Even in prior Ranorex versions, if the validation failed, the log report would display the step as a failure but continue the remaining steps.

Now, as in the screenshot below, the log report shows a warning on fail, and displays the entire test case as 'Passed'.

Is there anyway to fix this? I need the log reports to show a failure if validation fails. Thanks

Well... it seems the board wont let me upload screenshots anymore. So below is the actual text from the log report.

Code: Select all

17:39.334 Warn User Jump to itemView Help(Optional Action) Could not find a part of the path 'C:\Ranorex\TacViewMaster\TacViewPreferences\bin\Debug\RepositoryImages\TacViewLibRepositorya07c1d99.rximgres'.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Optional Action on Image Validation

Post by Support Team » Mon Nov 05, 2012 11:45 am

Hi,

Could it be that you set the "Report Level On Failure" property in the Properties window of the specific actions to "Warn" instead of "Failure"?
ActionItemProperties.png
ActionItemProperties.png (11.78 KiB) Viewed 942 times
Regards,
Markus
.
Image

costamesakid
Posts: 94
Joined: Tue Jun 16, 2009 10:27 pm

Re: Optional Action on Image Validation

Post by costamesakid » Mon Nov 05, 2012 1:25 pm

No. I have it set to 'Failure'.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Optional Action on Image Validation

Post by Support Team » Tue Nov 06, 2012 5:41 pm

Hi,

You are getting this warning because the rximgres file couldn't be found.
Are you sure the file is in the "..\bin\Debug\RepositoryImages" directory of your application?

Regards,
Markus
.
Image