SPONSORS:






User Tag List

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Jul 2001
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    dynamically populating form values

    I'm begining to write some scripts for load testing a web application, and am wondering how to make silk use existing, prepopulated values in some form elements. I've tried unsuccessfully to use the WEBFORMVALUEGET() function, and to use the variable from that in the FORM section, but my values are all coming out NULL. Can anyone point me in the right direction?

    ------------------

  2. #2
    Senior Member
    Join Date
    Jul 2001
    Location
    Elizabeth, CO, USA
    Posts
    653
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: dynamically populating form values

    Well, first of all, this would be better posted to the SilkPerformer forum.

    As to your question, if I understand you correctly you're trying to populate items in the dclform section with some values that are on the web page that you're testing? That is, rather than create random data files, you want SilkPerformer to post from data that's on the web page itself, right? (If I'm mistaken, ignore the rest of this.)

    Prior to loading the page you want to get data from, you'll need to use WebParseResponseData to capture the page. For example:


    ***The above would capture all of the data in the currency PopupList on Yahoo's currency conversion page. You could then do some string manipulation (StrSearchDelimited) to get out just one of the data values.

    ***Then, using WebFormValuePairInsert you can build up the form you have in the dclform section of your SilkPerformer script.

    ***- Dave


    ------------------

    Amelior Technology
    dreed@ameliortech.com

    [This message has been edited by dcreed (edited 07-18-2001).]
    WaltzingRhino.com
    A concerned Borland customer, a fly in the ointment, a wrench in the works.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 12:39 PM.

Copyright BetaSoft Inc.