Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Want to Iterate!!
#1
Solved: 10 Years, 8 Months, 3 Weeks ago
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...
-----------------------------------------------------------
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?
Reply


Messages In This Thread
Want to Iterate!! - by wannalearn_qtp - 12-30-2009, 07:59 AM
RE: Want to Iterate!! - by Saket - 12-30-2009, 10:18 AM
RE: Want to Iterate!! - by wannalearn_qtp - 12-30-2009, 10:32 AM
RE: Want to Iterate!! - by Saket - 12-30-2009, 10:46 AM
RE: Want to Iterate!! - by UjwalaK - 12-30-2009, 03:00 PM
RE: Want to Iterate!! - by wannalearn_qtp - 12-30-2009, 05:00 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)