Re: Testing Wicket's ModalWindow (6.2.0)

77 views
Skip to first unread message

Mike Riley

unread,
Dec 9, 2012, 2:44:37 AM12/9/12
to seleniu...@googlegroups.com
I am not sure just what your "modal window" is, but have you tried switching to the window before searching for the elements.

Providing your Selenium code and the HTML would help get you better answers, because not everything that looks like a window is one, and Selenium doesn't interact with system windows.  I have no clue which case you are dealing with here.

Mike

On Wednesday, November 21, 2012 6:26:15 AM UTC-8, Miles wrote:
I'm trying to test a data entry form that is contained within a Wicket ModalWindow, I'm having trouble getting at the form elements from Selenium. I can find elements on the parent page but not in the child ModalWindow. The exception I'm seeing is...

The element could not be found

My test code seems straightforward, I ask the WebDriver to find the form elements by name but it can't find them. I've tried waiting for the form elements to appear, but that wait times out.

I strongly suspect that I am missing something fundamental, any help would be greatly appreciated.

Thank you
--
Miles

 

ashi...@gmail.com

unread,
Dec 9, 2012, 2:53:05 AM12/9/12
to seleniu...@googlegroups.com
Did you try getting help from selenium IDE. Does IDE able to identify and play recorded steps.

~Ashish
Sent from BlackBerry® on Airtel

From: Mike Riley <lvsk...@cox.net>
Date: Sat, 8 Dec 2012 23:44:37 -0800 (PST)
Subject: [selenium-users] Re: Testing Wicket's ModalWindow (6.2.0)
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/xuw1y17yPTUJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply all
Reply to author
Forward
0 new messages