ContributionsMost RecentMost LikesSolutionsRe: Finding object by using dynamic xpath, using Partial Content text Thank you Alex. It was really good approach . I executed the following code , please verify and I am getting JScript runtime error 'page' is undefined . Please correct me where I am going wrong. I attach screen shot function VerifyGridValue(textValue) { Sys.Browser("*").Page("*").Wait("10000"); tableContainer = page.FindChild(['ObjectType', 'ObjectIdentifier'], ['Panel', 'grid_container'], 10); var Cells = tableContainer.FindAllChildren(['ObjectType', 'ObjectIdentifier'], ['Panel', 'uiGrid_0007_cell'], 10).toArray() ; console.log(Cells); } Re: Finding object by using dynamic xpath, using Partial Content text I am trying to Url: http://ui-grid.info/ Angualr UI grid I am trying to get the values of the upper grid. I need to capture those values from the table and verify them with the values in Excel sheet in Test complete. I used all the three types of finding the object,none of them worked. Please verify following script and let me know where I am going wrong. Thank you for co operation in advance function VerifyGridValue(textValue) { Sys.Browser("*").Page("*").Wait("10000"); var obj = Sys.Browser("*").Page("*").FindChildByXPath(".//*[@id='150952'" + * + "'-grid-container']/div[2]/div]"); //Sys.Browser("*").Page("*").FindChildByXPath("//*[@class='" + ui-grid-canvas + "']") //var obj = Sys.Browser("*").Page("*").FindChildByXPath(".//*div[contains(@id, "150952") and contains(@id, "grid-container")]/div[2]/div]"); var val=obj.wValue(0,1); switch (true) { case IsSupported(obj, val) == true && textValue : Log.Checkpoint("Value match as expected"); break; default: Log.Error("Text values do not match!"); } Log.CallStackSettings; } Re: Finding object by using dynamic xpath, using Partial Content text Thanks Marsha. Still have the same issue var obj = Sys.Browser("*").Page("*").FindChildByXPath(".//*[@id='150952'" + * + "'-grid-container']/div[2]/div]"); Re: Finding object by using dynamic xpath, using Partial Content text Hi Marsha, .//*[@id='15095 "27131388" -grid-container']/div[2]/div .//*[@id='15095 "28020936" -grid-container']/div[2]/div .//*[@id='15095 "28970483" -grid-container']/div[2]/div .//*[@id='15095 "28970483"-grid-container']/div[2]/div The one in quatations is keeping changing , I want everything else into I want find the object containing .//*[@id='15095 "*******"-grid-container']/div[2]/div. Please verify http://ui-grid.info/ I am trying to get the Values from the upper grid present in the page. Re: Finding object by using dynamic xpath, using Partial Content text http://ui-grid.info/ this is website I am trying to get the grid values from Finding object by using dynamic xpath, using Partial Content text Hi all, I have following dynamic xpath's .//*[@id='1509527131388-grid-container']/div[2]/div .//*[@id='1509528020936-grid-container']/div[2]/div .//*[@id='1509528970483-grid-container']/div[2]/div .//*[@id='1509528970483-grid-container']/div[2]/div I am trying to find the object by var obj = Sys.Browser("*").Page("*").FindChildByXPath(".//*[@id=150952'" + * + "'-grid-container']/div[2]/div]"); showing as syntax error. Can you please help me to find the error Re: Getting Values from Grid on Angualr UI Grid Thank you Robert for your valuable feed back I am in initial stages of learning Test complete . would you please send me an example code to address this issue . Thank you . Getting Values from Grid on Angualr UI Grid Hi Eveyone, I am using TestCompte 12.20 version . I am trying to verify the values of the attached webpage grid. The xpath is dynamic . I need to find out is ther any other way to get the date from the grid and verify . Thanks