Forum Discussion
tppegu
14 years agoContributor
You're using the WaitAliasChild method incorrectly. First of all, the child name parameter should be a string. Secondly, the method returns an object that represents the child, if it was found within the time specified, so it is that object's Exist property that you should be checking.
I'm most comfortable with JScript, but you should get the idea from this:
cell = Aliases.iexplore.pageFameFinancialAidPrintFafsaRe.formAspnetform.panelRadwindowwrapperCtl00Conten.table.cellRwtitlebar.tableRwtitlebarcontrols.cell1;
cellContent = cell.WaitAliasChild("textnodeReportViewer", 120000);
if(cellContent.Exists)
{
//found it
}
I'm most comfortable with JScript, but you should get the idea from this:
cell = Aliases.iexplore.pageFameFinancialAidPrintFafsaRe.formAspnetform.panelRadwindowwrapperCtl00Conten.table.cellRwtitlebar.tableRwtitlebarcontrols.cell1;
cellContent = cell.WaitAliasChild("textnodeReportViewer", 120000);
if(cellContent.Exists)
{
//found it
}
Related Content
Recent Discussions
- 2 days agovladd1