Veneet a écrit :
Hi Guys,,



As no reply has been sent from Ketan...from the past Few days

I would request any one to reply to This Thread

cause i urgently need Help on how to Activate a shell
http://www.nabble.com/file/p19793596/Successful%2BOUTPUT.png

i need to know why ami gettinga widget not found exception When i try to
Click on the Button In the Shell  named "Hi"

I proposed a new "ShellIsActive" condition for the waitUntil() function which has been added to the SVN.

Getting last version of SWTBot from SVN, you may be able to write:

   bot.waitUntil(Conditions.shellIsActive("Hi"), 5000);
   bot.button("Press me").click();

So your test wait for the dialog before it search the button.
i have used one of Ketans Example to write A complete Test Code

1.Which Creates an ew Java Project
2. Insert a  Helloworld.java file
3.  Edit the FIle
4.Execute it
5.Opening The  shell with Text "Hi"

as soon as i open the Shell


i call
           bot.shell("Hi").activate();
           bot.button("Press me").click();

  it throws a WidgetNotFoundException   saying it cannot locate the Shell





Reply at the Earlliest

 Thanx in Advance


B
bbye









****************************************************************************


Veneet wrote:
hi guys

  could you kindly tellme how to test my SWtT application

on Eclipse 3.4(ganymede)

Since all the Examples provided on the Site are for Plugin Projects

I am new To The Testing Scenario

so any code snippets or Links will be very helpful

REPLY::At the Eariest


bye


p.s:  thanks Ketan



Warm Regards

Veneet Raina
Member Technical Team
TBS

"We are what we repeatedly do. Excellence, then, is not an act, but a
habit."  - Aristotle

-------------------------------------------------------------------------
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
SWTBot-users@lists.sourceforge.net
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

-------------------------------------------------------------------------
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
SWTBot-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swtbot-users
http://swtbot.org/ - a functional testing tool for SWT/Eclipse

Reply via email to