02-01-2010, 01:11 PM
Hi Vijay,
Try with the below code.
Try with the below code.
Code:
Set WbEdit = Description.Create()
WbEdit("micclass").Value = "WebEdit"
WbEdit("html id").Value = "sourceName.*"
Set AllWbEdit = Browser("micclass:=browser").Page("micclass:=Page").ChildObjects(WbEdit)
NumberOfEdits=AllWbEdit.Count
For i=0 to (NumberOfEdits-1)
if AllWbEdit(i).GetRoproperty("html id")<>"sourceName_0" then
AllWbEdit(i).Set "Test"
End if
Next