Forum Discussion
Ryan_Moran
12 years agoValued Contributor
mdiMeditrac was possibly either a variable of WinFormsObject("MDIForm") or an alias/name mapping of WinFormsObject("MDIForm"). This could change if you then record a different script using different recording options or if you deleted the mapping.
Could also be that you had an extension disabled.
Ex:
I have two objects that are the same, but notice I do not have to include the VCLObject (or in your case WinFormsObject) reference in the fullname.
Sys.Process("ProfitNet").VCLObject("frmProfitNet").VCLObject("pcMain").VCLObject("tsDetail").VCLObject("TframeDetailLine1").VCLObject("btnRecOnePO").Click();
Sys.Process("ProfitNet").frmProfitNet.VCLObject("pcMain").VCLObject("tsDetail").VCLObject("TframeDetailLine1").VCLObject("btnRecOnePO").Click();
Could also be that you had an extension disabled.
Ex:
I have two objects that are the same, but notice I do not have to include the VCLObject (or in your case WinFormsObject) reference in the fullname.
Sys.Process("ProfitNet").VCLObject("frmProfitNet").VCLObject("pcMain").VCLObject("tsDetail").VCLObject("TframeDetailLine1").VCLObject("btnRecOnePO").Click();
Sys.Process("ProfitNet").frmProfitNet.VCLObject("pcMain").VCLObject("tsDetail").VCLObject("TframeDetailLine1").VCLObject("btnRecOnePO").Click();