Forum Discussion
muhammadA
Occasional Contributor
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);
}
baxatob
7 years agoCommunity Hero
You should define page variable.
page = Sys.Browser("*").Page("*")
Related Content
Recent Discussions
- 11 hours agovladd1