[webtest][JIRA] Created: (WT-588) invoking javascript present in html under test from canoo

"janardhan (JIRA)" <[email protected]>
Newsgroups gmane.comp.web.canoo.webtest
Message-ID <3382980.1366811362096.JavaMail.nobody@dell1>
invoking javascript present in html under test from canoo
---------------------------------------------------------

         Key: WT-588
         URL: http://webtest-community.canoo.com/jira/browse/WT-588
     Project: WebTest
        Type: Task

    Reporter: janardhan


we want to call a javascript function from canoo script to fill the object which is declared in html file invoked by Canoo. In the response, we want to use the value changed by javascript function.

Below snippet explains our usecase better:
<html>
               <head>
                             <script>
                                      var globalObject = null;

                                     onLoad()
                                             {
   
                                                 //globalObject  will be used here
                                             }
                                   //we want function updateGlobalObject() to be called before onload function triggers
                                    function updateGlobalObject(obj)
                                            {
                                                 globalObject =obj;
                                            }

                          </script>
              </head>
</html>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.