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
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