How To Handle Frames In Selenium Webdriver http://teachyourselftestautomation.com
Hello and welcome to Day 27 - How To Handle Frames In Selenium Webdriver
Today we are talking about frames, iframes, how To Handle Frames In Selenium Webdriver
Practice site - https://www.toolsqa.com/iframe-practi...
What is a frame? Frame is a web page embedded within a parent window or web page
What we will go through in this video is how to switch from parent the frame window and carry out some checks on the frame window then switch back to the parent window and also carry out a function just to so switch back to parent was successful
There are three methods or ways to switch from main window to a frame within that window
1. By Index attribute
We will find all the frames on the web page and by using the index concept we can successfully locate the frame we are interested in. If there are 10 frames then indexing will start at zero so (0,1,2,3,4,5,6,7,8,9....) and so on..
2. By id or frame name attribute
3. webelement attribute, so making use of our usual web locator strategies
How to identify frames using selenium webdriver
1. Right click web element and check the drop down list for reference to 'This Frame' and if present then we can conclude we are dealing with a frame
2. Again right click on element, select 'view page source' from drop down list and on page source page is displayed we will want to hold Ctrl+F and search source page HTML for tag name = iframe and again if it is present in then we are dealing with frames
Please see video for live examples on the above • How To Handle Frames In Selenium Webd...
Don't forget to subscribe if you found this video helpful, support the channel and SUBSCRIBE
Many Thanks
Kevin Owasu Itoe
How To Handle Frames In Selenium Webdriver http://teachyourselftestautomation.com
--------------------------------------------------------------------------------------------------------
#testautomation #teachyourselftestautomation #selenium #java #webdriver
--------------------------------------------------------------------------------------------------------
Follow me @
Facebook: / kevin.itoe.50
Google+: https://plus.google.com/u/0/103559195...
Pinterest: https://www.pinterest.co.uk/owasuik/
My Blog: http://teachyourselftestautomation.com/
My YouTube Channel: https://www.youtube.com/channel/UCbme...
--------------------------------------------------------------------------------------------------------
My Videos:
• Install And Configure Java | Selenium...
• Eclipse Installation | eclipse softwa...
• Java Project Template | Java Projects...
• Download And Configure Selenium | Sel...
• Basic Selenium Test Script To Invoke ...
• Selenium Tutorial | WebDriver Browser...
• Selenium Webdriver Locators | Locator...
• Find Elements On Web Page With Link T...
• How To Validate Xpath And CSS Using B...
• How To Write Customized Xpath In Sele...
• CSS Selector | How To Write Custom CS...
• Preceding-Sibling Xpath | How To Iden...
• How To Handle Static Dropdown Seleniu...
• What Is The Difference Between Absolu...
• Video
• How To Automate Selecting A Checkbox ...
• How To Automate Radio Button In Selen...
• How To Handle Radio Buttons Dynamical...
• How To Handle Alert In Selenium WebDr...
• How To Check Visibility Of Web Elemen...
• How To Handle Calendar In Selenium We...
• How To Manage The Synchronization In ...
• How To Handle Keyboard & Mouse Events...
• How To Handle Dynamic Dropdown In Sel...
• how to handle multiple windows in sel...
• How To Handle Frames In Selenium Webd...
-------------------------------------------------------------------------------------------------------
What Wikipedia says about selenium: https://en.wikipedia.org/wiki/Seleniu...)
What Wikipedia says about test automation: https://en.wikipedia.org/wiki/Test_au...