Thread: Determining values on a web page

  1. #1
    Registered User
    Join Date
    May 2005

    Determining values on a web page

    Hey everyone...

    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!

  2. #2
    Registered User mitakeet's Avatar
    Join Date
    Jun 2005
    Maryland, USA
    You need to go to a LoadRunner board for help with your specific problem. The general issue is related to the rules behind the Common Gateway Interface (CGI), just google for the RFCs behind CGI and you will get all you need to know (and probably a lot more). I expect that LoadRunner abstracts all the CGI protocol for you, so knowing the underlying bits is probably a waste of your time if you are going to stick with it.

    Free code:

    It is not that old programmers are any smarter or code better, it is just that they have made the same stupid mistake so many times that it is second nature to fix it.
    --Me, I just made it up

    The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man.
    --George Bernard Shaw

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. FYI: The main web site page got hacked.
    By Dino in forum A Brief History of
    Replies: 53
    Last Post: 04-30-2008, 04:22 AM
  2. Partial web page downloading
    By god_of_war in forum C++ Programming
    Replies: 12
    Last Post: 08-14-2006, 12:19 PM
  3. Opening a web page
    By charon12 in forum C++ Programming
    Replies: 1
    Last Post: 08-24-2004, 01:17 AM
  4. Dialog app interface with web page...
    By Unregistered in forum Windows Programming
    Replies: 5
    Last Post: 01-29-2002, 08:41 PM