Exit from an iframe?

Tuesday, April 17, 2018


I have ran on an issue when filling a form with multiple inputs. I am playing the test in Selenium WebDriver since that's what the client requires.

One of the input fields is in an iframe - say the third one from total 5.

I fill in values with DoSetText on the first two, use an XPath with @@@ to select the third input and execute DoSetText to fill in value. Rapise stays stuck in that field and won't continue onto the next one which is located out of the iframe.

I have tried to first fill in the 4 input filed that are not located in the iframe and leave the iframe one as last, but after I fill all the fields I need to press a button  (called 'Apply') to confirm the form submission and Rapise won't click on the button. I guess it somehow stays 'stuck' in the iframe. Is there a trick or any way to get out of the iframe?  


version info

Chrome version: 65

chromedriver version: 2.35.528161

Rapise version:

2 Replies
Wednesday, April 18, 2018
re: StefanMandovski Tuesday, April 17, 2018

Hi AscheN,

I confirm the issue. And we'll fix it in the next release to work without any tricks.

So far there is a workaround.

If you are in JavaScript mode:

SeS('mbtn').DoClick();   // Button inside frame
g_seleniumDriver.SwitchToDefaultContent();   // Switch to root of the page
SeS('noframebtn').DoClick();  // Button outside any frames


In RVL mode:




Wednesday, April 18, 2018
re: inflectra.max Wednesday, April 18, 2018

This works! Thank you for the workaround and I'm eagerly waiting for the new release!

Spira Helps You Deliver Quality Software, Faster and With Lower Risk

And if you have any questions, please email or call us at +1 (202) 558-6885


  • Started: Tuesday, April 17, 2018
  • Last Reply: Wednesday, April 18, 2018
  • Replies: 2
  • Views: 5612