LR Ajax TruClient
I have a Web application that I am doing performance testing on. In a search field you type the name of a drug and if the drug is in the system then a popup window appears with different variations of that drug. If the drug is not in the system then a message appears on the main page that says no drug was found. My problem is this if no popup window appears I need the application to repeat the drug search with a different drug in the data file. I understand the basic structure that it needs to be
IF ( condition here )
what is going to happen is conditions is meet
other action that is going to happen if condition is not meet.
What I don't understand is how to setup the condition so that if the window opens the process will continue verses error out. Any help or ideas on this will be great thanks.
I have attached the basic structure of the script you should be able to open it in vugen and run it.