Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to select a particular check box from a list
#7
Solved: 11 Years, 3 Months, 3 Weeks ago
I execute the code in this way and get an error

Error Message: Wrong number of arguments or invalid property assignment: 'oPage.WebTable(...).ChildObjects'

Line (93): "oPage.WebTable(Result_Grd).ChildObjects(i,3)(oChkBox).set "ON""

code:
Code:
Set oPage = Browser("micClass:=Browser").Page("micClass:=Page")
Result_Grd = "html id:=ResultGridCtl"

Set oChkBox = Description.Create()
oChkBox("micClass").value = "WebCheckBox"
oPage.WebTable(Result_Grd).highlight
If oPage.WebTable(Result_Grd).Exist Then

For i=3 to 10
        
        oPage.WebTable(Result_Grd).ChildObjects(i,3)(oChkBox).set "ON"

Next
    

End If
Reply


Messages In This Thread
RE: How to select a particular check box from a list - by vjjohnson04 - 10-23-2012, 12:20 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  how to select value from google search box dropdown +QTP prajyot 0 2,902 06-28-2017, 06:30 PM
Last Post: prajyot
  Trying to create List box in excel sheet at Run time with values yes No JACKSPARROW 0 1,714 01-17-2017, 11:05 AM
Last Post: JACKSPARROW
  Compare second web list value according to the first web list value roselin6 1 2,849 10-07-2015, 09:14 PM
Last Post: supputuri
  Unable to select an item from weblist and unable to enter text in edit box estherindu 5 9,579 05-15-2012, 12:07 AM
Last Post: viswa
Rolleyes How to select multiple choices from Multi-Select weblist blavanya 3 9,847 01-03-2012, 05:55 PM
Last Post: shivu.hanu

Forum Jump:


Users browsing this thread: 4 Guest(s)