brudnick
15 years agoOccasional Contributor
Objects. Compare error--- never mind... has to do w/ uniquely identifying objects....
Playing back a recorded script (js) reported two "Objects. Compare error." warnings on two object checkpoints.
I don't understand why.
1st warning: The "Panel(0)" object not found.
reported on this line:
Objects.Compare(Sys.Process("iexplore", 3).Page("http://qa/Internal/InfoFormReportOutput.aspx?show=xml&runid=32"), "pageHttpQaInternalInfoformreport1", true);
2nd warning: The "Form("form1")" object not found.
reported on this line:
Objects.Compare(Sys.Process("iexplore", 3).Page("http://qa/Internal/InfoFormReportOutput.aspx?*"), "pageUntitledPage", true);
Yet this checkpoint, gets no warning
Objects.Compare(Sys.Process("iexplore", 3).Page("http://qa/Internal/InfoFormReportOutput.aspx?show=csv&runid=32"), "pageHttpQaInternalInfoformreport", true);
I get the same warning when I use wildcard on the dynamic part of the address in all three checkpoints.
Why am I getting the warnings? I don't see any reference to "Panel(0)" in the 1st object checkpoint, nor "Form("form1")" in the second.
I don't understand why.
1st warning: The "Panel(0)" object not found.
reported on this line:
Objects.Compare(Sys.Process("iexplore", 3).Page("http://qa/Internal/InfoFormReportOutput.aspx?show=xml&runid=32"), "pageHttpQaInternalInfoformreport1", true);
2nd warning: The "Form("form1")" object not found.
reported on this line:
Objects.Compare(Sys.Process("iexplore", 3).Page("http://qa/Internal/InfoFormReportOutput.aspx?*"), "pageUntitledPage", true);
Yet this checkpoint, gets no warning
Objects.Compare(Sys.Process("iexplore", 3).Page("http://qa/Internal/InfoFormReportOutput.aspx?show=csv&runid=32"), "pageHttpQaInternalInfoformreport", true);
I get the same warning when I use wildcard on the dynamic part of the address in all three checkpoints.
Why am I getting the warnings? I don't see any reference to "Panel(0)" in the 1st object checkpoint, nor "Form("form1")" in the second.