Neel
10 years agoOccasional Contributor
I'm not able interact with the object stpContent
Code which is not working
I'm not able to interact with stpcontent, below is the jscript for it
Sys.Process("application_name").WinFormsObject("frmApplication").WinFormsObject("stpContent").WinFormsObject("flpButtons").WinFormsObject("cmdCancel");
Code which is working
However, when we try to run the same code with Aliases it works fine
Aliases.<application_name>.frmApplication.stpContent.flpButtons.cmdCancel.ClickButton()