Hi guys,

First of all, Selenium is cool! :)
It's the only tool that works under Safari, IE and Firefox Win/Mac.
At least the only useful one :)

But there is still space for improvement :)

1. The one that affects me most is:

If web server (IIS/ASP.NET) is running on a slow old test box, its
response times are vary.
E.g. response slows down if .Net's garbage collector kicks in.

Sometimes it cause Selenium's asserts to fail - just because page
is not loaded yet (under Safari, typically).

Sure it is possible to add 'pause' or some kind of 'WaitForElement' call
for each page but I wish that Selenium automatically did another attempt
after some interval in case if assert failed.
I believe it will make easier to write more reliable tests.

Ideally it should be possible to control number of retries and interval
like:

| setRetryCount | 5                | 1500   | try 5 times with 1500ms
interval |
| verifyText    | Upload completed |


2. On other thing that is Firefox specific (both Win/mac are affected) I
believe
I should spend more time researching it.
But I'll describe the problem - just in case if someone had the same issue
and
found the fix for it already.

In some situations (under Firefox only) after button is clicked
(clickAndWait)
Copy of upper frame content (all 3 frames - test runner/test suite/test
case)
got loaded into the bottom frame instead of site being tested.
Sure thing it cause test to fail.
If I stop the test after right after it started and do it manually in the
same
environment (tested site is loaded in the selenium's test frame) it passes
OK.
It works fine under Safari and IE.

HTML tag for the button clicked is:

<input
type="image"
name="_ctl0:page_header__edit_buttons_placeholder1:_ctl0:edit_buttons_:butto
n_repeater_:_ctl1:btn1"
id="_ctl0_page_header__edit_buttons_placeholder1__ctl0_edit_buttons__button_
repeater___ctl1_btn1" accesskey="C"
onclick_code=""
auto_post_back="true"
postback="__doPostBack('_ctl0:page_header__edit_buttons_placeholder1:_ctl0:e
dit_buttons_:button_repeater_:_ctl1:btn1','')"
src="/portal_95/skin/_parts/edit_buttons/images/cancel-enabled.gif"
alt="Cancel"
border="0"
style="height:24px;width:84px;"
/>

And it is not different (except for id/name/etc.) from the button next to it

which works just fine.

3. (is anyone still reading? :))
Firefox again. Sometimes tests fail because of exception:

Error: [Exception... "'Permission denied to get property
XULElement.selectedIndex' when calling method:
[nsIAutoCompletePopup::selectedIndex]"  nsresult: "0x8057001e
(NS_ERROR_XPC_JS_THREW_STRING)"  location: "JS frame ::
http://<...>/selenium/htmlutils.js :: triggerEvent :: line 81"  data: no]
Source File: http://<....>/selenium/htmlutils.js
Line: 81

The test that failed may pass Ok after I start it again.

Something (https://bugzilla.mozilla.org/show_bug.cgi?id=236791 :)
makes me believe that this one is a Firefox issue.

------------------------------
Andrey Yegorov
MetaCommunications Engineering


_______________________________________________
Selenium-users mailing list
[EMAIL PROTECTED]
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users

Reply via email to