Forum Discussion
You may also want to get with your Devs. This does not seem to be an appropriate screen presentation for the user. It could be due to screen resolution and object placement?
- sammy045 months agoOccasional Contributor
Thanks for your response, Scot. I tried to execute "focusd" and "SetFocus" for my object, however it says the button object does not support these property and method. I updated the testcomplete and tried again. But the result was the same.
Addition: I found that focus property and method are used on desktop app not on a mobile app. I'm working on a mobile application.
- rraghvani5 months ago
Champion Level 3
Could you try with either of the following line of code,
completeButton.Touch() completeButton.Touch(5, 5) completeButton.Click(5, 5)
- scot19675 months ago
Champion Level 2
Did you try the 'slow click' option. If there is no 'focus' setting you could try to select another object and 'Tab' to the button. I know it's clumsy but I try things like this to figure out how controls respond then the proceed accordingly.
In the logs there should be a message logging the action performed...
"The button was clicked with the left mouse button. 14:36:22:212 1.51 Event"
Do your log show this and is there any other information there that may be useful?
One other thing we haven't addressed yet is how the button is being mapped. I have seen instances where the wrong object was mapped by test complete because of the way I mapped it or because of how the GUI was designed.
I still think getting with your developers about the overlapping controls is a good idea.