[Selenium-users] newbie asks about firefox js errors

2005-07-15 Thread Robin Becker
when calling method: [nsIAutoCompletePopup::popupOpen]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "JS frame :: http://127.0.0.1:8000/selenium/selenium/htmlutils.js :: triggerMouseEvent :: line 94" data: no]

[Selenium-users] Locators

2005-07-21 Thread Robin Becker
implement an id, but it would be nice to be able to specify these more general locators something like "tag=img src='/images/gobutton.gif' alt='calculate'" -- Robin Becker ___ Selenium-users mailing list Selenium-users@list

Re: [Selenium-users] Locators

2005-07-22 Thread Robin Becker
Daniel Serodio wrote: Robin Becker wrote: A colleague was looking for a way to click on an image so I wrote a simple image locator that used the src attribute. In another page he needed to click on an input of type image and that seemed to need another locator. We could have got round this

[Selenium-users] timeouts

2005-09-08 Thread Robin Becker
happen. Not only do remain tests not get carried out, but any emailing etc also fails to happen. The main problem with this proposal seems to be a rather artificial distinction between waits and other commands; waits can return an error when hell freezes over. -- Robin Becker

[Selenium-users] textarea data with tabs

2005-09-14 Thread Robin Becker
is kind of problem? I am groping towards using javascript to set the td text from a string containing '\t', '\n', '\r' characters. Would that work? -- Robin Becker ___ Selenium-users mailing list Selenium-

Re: [Selenium-users] textarea data with tabs

2005-09-19 Thread Robin Becker
Robin Becker wrote: We're making tests for an application which allows the user to copy a spreadsheet from an excel workbook and paste it into a text area. This causes problems for selenium as the tabs and other formatting information don't seem easy to enter in html. Has anyo

Re: [Selenium-users] ajax, rich text areas and frames

2005-10-14 Thread Robin Becker
rever. It is also fairly easy to patch the eventloop to cause waits to timeout. Even if that happens there's no mechanism for waits to 'fail' (a bigger patch is required). -- Robin Becker ___ Selenium-users mailing

Re: [Selenium-users] ajax, rich text areas and frames

2005-10-14 Thread Robin Becker
D. Woodill wrote: --- Robin Becker <[EMAIL PROTECTED]> wrote: It is alo fairly easy to patch the eventloop to cause waits to timeout. Even if that happens there's no mechanism for waits to 'fail' (a bigger patch is required). -- Robin Becker How about a loop with

[Selenium-users] Problem with store

2005-11-05 Thread Robin Becker
lementById('period').value}|PERIOD the log says that document.getElementById('period') has no properties. -- Robin Becker ___ Selenium-users mailing list Selenium-users@lists.public.thoughtworks.org http://lists.public.thoughtworks

Re: [Selenium-users] Problem with store

2005-11-05 Thread Robin Becker
Mike Williams wrote: Robin Becker wrote: I was able to use storeValue to obtain the value of a hidden filed called period, but failed with store and javascript. ... this failed store|javascript{document.getElementById('period').value}|PERIOD I think that when your JavaScript

[Selenium-users] text in comments?

2005-11-05 Thread Robin Becker
this failed ie assertTextPresent|myhtmltemplate.prep| fails. Am I doing something stupid or are comments ignored? -- Robin Becker ___ Selenium-users mailing list Selenium-users@lists.public.thoughtworks.org http://lists.public.thoughtworks.org/ma

[Selenium-users] open PDF doc sometimes halts run

2005-11-07 Thread Robin Becker
I have a test which opens a PDF document and this sometimes seems to halt the test run. The document is opend in the test pane, but the tests seem to stop. Is there a way round this? -- Robin Becker ___ Selenium-users mailing list Selenium-users

Re: [Selenium-users] open PDF doc sometimes halts run

2005-11-10 Thread Robin Becker
Robin Becker wrote: I have a test which opens a PDF document and this sometimes seems to halt the test run. The document is opend in the test pane, but the tests seem to stop. Is there a way round this? didn't receive any hints on this so decided to do a delayed back function like this

Re: [Selenium-users] Selenium handling of AJAX autocomplete 'virtual' lists

2005-11-15 Thread Robin Becker
be to wrap the XMLHttpRequest object in the target page so it did that for us, but I had already got my own wrapper and had to hack that to provide onSend and onFinish events (my wrapper always finishes perhaps with error/timeout) so I can guarantee that the wait for the async stuff will event

Re: [Selenium-users] Selenium handling of AJAX autocomplete 'virtual' lists

2005-11-16 Thread Robin Becker
Chris Withers wrote: Robin Becker wrote: prepareForAjax|| click|myajaxthingy| waitForAjax|1000|wait on the ajax and then some Are prepareForAjax and waitForAjax things you've added or that are now part of Selenium? If the former, could they become the latter? ;-) Chris I added