12-30-2009, 07:59 AM
Hi All,
Greetings of the day.
My Problem is , i have my application here.
So basically my module is to create a user.
So when we click on the "add user" button , it will give me around 15-20 text boxes, combo boxes and check boxes to fill out.
here is a piece of code...
-----------------------------------------------------------
-----------------------------------------------------------
Now i have 20 text boxes here?
how do i , move to next text box and fill in the data from excel sheet.
Once i fill in all the values in the sheet.
How can i do the same thing [ ie adding new users ] , mulitple times?
Greetings of the day.
My Problem is , i have my application here.
So basically my module is to create a user.
So when we click on the "add user" button , it will give me around 15-20 text boxes, combo boxes and check boxes to fill out.
here is a piece of code...
-----------------------------------------------------------
Code:
set sh = CreateObject("Scripting.FileSystemObject")
set exl = CreateObject("Excel.Application")
exl.visible = true
set wb = exl.WorkBooks.Open(excel_path)
list_value = exl.ActiveSheet.Cells (2,1) .Value
Browser("Browser").Page("Add User").WebEdit("User Name").Set list_value
-----------------------------------------------------------
Now i have 20 text boxes here?
how do i , move to next text box and fill in the data from excel sheet.
Once i fill in all the values in the sheet.
How can i do the same thing [ ie adding new users ] , mulitple times?