I'm trying to automate a web site created with Smart GWT.
It's not possible to perform click on automate process, so my solution is replicate the click event by trigger eventproxy using javascript command.
Some cases, I managed to replicate the click:
- Elements with AutoIDClass = IButton, I used the click method of eventproxy, e.g: isc_IButton_0.click()
- Elements with AutoIDClass = Tab, I used the selectTab method of eventproxy, e.g: isc_Tab_5.selectTab()
My question is how can I replicate the click in submenus elements (TreeGrid).
For example, in Smart GWT Showcase (http://www.smartclient.com/smartgwt/...d_complete_app ), in show example, how can I select a submenu of categories with javascript command?
I'm testing in browser's console.
Thank you
It's not possible to perform click on automate process, so my solution is replicate the click event by trigger eventproxy using javascript command.
Some cases, I managed to replicate the click:
- Elements with AutoIDClass = IButton, I used the click method of eventproxy, e.g: isc_IButton_0.click()
- Elements with AutoIDClass = Tab, I used the selectTab method of eventproxy, e.g: isc_Tab_5.selectTab()
My question is how can I replicate the click in submenus elements (TreeGrid).
For example, in Smart GWT Showcase (http://www.smartclient.com/smartgwt/...d_complete_app ), in show example, how can I select a submenu of categories with javascript command?
I'm testing in browser's console.
Thank you
Comment