ExecuteScript("script") Help
Posted: Thu Sep 06, 2018 5:50 pm
My webpage contains a table that I need to to read from only after it finishes loading. When using the browser's console (F12), I can run the following code command to get the state of the table:
customersGrid.InCallBack();
this returns true/false depending on whether the table has finished loading. customersGrid is an ASPxClientGridView
But I always get 'Undefined' when executing the same command in Ranorex using the following:
Report.Log(ReportLevel.Info, customersTable.OwnerDocument.ExecuteScript("customersGrid.InCallBack()"));
Any tips on the ExecuteScript("...") usage in this specific case would be much appreciated.
customersGrid.InCallBack();
this returns true/false depending on whether the table has finished loading. customersGrid is an ASPxClientGridView
But I always get 'Undefined' when executing the same command in Ranorex using the following:
Report.Log(ReportLevel.Info, customersTable.OwnerDocument.ExecuteScript("customersGrid.InCallBack()"));
Any tips on the ExecuteScript("...") usage in this specific case would be much appreciated.