Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to test the reset functionality in a page
#9
Solved: 11 Years, 3 Months, 4 Weeks ago
Hi,
Just added few stuff to your code

Code:
Sub ChildObjects_Example()

Dim ValueToSet, NumberOfEdits
ValueToSet = " "
Set oDesc = Description.Create()
    oDesc("micclass").Value = "WebEdit"
Set EditCollection = Browser("xxx").Page("xxx").Frame("main").ChildObjects(oDesc)
NumberOfEdits = EditCollection.Count
msgbox NumberOfEdits
For i = 0 To NumberOfEdits -1
    If EditCollection(i).GetROProperty("micclass") = "WebEdit" Then
       EditCollection(i).Set ValueToSet  ('Here ValueToSet is empty i.e " "
    End If
Next
End Sub
Call ChildObjects_Example()
Reply


Messages In This Thread
RE: How to test the reset functionality in a page - by venkatbatchu - 10-28-2009, 10:43 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Ascii Characters Appear while typing in Test Page SaiJyothsana 2 2,819 11-10-2010, 04:52 PM
Last Post: SaiJyothsana
  problem with copy functionality vijay44 1 1,720 02-03-2010, 02:19 PM
Last Post: Saket

Forum Jump:


Users browsing this thread: 7 Guest(s)