Hi,
With the only informations you give me, I can't be of any help.
Here is the little test I did (and it works):
public void testChristian() {
URL url = this.getClass().getResource("/fsScanGeraet.html");
setScriptingEnabled(false);
beginAt(url.toExternalForm());
gotoFrame("main_frame");
assertFormPresent("FrmScanGeraet");
}
----- Message d'origine ----
De : Christian Arnold <[EMAIL PROTECTED]>
À : [email protected]
Envoyé le : Lundi, 7 Mai 2007, 11h04mn 28s
Objet : [JWebUnit-users] Can't set working form
Hello,
I'm working on a page, html attatched to this mail (beginning with
fsScanGeraet.html)
The Problem is, that the beginning html is opened with a javascript
(that works) but I cant find the window!
AssertWindowPresentWithTitle("Gerät scannen für Auftrag-Nr. 123");
fails. I tried then gotoWindow() with integer values, with gotoWindow(9)
I finaly found the ScanGeraret.html, but I can't
setWorkingForm("FrmScanGeraet") and also setWorkingForm(0) doesn't work,
Java tells me Index out of Bounds, size: 0
What am I doing wrong? The Page Source is not made by me and I can't
change it!
Best Regards
Christian
Gerät scannen für Auftrag-Nr. 131
Pos.
lfd. Nr.
Geräteart
Art.-Nr.
Gerätebeschreibung
Serien-Nr.
1
2
Terminal
0100000
ZVT700KMM (Aluminium)
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
JWebUnit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users
___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur
Yahoo! Questions/Réponses
http://fr.answers.yahoo.com-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
JWebUnit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users