I have an HTML page that executes a search, returning the results (an
HTML table) via an 'AJAX call' which renders the table in a <div> tag on
the page.  The TR tags of the AJAXed table have a unique id and an
onClick attribute.  When using the <clickElement> tag in my WebTest
script, the onClick event is not executed. The <clickElement> step is
successful, just the javascript for the onClick was not run.  
 
Is this a limitation of the HTML/JavaScript engine that it won't execute
events associated with dynamically rendered elements (elements that were
not on the page originally)?
 
Thanks
 
Sam

NOTICE: This e-mail and any files transmitted with it may contain confidential 
or privileged information that is intended only for the use of the individual 
or entity to whom they are addressed. This information should be treated with 
the appropriate level of security to preclude the disclosure of sensitive or 
privileged information.  If you are not the intended recipient, you are hereby 
advised that any disclosure, copying, distribution, or the taking of any action 
in reliance on the contents of this information is prohibited. If you have 
received this e-mail in error, please notify the sender, delete this e-mail 
from your machine's memory, and destroy the hardcopy information. Thank you.

Reply via email to