Hi. Hope someone can help. I am new
to software testing and exploring the features in Selenium
0.6.0.
I’m trying to get the fireEvent
action to open a new page on a website using an onclick function but Selenium is
telling me there is a failure.
The message in the log console is
listed below
·
Executing: |open |
http://uat.pandanet.coop/cooptravel | |
·
Executing: |fireEvent |
Header1_Skiing_link | onclick |
·
Unexpected
Exception: name -> Error, number -> -2147024809, description -> Invalid
argument., message -> Invalid argument.
The HTML
code concerned is listed below
<td class="rollover_tabs_small" id="Skiing" vAlign="top"><a href="Controls/#" id="Header1_Skiing_link" onclick="window.open('http://www.whichski.co.uk', 'headerlink_Ski'); return false;">ski</a> </td>
What would be the best way to open this page? Use the clickAndWait action or the onClick? (When the new window opens I will be performing some tests in the newly opened window)
Thanks in
anticipation
Terry
Simpson mailto: terry.simpson-Ul4TO17xXr8@xxxxxxxxxxxxxxxx