Test result

Ask general questions here.
jackrabbit
Posts: 47
Joined: Wed Mar 18, 2015 10:06 pm

Test result

Post by jackrabbit » Wed Mar 09, 2016 9:19 pm

Currently, if my test runs all the way, the report shows up with a GREEN circle. In my test, my UserCode validates some values and generates Report.Warn for every fail. Unfortunatly, my test result still shows up with a GREEN circle.

For my validations, if I use Report.Error, my test report shos a RED circle, however the test aborts an no longer does the remaining validations.

Is there a way to report an error, let the test continue to the end, but show a different color indicator when I did find warnings in my UserCode validations (GREEN = test completed without errors or warnings, YELLOW = test completed with warnings, RED = test failed and stopped)

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

Re: App get crashed while tap on element in iOS Instrumented app

Post by odklizec » Wed Mar 09, 2016 10:04 pm

Hi,

All you need to do is to structure your tests in some logical test cases and then use proper test case error behaviors, as described here...
http://www.ranorex.com/support/user-gui ... html#c3028
This should help you with continuing with test run even if some test cases fail.
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