Quantcast
Channel: MarsHut
Viewing all articles
Browse latest Browse all 6551

Examples of issues between calabash & Worklight app (with screenshots)

$
0
0
I've decided to create a new thread to better describe the issues I'm
having.
The first screenshot shows a simple query that returns the "Log In" button.
Currently, the only function of this button is to display some hidden text
via javascript.

<https://lh3.googleusercontent.com/-53aZ-ICbqU0/Ui8ZEmel15I/AAAAAAAAAeA/krBw99MQnRE/s1600/Screen+Shot+2013-09-10+at+8.59.49+AM.png>

Here, I try to touch the button with the "tap" function:

<https://lh5.googleusercontent.com/-CSQhmmrLBHk/Ui8YtqgH1AI/AAAAAAAAAd4/JK-BsJLYr98/s1600/Screen+Shot+2013-09-10+at+8.57.41+AM.png>

Next, I try touching the button with the touch function (I print out the
center_x and center_y coordinates before returning):

<https://lh3.googleusercontent.com/-SGvOVBsGlDw/Ui8ZpdEu52I/AAAAAAAAAeI/EYYpRvlBXE8/s1600/Screen+Shot+2013-09-10+at+8.58.59+AM.png>

Notice it returns successful but the button is not pressed.

The next screenshot shows I'm able to touch the object with much different
coordinates, purely by guessing:

<https://lh3.googleusercontent.com/-1MlOW918eKs/Ui8aHU1OCPI/AAAAAAAAAeQ/hmF2lKlmVzQ/s1600/Screen+Shot+2013-09-10+at+9.00.43+AM.png>

Finally, I wanted to demonstrate that the webview titled "WLWebView" works
if you merely comment out the exception thrown if a query does not start
with webView for the set_text method:

<https://lh6.googleusercontent.com/-gSWh9KOI0Oc/Ui8apvAMHEI/AAAAAAAAAeY/11vnJwQQxqc/s1600/Screen+Shot+2013-09-10+at+9.11.40+AM.png>

The SDK is defined in AndroidManifest.xml as described in the documentation.

Thanks for any help.

Viewing all articles
Browse latest Browse all 6551

Trending Articles