#16 sendKeys throwing exception in Windows 2003 server

open
nobody
None
5
2007-07-13
2007-07-13
Anonymous
No

While I am running watij scripts on windows 2003 server edition, on sending enter key through sendKeys method throws: Timeout exception with message, Applicatin with title __ not found.
I am using the code of Watij 3.1.0 release.

This is the code I m using:

setTextField("testParticipantAttributesEditSaveClick", ie,
Frame.DIALOG_0, "input_masterField",

getModuleTypeStringMap().get(ModuleType.MASTER_FIELD_CHARACTER).get(0));
ie.waitUntilReady();
pressEnterKey("testParticipantAttributesEditSaveClick", ie);

---------------------------------------
where the method pressEnterKey is following:
---------------------------------------
public void pressEnterKey(String testCaseName, IE ie) {
try {
ie.sendKeys(LinkTestConstants.ENTER,true);
} catch (Exception e) {
fail("pressing enter key failed for " +
testCaseName);
}
}

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks