PDA

View Full Version : I am trying to execute form even in JUNIT and it not working


vaseev
Feb 11, 2008, 12:52 PM
I am writing junit code to adobe life cycle form and code needed me to added a JS code to activate the drop down liste.
so I have added code as listed below.

formTester.setFieldValue(this._ddl63d, "Yes");
formTester.executeJavaScript("xfa.form.form1.sfPart3.ddl63d.execEvent(\"change\")");

but the even not activationg the code.

al1012
Feb 11, 2008, 01:08 PM
i am writting junit code to adobe life cycle form and code needed me to added a JS code to activate the drop down liste.
so i have added code as listed below.

formTester.setFieldValue(this._ddl63d, "Yes");
formTester.executeJavaScript("xfa.form.form1.sfPart3.ddl63d.execEvent(\"change\")");

but the even not activationg the code.

I don't know a lot of that yet but I will sumtime soon but what I do know if there is something wrong with it... like are you sure that you are trpeing it in right that could be the problem