September 05, 2010, 02:00:29 AM
Pages: [1]
  Print  
Author Topic: Readin user credentials from file  (Read 89 times)
ukk
Newbie
*
Posts: 1


View Profile
« on: March 13, 2010, 12:27:56 PM »

I made several LR scripts, each will login to the system and do something.

How can I define a file for each script and than for each user init to read next user from csv file.
So there should be some global variable per each script that will point to next row to read in CSV file, or something like that.


Thanks
Logged
Rajesh Prabu
Newbie
*
Posts: 4


View Profile Email
« Reply #1 on: May 02, 2010, 09:16:10 PM »

Hi,
Let me suggest something related to what you had mentioned.
Please ignore if you knew this well before.

> Please use Run time param settings
> Define your parameter one by one on the left compartment by clicking 'Add'
> Select "Add Row" / "Add Column" and enter your values for the mentioned parameters
> This is more of a csv file
> In the script, remove the initial recorded/scripted variable
> Replace them with the parameter defined (left compartment) in Run Time Param Settings
> If you intend to parameterize for Username --> {Username}
> If you want 3 users to be picked from the Run Param Settings --->User1, User2 & User3
> All the 3 users will be substituted for {Username}

Should you need some more on it, please respond to rrajeshprabu@gmail.com
Please ignore the above, if you knew this before. Thanks.
Logged
Pages: [1]
  Print  
 
Jump to: