Skip to main content

MIDlet GUI Test

3 replies [Last post]
thiagofiora
Offline
Joined: 2009-01-22
Points: 0

Hi,

I work at a Test House and now, we want to begin mobile test too. But it looks like do not exist yet a good framework (at least i did not find......) for GUI (lcdui, lwuit,...) testing.

I want something like Abbot ( http://abbot.sourceforge.net/doc/overview.shtml ) that permits me, in its own description, "getting references to GUI components and either performing user actions on those components or making some assertions about their state".

First, I want to know if anyone knows a tool that do mobile GUI tests.

Second, Is possible to access the GUI elemets of another MIDlet??

Thanks in advance,
Fiora.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jaywayjohan
Offline
Joined: 2008-06-18
Points: 0

Hi Fiora,

I have not found any framework that comply to your requirements.

It is not possible to access a GUI element in another MIDlet. In fact MIDlet to MIDlet communication is not available in MIDP 2.0, but will be in MIDP 3.0.

Regards
Johan

thiagofiora
Offline
Joined: 2009-01-22
Points: 0

Thanks Johan.

Well, seems tha MIDP 3.0 do not have a date to be "Final Release".

jaywayjohan
Offline
Joined: 2008-06-18
Points: 0

Hi Fiora,

I think that no manufacturer will implement it until it gets final. It could be years before we see this implemented on real phones.

I think one solution could be to test the logic using JUnit and/or JMUnit. From my experience, not so much will fail with the pure GUI code. But to do this in an effective way, you will have to have a clean separation of the logic from the GUI code. The MVC pattern is one possible solution.

Regards
Johan