hellofenghao / robotium

Automatically exported from code.google.com/p/robotium
0 stars 0 forks source link

robotium can't click button on the H5 page in the web view #622

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.load the H5 page in the webview
2.enter the text in the text view
3.click on the button
I add the   
<uses-sdk android:minSdkVersion="8" 
       android:targetSdkVersion="19" />  to the test application and the 

<supports-screens
        android:anyDensity="true"
        android:largeScreens="true"
        android:normalScreens="true"
        android:resizeable="true"
        android:smallScreens="true" />
 to the application. And the    
 <uses-sdk
        android:minSdkVersion="8"
        android:targetSdkVersion="14" /> is in the test application, too.

What is the expected output? What do you see instead?
expected: click on the button, it clicked on the text view, the keyboard poped 
uo.

What version of the product are you using? On what operating system?
robotium record 2.0.42 which is the eclipse plugin on Windows 7.

Please provide any additional information below.

you can mail me tytian08@gmail.com if some information I missed, thanks.

Original issue reported on code.google.com by tytia...@gmail.com on 11 Jul 2014 at 2:55

GoogleCodeExporter commented 9 years ago
Thanks for reporting this. Would it be possible for you to share an app that 
exhibits this issue?

Original comment by renasr...@gmail.com on 11 Jul 2014 at 4:00

GoogleCodeExporter commented 9 years ago
What's you mail address? thanks.

Original comment by tytia...@gmail.com on 11 Jul 2014 at 4:48

GoogleCodeExporter commented 9 years ago
Please send it to renasreda@gmail.com

Original comment by renasr...@gmail.com on 11 Jul 2014 at 4:50

GoogleCodeExporter commented 9 years ago
It seems the button can NOT get focused, if there any way to move the focus on 
the Button? thanks.

Original comment by tytia...@gmail.com on 11 Jul 2014 at 4:56

GoogleCodeExporter commented 9 years ago
Hi, I have found a way to click the button, 
solo.clickOnWebElement(By.className("buttonClassName")); Thanks for your 
information and help very much!

Original comment by tytia...@gmail.com on 11 Jul 2014 at 9:04

GoogleCodeExporter commented 9 years ago

Original comment by renasr...@gmail.com on 11 Jul 2014 at 9:05