Skip Navigation LinksHome Page > Forums > Rapise Forums > Rapise Issues & Questions > Exit from an iframe?
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?
Chrome version: 65
chromedriver version: 2.35.528161
Rapise version: 18.104.22.168
I confirm the issue. And we'll fix it in the next release to work without any tricks.
So far there is a workaround.
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:
This works! Thank you for the workaround and I'm eagerly waiting for the new release!