austgl / robotium

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

Sub-menu not displayed when clicking menu item #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. solo.sendKey(Solo.MENU);
2. solo.clickOnText("Channels");
3. assertTrue(solo.searchText("Pick a channel"));

What is the expected output? What do you see instead?
Sub-menu should be displayed. Assertion should pass.

What version of the product are you using? On what operating system?
1.6.0 on Windows XP

Original issue reported on code.google.com by dave.h...@gmail.com on 4 Aug 2010 at 1:27

GoogleCodeExporter commented 9 years ago
Thanks for this issue. Can you please further explain what is wrong? When you 
do a clickOnText("Channels") does you application show a text that says "Pick a 
channel"? Is the problem that nothing happens when using 
clickOnText("Channels")?

Original comment by renasr...@gmail.com on 4 Aug 2010 at 1:55

GoogleCodeExporter commented 9 years ago
Sorry, I somehow forgot to put the actual behaviour!

Basically nothing happens in the emulator. The submenu is not displayed, and 
the searchText never returns so my test hangs.

I'm new to Robotium, so this may be an user issue. Have you successfully 
interacted with submenus?

Original comment by dave.h...@gmail.com on 4 Aug 2010 at 1:59

GoogleCodeExporter commented 9 years ago
Can you get anything to work? Or nothing at all happens when using the various 
Robotium methods? It seems as if this is a configuration problem. Have you 
tried to install and use the example test project from our getting started page?

Original comment by renasr...@gmail.com on 5 Aug 2010 at 9:33

GoogleCodeExporter commented 9 years ago
@dave.hunt: Maybe what you were trying is something along the lines of:

solo.clickOnMenuItem("Channels");
assertTrue(solo.searchText("Pick a channel"));

or

solo.clickOnMenuItem("More");//be careful, depends on your locale
solo.clickOnText("Channels");
assertTrue(solo.searchText("Pick a channel"));

Perhaps this will give you some insight into if this is actually a Robotium bug 
or not. The searchText hanging sounds like one, though it can take a really 
long time to stop looking (1 minute even).

Original comment by ezelspin...@gmail.com on 8 Aug 2010 at 1:55

GoogleCodeExporter commented 9 years ago
Do you have cases where searchText() takes 1 minute to stop looking? I would 
really like to see that because that is definitely a bug. I am planning on 
releasing a maintenance release of Robotium soon and want to have as many bugs 
as possible fixed by then. 

Original comment by renasr...@gmail.com on 9 Aug 2010 at 7:46

GoogleCodeExporter commented 9 years ago

Original comment by renasr...@gmail.com on 12 Aug 2010 at 4:41

GoogleCodeExporter commented 9 years ago
Sorry for the lack of response on this - I haven't had a moment to return to 
the Android testing. You can probably ignore this issue until either I can 
provide further details or evidence, or somebody else experiences it.

Original comment by dave.h...@gmail.com on 12 Aug 2010 at 4:48

GoogleCodeExporter commented 9 years ago

Original comment by renasr...@gmail.com on 12 Aug 2010 at 4:51