Webdriver Tutorial
Handle Frames / IFrames In Selenium WebDriver
Frame is a widely used html web element in web page design. It’s purpose is to include other web pages into current web page. There are two kind of html tags. One is <frame> which is used to add a fixed size and position one, the other is <iframe> which is used to add a …
Selenium XPath Css Selector Example
In selenium, you can use id, name as locator to find Web Elements accurately. But in some cases, id is generated dynamically and name is also not provided. So XPath and Css selector is the most efficient way to locate web elements in such scenario. We will show you examples of using XPath and Css …
WebDriverWait Example
In many selenium test cases you need to use WebDriverWait class. For example when you need to check whether a web element is visible or not, clickable or not, enabled or disabled before perform any actions. This article will show you how to use WebDriverWait class to achieve above tasks with examples.
Selenium Webdriver Page Load Synchronization
When you run selenium test scripts, you may encounter “No Such Element Exception”, “Element Not Found Exception” or “Stale Element Reference Exception”. Some times it is because of the web page element which need to be used is not loaded completely. In selenium, there has below two method to resolve these kind of issues.
Parallel Cross Browser Testing In Selenium Using TestNG
Cross Browser Testing in selenium is used to check whether your web application works correctly or not in various web browsers (Chrome, Firefox, Internet Explorer etc). You can perform this functional test through various method, such as Run Selenium Testing Script In Cloud, setup selenium grid and each node test one web browser. But they …
Parallel Cross Browser Testing In Selenium Using TestNG Read More »
Selenium Keyword Driven And Hybrid Framework
There are three kind of test Framework in Selenium testing. They are Keyword Driven Framework, Data Driven Framework and Hybrid Framework. With these Framework we can separate java code and test data in test program. So your java code is more readable and reusable, the automation script is more portable and scripts maintenance cost will …
WebDriver Event Listener : Take Screenshot On Exception
When you execute selenium automation testing scripts, there are a lot of times that you want to do something when an event happened. For example: Take screenshot when an exception occurred. Monitor and track the web element status after some action take place. Log data before or after an action. Log the navigation url to check if …
WebDriver Event Listener : Take Screenshot On Exception Read More »
Check Broken Links With Selenium WebDriver
Broken link is a url link which is unreachable because of server error. When you browse a url link, the server returns a three bit numeric status code to represent the status of the link. Click here to see detail server returned status code introduction. If the return code is 4XX or 5XX that means there …
Selenium Webdriver Handle Firefox Or Chrome Download Popup
When you use Firefox to download a zip or pdf file in selenium webdriver automation test scripts, you may find a dialog popup which you can not handle always. When you download a pdf use Chrome browser, you may find that it is opened in browser tab instead of being downloaded. In this article, we …
Selenium Webdriver Handle Firefox Or Chrome Download Popup Read More »