I am attempting to write a function in TestComplete using Python, to access a specific button. The webpage has three buttons, and if I use TestComplete's 'Record Script' function, it returns
Aliases.browser.xyz.formJsMainform.panelContent.buttonContinue.ClickButton() for each of the buttons.
These buttons do have their own specific text ('Submit', 'Print', and 'Download'). I've looked at the documentation and I'm aware you can search by XPath, however I've not been successful when I've tried.
Would anyone be able to write/show me a basic method of accessing a button using TestComplete's built-in functions?
Here is an example buttons properties in the Object Browser.