Discussion Forum

Welcome to the Discussion Forum, we encourage you to REGISTER on our forum and participate in the debate.For more details Click here

Online Advertising

Viewers now you can promote Your Websites/Blogs/Products by using our online advertising program.Using this feature you can place your Ads in my blog and can attract the people logging over here.To place your ads, just sign in my Guest Book and leave your details over there.

Tuesday, March 17, 2009

Parameterization

Follow the steps below to Parameterize in Webload,
a.Open the Project that you like to parameterize.
b.Drag the GlobalInputFile icon from the General Toolbox into the Agenda Tree.
c.GlobalInputFile winodw appears, click on the Create New Data File icon to create a new database file.
d.Specify the number of Rows and Column you would like in the Rows and Columns combo box.
e.Use the First row to fill in the Column names ex.(Username, Password), after specifying all the details click the OK button.
f.Save the File.
g.Click Yes to use the file we created as the file for the Global Input File.
h.Click the "Use first row as title row" checkbox to define first database row as a title row, which means that first row information will be used as parameter names(Username, Password).
i.Click the Save & Close icon at top.
j.Our database parameter names will be added in the script as,
Username = strGlobalInputFileLine[1]
Password = strGlobalInputFileLine[2]
Move on to the Editing mode to use these Username and Password parameters.
k.Consider the following script,
wlHttp.FormData["login"] = "demo"
wlHttp.FormData["password"] = "demo"
In the above script replace the values "Demo" with our parameters Username and Password,
wlHttp.FormData["login"] = Username
wlHttp.FormData["password"] = Password
l.Click on the Tools - Settings to change the iteration number, from 1 to 2 or 3.
m.Now Run this parameterized agenda.
n.You can see on the browser view,for each iterations different user logins will be chosen..

1 comment:

M@rce said...

Gracias por la informaciĆ³n...era justamente la que necesitaba..
Saludos!

Post a Comment

Free advertising


Lowes Coupon
How to Blog

Free Advertising