Forum Discussion
Ryan_Moran
12 years agoValued Contributor
Maybe not so good at explaining this. Here is another example of what you may be seeing.
Generates many errors as you say:
var xyz = Sys.Process("ProfitNet").VCLObject("frmProfitNet");
Sys.Process("ProfitNet").xyz.VCLObject("pcMain").VCLObject("tsDetail").Click();
Works:
var xyz = Sys.Process("ProfitNet").VCLObject("frmProfitNet");
xyz.VCLObject("pcMain").VCLObject("tsDetail").Click();