I really don't understand what you're trying to achieve exactly, but

myiframe.editEvent

should get you closer, if editEvent is in the AUT.

I'm not surprised your first method stops the tests - you've wiped the location.

HTH
Russ

On 12/23/05, Mark Stosberg <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm trying to take a shortcut in my application testing my directly
> opening a JavaScript function. Here's the basic notation I use:
>
> | open | javascript:editEvent(${eventID}) ||
>
> The JavaScript is executed, but the test hangs, and no more tests are run.
> How can I remedy this?
>
> I tried to hack around by using the built-in JavaScript execution,
> having my JS executed as side-effect:
>
> |  type | hidden_field | javascript{editEvent(storedVars['eventID'])}|
>
> This doesn't work because "editEvent" is not found. Presumably, because
> it's being executed in the context of the test suite page, not the page
> I'm testing.
>
> Are there any direct workaronds, without actually creating a link I
> don't need so I can really click on it?
>
>     Mark
>
>
>
>
> _______________________________________________
> Selenium-users mailing list
> Selenium-users@lists.public.thoughtworks.org
> http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users
>
_______________________________________________
Selenium-users mailing list
Selenium-users@lists.public.thoughtworks.org
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users

Reply via email to