Forum Discussion
Hi anhvu,
Thanks for quick response. I am using touch action on instrumented object.
What you mean by deepest object, say currently getting error on pressing back button on mobile device, which did not get simulated on device.
Code I used is :
Mobile.Device(<devicename>).PressBack() ;
Hi,
> Code I used is :
> Mobile.Device(<devicename>).PressBack() ;
What if you try
Mobile.Device.PressButton(MobileButtonKey.mbkBack)
Does it work?
- Daksha9 years agoOccasional Contributor
Thanks anhvu and Alex.
My problem got resolved(hopefully as it was intermittent) after adding few more Delays between the actions.
So basically issue is not related to press button but the latency between the action response and actual playback on the screen.
I will try out Mobile.Device.PressButton(MobileButtonKey.mbkBack) as well when face similar issue again.
Related Content
- 6 months agommaloney
- 3 years agoFrits
- 3 years agoLRuoc
- 3 years agoStephenWoolhead