Hello Kethan
   How do you deal wih the images in the Eclipse,
   Please let me know

Regards
Nawaz Ahmed

sheetal singh a ?crit :
> Hi All, Can anybdy inform me that SWTBot Test run in UI or Non UI
> thread. A little desc on this will b a gr8 help for me.
You must launch SWTBot tests in a non UI thread, because the test
execution is synchronous so it blocks itself, waiting for next step.
See how the user guide proceeds for launch:

 private static void startApplicationInAnotherThread() {
   new Thread(new Runnable() {
     public void run() {
       new MyApplication().main(new String[] { "some", "command", "line",
"arguments for your application" });
     }
   }).start();
 }

> --
> [EMAIL PROTECTED]
> Sheetal Singh
> Member Technical Staff
> Techblue Software Pvt. Ltd.
> 770,Udyog Vihar Ph 5,
> Gurgaon-122016
> INDIA
>
> ------------------------------------------------------------------------
> View this message in context: SWTBot run in UI or Non UI Thread??
> <
http://www.nabble.com/SWTBot-run-in-UI-or-Non-UI-Thread---tp20125909p20125909.html
>
> Sent from the SWTBot Users List mailing list archive
> <http://www.nabble.com/SWTBot-Users-List-f35572.html> at Nabble.com.
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
> Build the coolest Linux based applications with Moblin SDK & win great
prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ------------------------------------------------------------------------
>
> _______________________________________________
> SWTBot-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/swtbot-users
> http://swtbot.org/ - a functional testing tool for SWT/Eclipse
>
>


--
Cordialement

Vincent MAH?

Ing?nieur Plate-forme OpenEmbeDD - http://openembedd.org
IRISA-INRIA, Campus de Beaulieu, 35042 Rennes cedex, France
T?l: +33 (0) 2 99 84 71 00, Fax: +33 (0) 2 99 84 71 71

-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 2
Date: Thu, 23 Oct 2008 14:30:58 +0530
From: Ketan Padegaonkar <[EMAIL PROTECTED]>
Subject: Re: [SWTBot-users] Any Spy in SWTBot
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes


On 23-Oct-08, at 1:06 PM, nawaz ahmed wrote:
>
>   Is there any SWTbot Spy for detecting the SWT Application
> compnenets as you find in the other testing tool?
>   if so how do I start it or use it?


Yes there is a spy bundled with SWTBot, which I'd use long time ago,
it still works though. It only tells you the complete path to a widget
and some additional information about the widget, nothing more.

You'll need to checkout the project "net.sf.swtbot.spy" project from
svn, and take a look at the SwtSpyTest example. To enable/disable the
spy, you need to press CTRL+SHIFT keys.

But you should almost always never need a spy for most things.

-- Ketan




------------------------------

Message: 3
Date: Thu, 23 Oct 2008 14:30:58 +0530
From: Ketan Padegaonkar <[EMAIL PROTECTED]>
Subject: Re: [SWTBot-users] Any Spy in SWTBot
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes


On 23-Oct-08, at 1:06 PM, nawaz ahmed wrote:
>
>   Is there any SWTbot Spy for detecting the SWT Application
> compnenets as you find in the other testing tool?
>   if so how do I start it or use it?


Yes there is a spy bundled with SWTBot, which I'd use long time ago,
it still works though. It only tells you the complete path to a widget
and some additional information about the widget, nothing more.

You'll need to checkout the project "net.sf.swtbot.spy" project from
svn, and take a look at the SwtSpyTest example. To enable/disable the
spy, you need to press CTRL+SHIFT keys.

But you should almost always never need a spy for most things.

-- Ketan




------------------------------

Message: 4
Date: Thu, 23 Oct 2008 01:28:28 -0700 (PDT)
From: sheetal singh <[EMAIL PROTECTED]>
Subject: Re: [SWTBot-users] SWTBot run in UI or Non UI Thread??
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii


Ok, then what happen if we run test in a UI Thread.
Will it make any diff in test.

sheetal singh wrote:
>
> Hi All,
>
>
> Can anybdy inform me that SWTBot Test run in UI or Non UI thread.
> A little desc on this will b a gr8 help for me.
>


-----
--
[EMAIL PROTECTED]
Sheetal Singh
Member Technical Staff
Techblue Software Pvt. Ltd.
770,Udyog Vihar Ph 5,
Gurgaon-122016
INDIA
--
View this message in context:
http://www.nabble.com/SWTBot-run-in-UI-or-Non-UI-Thread---tp20125909p20126611.html
Sent from the SWTBot Users List mailing list archive at Nabble.com.




------------------------------

Message: 5
Date: Thu, 23 Oct 2008 14:30:58 +0530
From: Ketan Padegaonkar <[EMAIL PROTECTED]>
Subject: Re: [SWTBot-users] Any Spy in SWTBot
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes


On 23-Oct-08, at 1:06 PM, nawaz ahmed wrote:
>
>   Is there any SWTbot Spy for detecting the SWT Application
> compnenets as you find in the other testing tool?
>   if so how do I start it or use it?


Yes there is a spy bundled with SWTBot, which I'd use long time ago,
it still works though. It only tells you the complete path to a widget
and some additional information about the widget, nothing more.

You'll need to checkout the project "net.sf.swtbot.spy" project from
svn, and take a look at the SwtSpyTest example. To enable/disable the
spy, you need to press CTRL+SHIFT keys.

But you should almost always never need a spy for most things.

