FindChild fails to return expected object
'FullName' of the panel is - Sys.Browser("iexplore").Page("http://wsstage06/*/Areas/*/Ratings.aspx").Panel("container").Panel("main").Panel("maincontainer").Form("aspnetForm").Table(0).Cell(0, 0).Table(0).Cell(0, 0).Table(0).Cell(1, 0).Table(0).Cell(0, 0).Table("ctl00_MainContentRoot_ASPxMenu1")
Code to find the object is as follows -
splits the full name value into 15 pieces
first piece is initialised directly via myObj = Sys.Browser("iexplore")
after that in a loop myObj is initialised by finding the next piece
myObj = myObj.FindChild("Name", aqString.GetListItem(sFullNmPiece, i) )
This code works until the second last object i.e Sys.Browser("iexplore").Page("http://wsstage06/*/Areas/*/Ratings.aspx").Panel("container").Panel("main").Panel("maincontainer").Form("aspnetForm").Table(0).Cell(0, 0).Table(0).Cell(0, 0).Table(0).Cell(1, 0).Table(0).Cell(0, 0)
after this findchild returns empty object for Table("ctl00_MainContentRoot_ASPxMenu1")
(We are using Jscript with TestComplete version 10.10.752.7)
Please help resolve / understand the issue.