Page 1 of 1

Simulate a tap event on a Div inside UIWebView

Posted: Wed Feb 06, 2013 1:33 pm
by arthurva
Hi,

I would like to know if you can simulate a tap event on a Div inside UIWebView.

My app is HTML5 app(built using sencha touch) which runs upon UIWevView. The buttons are not "input" fields but are constructed from "div"s. I know that it is possible to simulate a click on an input field, but as far i know it is not possible simulate a div click, hence i may not be able to use your framework to test my html5 app.
Am i mistaken? (I'm talking only about ios's UIWebView)

Thanks!

Re: Simulate a tap event on a Div inside UIWebView

Posted: Thu Feb 07, 2013 5:28 pm
by Support Team
Hello,

As soon as you can find this 'Div' tag using Spy, it is possible to click on it with Ranorex.
You might need to adjust the relative location of your click instead of 'Center'.

Could you please try it out?
If it is still not working, could you please post a Ranorex Snapshot and describe which 'Div' tag you want to click on?

Regards,
Markus (T)