-- Ketan




------------------------------

Message: 6
Date: Thu, 23 Oct 2008 03:26:09 -0700 (PDT)
From: sheetal singh <[EMAIL PROTECTED]>
Subject: Re: [SWTBot-users] I am out of the office.
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii


gr8


Qin Yue Chen wrote:
>
>
> I will be out of the office starting  2008-10-22 and will not return until
> 2008-10-23.
>
> I am in vacation. I am not available for mail.
> My mobile number is 13916810415.Jia Sheng([EMAIL PROTECTED]) and
> Zhe([EMAIL PROTECTED]) are my backup.
> Jia Sheng is my backup.
> His mailbox is [EMAIL PROTECTED]
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> SWTBot-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/swtbot-users
> http://swtbot.org/ - a functional testing tool for SWT/Eclipse
>
>
>


-----
--
[EMAIL PROTECTED]
Sheetal Singh
Member Technical Staff
Techblue Software Pvt. Ltd.
770,Udyog Vihar Ph 5,
Gurgaon-122016
INDIA
--
View this message in context:
http://www.nabble.com/I-am-out-of-the-office.-tp20109447p20128297.html
Sent from the SWTBot Users List mailing list archive at Nabble.com.




------------------------------

Message: 7
Date: Thu, 23 Oct 2008 17:13:38 +0530
From: "nawaz ahmed" <[EMAIL PROTECTED]>
Subject: Re: [SWTBot-users] SWTBot-users Digest, Vol 8, Issue 27
To: [email protected]
Message-ID:
       <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

> Hello,


   Thanks for your reply,
   Here I am starting the Swt application using the Batch file.
   Since this Application requires some initial settings to be set before
starting it.
   So i have typed the below code:

   *

new* Thread(*new* Runnable()

{

*     public* *void* run()

   {

*    try*

   {

             Process p=Runtime.*getRuntime*().exec("cmd /C start
C:/Sonicnew/MQ7.6/bin/startmc.bat");

   }

*    catch* (IOException e)

   {

            System.*out*.println("Exception in launching the application"
+e.getMessage());

   }

 }

 }).start();
     So after the SWT application is started. It fails to identify the
widget i.e

*    ( (screennet.sf.swtbot.widgets.WidgetNotFoundException*: Couldnt find
widget with text Create Connection) message is displayed .. and it does not
proceed further.

   Tell me if the application is designed using Swings instead of SWT. Will
SWTBot work on it or not?

Thanks and Regards,

Nawaz Ahmed









>
>
> Date: Thu, 23 Oct 2008 09:59:43 +0200
> From: Vincent Mahe <[EMAIL PROTECTED]>
> Subject: Re: [SWTBot-users] Any Spy in SWTBot
> To: [email protected]
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> nawaz ahmed a ?crit :
> > Hello Kethan and all other SWTBot Users,
> >    In the last mail I have requested for the SWT Recorder.
> >    I dont want to use it as it slows down my PC and as per Kethans
> > suggestions its not the good idea to use it.
> >
> >    The reason why I have requested for the recorder is because I am
> > facing problem in one application (designed usinf SWT) i.e SWT
> > application,
> >    Whenever I run the SWTBot Test case on that application it stops
> > runnig displaying the message
> >    "Could not find the widget".
> >    That is it opens the first window of the application and stop
> > runnning further displaying the above message. (Message: Could not
> > find the widget)
> >    Neither it is able to detect any buttons or other controls in the
> > first window.
> >
> >    Could you please let me know how do it handle this problem or how
> > do I proceed?
>
> Do you launch the test inside a non UI thread? if not, you must, because
> the test execution is synchronous so it blocks itself, waiting for next
> step.
> See how the user guide proceeds for launch:
>
>  private static void startApplicationInAnotherThread() {
>    new Thread(new Runnable() {
>      public void run() {
>        new MyApplication().main(new String[] { "some", "command", "line",
> "arguments for your application" });
>      }
>    }).start();
>  }
>
>
> >    On using the recorder My PC was slow and I could not go further.
> >    Is there any SWTbot Spy for detecting the SWT Application
> > compnenets as you find in the other testing tool?
> >    if so how do I start it or use it?
> >
> >    Please I need a help in this regard as i am not able to proceed
> > with my work?
> >    Eagerly waiting for you reply.
> >
> > Thanks and Regards
> > Nawaz Ahmed
> >
> >
> > ------------------------------------------------------------------------
> >
> >
-------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> > Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the
> world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > SWTBot-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/swtbot-users
> > http://swtbot.org/ - a functional testing tool for SWT/Eclipse
> >
> >
>
>
> --
> Cordialement
>
> Vincent MAH?
>
> Ing?nieur Plate-forme OpenEmbeDD - http://openembedd.org
> IRISA-INRIA, Campus de Beaulieu, 35042 Rennes cedex, France
> T?l: +33 (0) 2 99 84 71 00, Fax: +33 (0) 2 99 84 71 71
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>
> ------------------------------
>
> _______________________________________________
> SWTBot-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/swtbot-users
>
>
> End of SWTBot-users Digest, Vol 8, Issue 27
> *******************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

------------------------------

_______________________________________________
SWTBot-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/swtbot-users


End of SWTBot-users Digest, Vol 8, Issue 28
*******************************************
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
SWTBot-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/swtbot-users
http://swtbot.org/ - a functional testing tool for SWT/Eclipse

Reply via email to