gennady_shpits
13 years agoNew Contributor
"Invalid procedure call or argument" trying to get rowcount from the table
Hi,
I'm getting the above error when trying to get any properties from the table. Object Spy is recognizing the table and shows the correct property values. Code example below.
Thank you.
I'm getting the above error when trying to get any properties from the table. Object Spy is recognizing the table and shows the correct property values. Code example below.
Thank you.
function Test1()
{
var rc
Browsers.Item(btFirefox).Navigate("https://somewebpageurl.com/Admin/Announcement");
rc = Aliases.browser.pageAnnouncementAdministration.panelContentwrap.panelMainbody.sectionMaincontent.sectionMainsection.panelToolbody.panelToolmain.frameAaframe.formForm1.panelHead.tableTable1.Cell(1, 0).Panel(0).Panel("rgItemsPanel").Panel("rgItems").Panel("rgItems_GridData").Table("rgItems_ctl00").RowCount;
BuiltIn.ShowMessage(rc);
}