06-26-2018 10:01 AM
Hello,
I am trying to find a cluster in an array of clusters in teststand using the Contains(array, object, <caseSensitive>) but it actually doesn't work, would anyone have an idea how to make it identify the cluster or am I missing something?
Thank you
06-26-2018 01:34 PM
The names have to be the same. So basically you need something like a named array.
Attached is an image of what I did to make it work.
Hope this helps,
06-27-2018 07:35 AM
I am inserting data from an output of a function , in the execution of the sequence and when I am using the watch view I can see that the cluster I am searching appears in the array of the clusters (containers), So it the contain function must return true.
Even if I put the same name, at execution names will disappear (I don't know why) and the test is always failed.
I will be happy to hear from you about this issue
Thank you
06-27-2018 08:19 AM
Without more specific details in your situation I couldn't tell you how to solve your issue. However, if the names don't match the Contains function will return false.
I don't understand what you mean by "names will disappear"? Can you elaborate more on that?