RobotiumTech / robotium

Android UI Testing
http://www.robotium.org
Apache License 2.0
2.86k stars 786 forks source link

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

Closed renas closed 9 years ago

renas commented 9 years ago

From tytia...@gmail.com on July 10, 2014 19:55:40

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: http://code.google.com/p/robotium/issues/detail?id=622

renas commented 9 years ago

From renasr...@gmail.com on July 10, 2014 21:00:25

Thanks for reporting this. Would it be possible for you to share an app that exhibits this issue?

Status: Accepted
Owner: renasr...@gmail.com

renas commented 9 years ago

From tytia...@gmail.com on July 10, 2014 21:48:43

What's you mail address? thanks.

renas commented 9 years ago

From renasr...@gmail.com on July 10, 2014 21:50:11

Please send it to renasreda@gmail.com

renas commented 9 years ago

From tytia...@gmail.com on July 10, 2014 21:56:46

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

renas commented 9 years ago

From tytia...@gmail.com on July 11, 2014 02:04:20

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

renas commented 9 years ago

From renasr...@gmail.com on July 11, 2014 02:05:07

Status: Invalid