Determining values on a web page
I'm scripting in LoadRunner and I'm trying to figure out how to capture a particular scenario. For example, a form is submitted on the web and results are either returned or not returned based on the data submitted. The results that are returned are in the form of radio buttons and several can be available on the same page. There is also a confirm button.
The way I want to accomplish this is by using an IF/ELSE statement to randomly select any radio button IF results are returned AND submit the application (select the confirm button), ELSE exit the app.
I realize this may be a LoadRunner specific question, but I'm trying to get the foundation behind the code to establish how something like this might be determined.
I appreciate all your efforts!