08-13-2009, 07:47 PM
Dear friends ,
Please explain the part of the script in Bold.
Please explain the part of the script in Bold.
Code:
Const constBaseWebEditIndex = 9
Dim intIndex,vectPartNumber
vectPartNumber = Split( DataTable( "Part_Number", "MR_Creation" ), "," )
For intIndex = 0 To UBound( vectPartNumber )
Browser("Browser").Page("HUB").WebButton("Add").Click
Wait(4)
Browser("Browser").Page("HUB").[b]WebEdit("name:=WebEdit", "Index:=" & constBaseWebEditIndex + intIndex*3 )[/b].Set Trim( vectPartNumber( intIndex ) )
Next