Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Javascript (https://www.askmehelpdesk.com/forumdisplay.php?f=452)
-   -   I am trying to execute form even in JUNIT and it not working (https://www.askmehelpdesk.com/showthread.php?t=182908)

  • Feb 11, 2008, 12:52 PM
    vaseev
    i am trying to execute form even in JUNIT and it not working
    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.sfPar t3.ddl63d.execEvent(\"change\")");

    but the even not activationg the code.
  • Feb 11, 2008, 01:08 PM
    al1012
    Quote:

    Originally Posted by vaseev
    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.sfPar t3.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

  • All times are GMT -7. The time now is 10:21 AM.