Forum Discussion

googleid_118035's avatar
googleid_118035
Contributor
12 years ago

Please help me to over come this Error message : Object required : '[string: "Category"]'

My VB code as below; Sub Test1() Dim sysval Set page1 = Sys.Browser("iexplore").Page("http://localhost/my_testapp/frmMytestpage.aspx") Set sysval = page1....Table("ctl00_cphMain...
  • TanyaYatskovska's avatar
    12 years ago

    Hi Dev,


     


    The innertText property returns a string. So, there is no need to use the Set statement to assign the sysval variable. Here is the corrected line:




    sysval = page1....Table("ctl00_cphMainContent_rgGrid_ctl00_Header").Cell(0, i).innerText