namjae / robotium

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

ClickonButton fails on buttons only with background images #66

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.open dialog with buttons which have no text and backround specifics.
2.execute solo.clickonbutton(index)
3.

What is the expected output? What do you see instead?
I expect to see a click - nothing happens.

What version of the product are you using? On what operating system?
version 2.1 on Win 7 ,64 bit

Please provide any additional information below.

Original issue reported on code.google.com by yair.oha...@gmail.com on 9 Feb 2011 at 9:58

Attachments:

GoogleCodeExporter commented 9 years ago
Is this reproducable with the SpeedyShopper application?

Original comment by renasr...@gmail.com on 10 Feb 2011 at 6:51

GoogleCodeExporter commented 9 years ago
No - it's a different application.
But it should be fairly simple - Clicking on index which represents the button 
stopped to work.
I tried also solo.getView(R.id.downbutton).clickButton - didn't work also...
Please see attached xml.

Original comment by yair.oha...@gmail.com on 10 Feb 2011 at 1:21

GoogleCodeExporter commented 9 years ago
Thanks for this.

Original comment by renasr...@gmail.com on 10 Feb 2011 at 8:05

GoogleCodeExporter commented 9 years ago
I am not able to reproduce this problem. Have you read:

Why do text and button clicks get wrong?

http://code.google.com/p/robotium/wiki/QuestionsAndAnswers

Original comment by renasr...@gmail.com on 11 Feb 2011 at 7:26

GoogleCodeExporter commented 9 years ago
Great - Just took your latest upload(2.1.1 snapshot) to github- built it and 
tested it on the same issue and it solved it!!!

Prior to that i verified that manifest tags and it had no affect.

AWESOME!

Original comment by yair.oha...@gmail.com on 12 Feb 2011 at 9:17

GoogleCodeExporter commented 9 years ago
Great! :)

Original comment by renasr...@gmail.com on 12 Feb 2011 at 9:22

GoogleCodeExporter commented 9 years ago
This issue has been fixed in Robotium 2.2.

Original comment by renasr...@gmail.com on 21 Feb 2011 at 6:00