Dave,

You need to determine what user interaction activates the java script.
Is it when the user clicks on some HTML element,( a link, a button,
etc), is it when the user enters text in a field, or whatever?

Once you know that key piece of information examine the HTML code for
that element to see what fire event is causing the java script to be
invoked. Then use Watir's fire_event method to simulate that action.

For example the HTML link below would activate a java script function
named "popup()" when the user hovers the mouse over that link. So it
would require Watir to send a fire_event of "onmouseover"

   <a href="#" onmouseover="popup()" >Hover to open a popup</a>


Joe


On May 25, 1:11 pm, dave <[email protected]> wrote:
> ...javascript:MM_goToSubframe('MAINIFRAME','../work/SSRECV?
> USER_FUNCTION_NAME=SSRECV')      Quick Store-to-Store Transfer

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: [email protected]
To unsubscribe: [email protected]

Reply via email to