I need to correlate a value, but the only LB and RB I can use appear thousands of times
I'm looking to make a correlation for a dropdown menu. I need the number inside this option value:
My LB would be <option value=" and RB ">
The problem is this returns thousands of values. I can't use ORD since there is always a different number of option values based on earlier actions inside my script. I also don't think REGEXP will help here since there are other option values that contain 4 digits.
The reason I can't make my LB more specific is because I need to select a random option value for that drop down menu. This is the full block below:
So I need to scan through and find that drop down menu, the count of option values under it, and then select a random one. This wouldn't be a problem if there weren't hundreds of other identical drop down option values that use the same boundaries, causing me to have a much higher count value than is actually there.
I'm not sure if this would be a viable solution, but I set a correlation to take that entire block of text:
Re: I need to correlate a value, but the only LB and RB I can use appear thousands of times
May be you can use a parameter file that contains at least 2 colums. One for the selection that is necessary to follow the "earlier action" paired with the values of the drop down list that contains the selections depending on this "earlier action". Then you can select randomly to execute the "earlier action" and use the same line for the drop down value.