How happy was I to see your email today? VERY! Thanks
works great.
--- Mike Williams <[EMAIL PROTECTED]> wrote:
> vernon viles wrote:
>
> > How do I access the javascript "document" object
> for
> > the current page in the user extensions file.
>
> Replace your
>
> document.getElementBy
selectWindow needs to receive the window ID, not the window name.
The window ID is the value returned by window.open()
Example Javascript:
function OpenPopup() {
// Noticed I removed 'var' here, to make the 'MyWinID' variable global.
MyWinID = window.open("/documentations/some.pdf", "Some
Excerpt from Reference.html:
Without a locator prefix, Selenium uses:
* dom, for locators starting with "document."
* xpath, for locators starting with "//"
* identifier, otherwise
This means that:
xpath=//td[text()='Problems']
is the same thing as:
//td[text()='Problems']
I'm sorry. I am still new at this. It didn't work for me.
I've even changed it to this to see if it made any difference:
click xpath=//[EMAIL PROTECTED]()='Problems']
Could you please explain why you did the following?
Thanks a lot!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[E
Hi All,
At first I want to say that ‘Selenium’ is a grateful program for automatic
testing. Thanks for developers.
But I have one problem. There are many links in the testing site, which loads
PDF document in new window(see script below). So in Selenium I use the
following command: selectWi
Have you tried:
| click | //a[id='Header1_Skiing_link'] |
|
or
simply
| click | link=ski |
|
?
-
Guillaume Boudreau
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Terry SimpsonSent: Monday, October 17, 2005 6:41 AMTo:
selenium-users@lists.public.thoughtworks
Ah, my bad... Monday morning usually
helps!
My problem was that my store baseURL was the 1st row of my
(included) file's table, and thus was not parsed...
Added a title-row to my table fixed my
problem!
-
Guillaume Boudreau
From: David Kemp [mailto:[EMAIL PROTECTED]
Sent: Saturday, Oct
vernon viles wrote:
How do I access the javascript "document" object for
the current page in the user extensions file.
Replace your
document.getElementById('footable')
with
this.page().currentDocument.getElementById('footable')
Alternatively, you could use Selenium's locat
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 li
How do I access the javascript "document" object for
the current page in the user extensions file.
e.g. I have defined a new function that makes use of
code such as:
if(document.getElementById('footable')
{
tabletds=document.getElementById('footable').getElementsByTagName('td');
...
}
else
{
10 matches
Mail list logo