I have an html file that has some data that I have to extract. Specifically I need to store the value "97" from this selection of data: 128 96.875 409101 409101 409101 81820 97 I already read in the file using readFile. So I tried adding an analysis rule by highlighting 97 and storing it into a variable, but I guess it stores the regular expression which is associated with 97 instead of that number. While it does this, a list of numbers are stored in my variable such as 40901, 81820, 97 and so on. Also my second question, is it possible to dynamically store that value into a variable, so if I ran a test with different numbers, the new value where 97 would be gets stored in the variable. I really appreciate any help I can get. Thank you
Would it be possible to read the HTML file via a web session instead, and then use a getTable action to get the value of the entire table, and then you should be able to pick the appropriate cell (the response should give you appropriate queries to extract). And yes, you can store the value in a variable. The easiest way to do this is to add an analysis rule: query the value that you want, and rather than setting the next step to "assert", set it to store, and you can store the extracted query value into the variable you choose.