Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

GUI tests with Selenium --> problems with context menu and column sorting

hofespetJan 8 2010 — edited Jan 8 2010
Hi,

I use ADF 11.1.1.2.0 and latest available Selenium RC (with Junit)

I do some tests with selenium and Junit to automate some GUI tests.
With the article of John Stegeman and many tries and errors I have solved most of my problems.

There are the two problems which still persists:
1) I can't open a context menu which is placed on af:table (didn't test it with other components as at the moment I do only have context menues on af:table)
I use the same locator than I use to click a row in the table for the selenium.contextMenu but the context menu does not open.
Instead of this the browsers default context menu opens in the very left upper corner of the screen.

2) I want to sort each sortable column of af:table once in asc order and in desc. order.
I use the locator which is recorded by selenium IDE but it seems to work only for the very first column in a table (I mean the most left column in the table).
Also a simple click on the column header (which also performs a sort when I do this manually) does not work.
Even when I record and replay the clicks in Selenium IDE it does not work (except for the first column in the table).

Has anybody already solved this problems and/or can give me some hints?
Because I do not know which detailed information may interresting to help me I'll post it on demand.

regards
Peter
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 5 2010
Added on Jan 8 2010
4 comments
1,681 views