TestWise Recorder does not support operations in frames yet. The work around is simple: Ues Watir syntax for operations in frames. Let’s walk through with an example.
Here is a sample page with an iframe embedded, its html source fragment of frames as below:
<IFRAME frameborder='1' id="Frame1" src="/downloads/login_iframe.html" Style="HEIGHT: 100px; WIDTH: 320px; MARGIN=0" SCROLLING="no" >
1. Firstly, we use TestWise recorder to record operations on that page, including controls in the iFrame.

2. Paste into TestWise IDE to create a test case, and run it. We will have get an error on first operations in the frame.

3. Go back the recorder in Firefox, click ‘Watir’ tab, copy operations in the frame.
browser.text_field(:name, "username").set("tester")
browser.text_field(:name, "password").set("TestWise")
browser.button(:value,"Login").click

4. Replace the (iframe) test steps in previous test scripts,
enter_text("username", "tester")
enter_text("password", "TestWise")
click_button("Login")
Then replace browser. with frame(:id, “Frame1”), this tell browser the operations context. Run it, pass!

Complete test script:
require 'rwebspec'
spec "Page with iFrames" do
include RWebSpec::RSpecHelper
before(:all) do
open_browser("http://TestWise.com/demo/page-with-iframes")
end
scenario "Test pages in an iFrame" do
click_link("Link on page")
frame(:id, "Frame1").text_field(:name, "username").set("tester")
frame(:id, "Frame1").text_field(:name, "password").set("TestWise")
frame(:id, "Frame1").button(:value,"Login").click
end
end
