vthomeschoolmom
6 years agoSuper Contributor
Extend TestComplete for a different clicky event
Consider this line of code.
Aliases.browser.pageMain.wndWindowHeader.panMenuContent.mnuTicketInquiry.Click();
I have an object in name mapping that I click. Loverly.
There are many...
- 6 years ago
Not quite as such, no. You can't do
Aliases.browser.pageMain.wndWindowHeader.panMenuContent.mnuTicketInquiry.NavigatorClick()What you CAN do is
NavigatorClick(Aliases.browser.pageMain.wndWindowHeader.panMenuContent.mnuTicketInquiry)
Look up ScriptExtensions. You can create a runtime object that would encapsulate that method that would be universally available to all projects without needing to do any kind of shared file libraries.