Aliases in Keywords OnScreenActions are automatically removed
I mapped my application using conditional find.
At first, I thought this feature would be awesome. After couple of days, it is more a painful than expected.
On one hand, when I call the Highlight on screen on an alias, the expected object is highlighted. Wow !
On the other hand, within keywords, I want to use the point and fix method. When I point the previous highlighted object, TestComplete does not detect my alias and prompt something like :
- Aliases.theBrowser.panelContent.Panel(0).Fieldset(0).Panel(0).Panel(0)...
I assume this is due to some bottom to top recognition issue in Aliases (see my previous post: http://community.smartbear.com/forum/post/?mode=singleThread&thread=dd919c33-b341-4189-99a5-206cb7a6ffd9). This should definitely be solved by the way.
My main concern now is to be able to work with those Aliases within Keyword.
It seems that aliases would work perfectly in script, but I can't afford to loose keywords features.
Moreover, even though I write (or paste) the alias of the object I want to use in my OnScreenAction, TestComplete switch to my program, look for my alias, and prompt me back
- Aliases.theBrowser.panelContent.Panel(0).Fieldset(0).Panel(0).Panel(0).PasswordBox("pwb")
while I wrote : - Aliases.theBrowser.panelContent.fsIden.pwdBox
Am I doing something wrong ?
How can I force TestComplete not to update OnScreenActions parameters with what I computed, but keep what the user gave him ?
Finally, it appears to me that those features should be implemented. If this is not the case, SmartBear should add it in the request databases or increase its severity.
Thanks.