samtreweek
15 years agoNew Contributor
Using TestComplete API to directly access Windows Objects
I would like to be able to use testcomplete window's object recognition capability but call this from the API.
e.g. Call Aliases.WORDPAD.wndWordPadClass.MainMenu.Click("Format|Font...")
I want to execute this from say, visual basic. Something similar to this.
set ap = CreateObject("TestComplete.TestCompleteApplication")
ap.Aliases.WORDPAD.wndWordPadClass.MainMenu.Click("Format|Font...")
Sam
e.g. Call Aliases.WORDPAD.wndWordPadClass.MainMenu.Click("Format|Font...")
I want to execute this from say, visual basic. Something similar to this.
set ap = CreateObject("TestComplete.TestCompleteApplication")
ap.Aliases.WORDPAD.wndWordPadClass.MainMenu.Click("Format|Font...")
Sam