Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Asserting the presence of modal dialog in RAP JUnit Test
Asserting the presence of modal dialog in RAP JUnit Test [message #100450] Tue, 29 July 2008 06:08 Go to next message
Setya Nugdjaja is currently offline Setya NugdjajaFriend
Messages: 567
Registered: July 2009
Senior Member
Hi all,

I need to assert the presence of modal dialog when a certain action is
taken, how do you do that with RAP JUnit Test ?

Any help would be greatly appreciated.

Regards,

Setya
Re: Asserting the presence of modal dialog in RAP JUnit Test [message #100545 is a reply to message #100450] Tue, 29 July 2008 08:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: fappel.innoopract.com

Hi,

how about an indirect approach by checking whether the shell count
increases and if one of the titles of the shell is the expected one?


Ciao
Frank

-----Ursprüngliche Nachricht-----
Von: Setya [mailto:jsetya@gmail.com]
Bereitgestellt: Dienstag, 29. Juli 2008 08:09
Bereitgestellt in: eclipse.technology.rap
Unterhaltung: Asserting the presence of modal dialog in RAP JUnit Test
Betreff: Asserting the presence of modal dialog in RAP JUnit Test

Hi all,

I need to assert the presence of modal dialog when a certain action is
taken, how do you do that with RAP JUnit Test ?

Any help would be greatly appreciated.

Regards,

Setya
Re: Asserting the presence of modal dialog in RAP JUnit Test [message #101021 is a reply to message #100545] Sat, 02 August 2008 10:21 Go to previous messageGo to next message
Setya Nugdjaja is currently offline Setya NugdjajaFriend
Messages: 567
Registered: July 2009
Senior Member
Hi,

> how about an indirect approach by checking whether the shell count
> increases and if one of the titles of the shell is the expected one?

Thanks.

Also, since modal dialogs are blocking in nature, how can I assert them
without first closing them, or should I do this on separate thread ? Is
this the only way to test modal dialogs ?

Regards,

Setya
Re: Asserting the presence of modal dialog in RAP JUnit Test [message #101170 is a reply to message #101021] Tue, 05 August 2008 08:20 Go to previous message
Eclipse UserFriend
Originally posted by: fappel.innoopract.com

Hi,

if you have a blocking dialog using seperate threads seems to me the
only solution.

Ciao
Frank

-----Ursprüngliche Nachricht-----
Von: Setya [mailto:jsetya@gmail.com]
Bereitgestellt: Samstag, 2. August 2008 12:21
Bereitgestellt in: eclipse.technology.rap
Unterhaltung: Asserting the presence of modal dialog in RAP JUnit Test
Betreff: Re: Asserting the presence of modal dialog in RAP JUnit Test

Hi,

> how about an indirect approach by checking whether the shell count
> increases and if one of the titles of the shell is the expected one?

Thanks.

Also, since modal dialogs are blocking in nature, how can I assert them
without first closing them, or should I do this on separate thread ? Is
this the only way to test modal dialogs ?

Regards,

Setya
Previous Topic:Preference Problem of RAP Demo
Next Topic:HTTP Status 404 - ProxyServlet: /organizer
Goto Forum:
  


Current Time: Thu Dec 26 14:20:19 GMT 2024

Powered by FUDForum. Page generated in 0.02719 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top