jnyman/lucid — Issue #5: Cannot Recognize Objects in Frames
Author: jnyman
Created: 2011-12-04 12:32:34+00:00
State: open
Labels: Bug

Currently if objects are enclosed within an iframe or a frame, the web objects will not be recognized.

Using the sample app, declare the following in a test page:

text_field :client_code, :id => "clientCode"
text_field :login_name, :id => "loginName"
text_field :password, :id => "password"
button :login, :id => "btnSubmit"

Then try this:

control = page.client_code_text_field
p control.inspect
page.client_code = "administrator"

The objects will not be found. However, if you try this with web objects that are not enclosed within iframes or frames, everything works properly.