Determining values on a web page

This is a discussion on Determining values on a web page within the C Programming forums, part of the General Programming Boards category; Hey everyone... I'm scripting in LoadRunner and I'm trying to figure out how to capture a particular scenario. For example, ...

  1. #1
    AaA
    AaA is offline
    Registered User
    Join Date
    May 2005
    Posts
    11

    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
    Location
    Maryland, USA
    Posts
    212
    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: http://sol-biotech.com/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 Cprogramming.com
    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, 07:41 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21