Solved

Test multiple FeatureCounters with one Tester

  • 2 December 2022
  • 2 replies
  • 4 views

Hi,

I need to test multiple FeatureCounters with one Tester so that if any of the counters have a value of zero then the test fails. Unfortunately the tests always fails because some of the fields are missing when the counters appear in the Tester's results. The test below is supposed to pass. Is there a way to set this up so that I can get the results that I am looking for?

imageimage.pngimageimage

icon

Best answer by virtualcitymatt 3 December 2022, 22:52

View original

2 replies

Userlevel 4
Badge +26

Why not just test if one = 0? You can use the OR instead if AND in this case. Then only features which have a 0 in either if the columns will cause a feature to come out of the passed port.​

Userlevel 3
Badge +26

You could use a NullAttributeMapper prior to the tester, where you could set the attributes to 0 if they are missing.image

Reply