|
|
|
|
|
Re: focus on a specific shell [message #10394 is a reply to message #10361] |
Tue, 16 December 2008 14:08 |
Vincent MAHE Messages: 129 Registered: July 2009 |
Senior Member |
|
|
Brice Laurel a écrit :
> Hi Ketan Patel,
>
> My code is below.
>
> public void testMyRCP() throws Exception{
>
> (1) bot.menu("File").menu("New").menu("Model").click();
> (2) bot.textWithLabel("Name:").setText("myModel");
> (3) bot.menu("Finish").click();
bot.waitUntil(Conditions.shellIsActive("shell"), bot.DEFAULT_TIMEOUT);
> (4) bot.button("Continue").click();
> }
>
>
> (1) This instruction open shell with title "New Model", on this shell
> (2) I type text "myModel" in a text and (3) I click on button "Finish",
> then another shell will open
> (4) when I click on button "Continue", nothing is do. And the the test
> stay on this shell. I don't understand how?
The bot is too quick and doesn't wait for the Finish action to be
finished...
--
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
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03261 seconds