Micro Focus QTP (UFT) Forums
Use WebEdit object as array - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Use WebEdit object as array (/Thread-Use-WebEdit-object-as-array)



Use WebEdit object as array - sram3003 - 02-24-2015

Below is the code that I have written for identifying WebEdits on a browser.

Code:
Set oBrowser = Browser("Creationtime:=0").Page("Index:=0")
Set objWEdit = Description.Create
objWEdit("micclass").value="WebEdit"
Set objEdit = oBrowser.ChildObjects(objWEdit)

Now is there a way to use this objEdit in a For Each loop to fill the data from the data sheet? I am able to do it using For loop but want to try with For Each