Selenium Webdriver Tutorials

How to handle frames in Selenium Webdriver

Occasionally you will encounter the below error when trying to locate an element. One of the reason might be that the element is present within a frame. And when writing a test against them, you can easily get tripped if you’re not paying attention. You cannot directly identify an element present in an iFrame. First we have to switch to the frame and then we can identify the elements present using normal Selenium locators. In this article let’s see how to handle frames in Selenium Webdriver.

Error:

Exception in thread “main” org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {“method”:”id”,”selector”:”tinymce”}

Software Testing
Testing Fundamentals

Different means to Test | What’s your Testing approach or method?

Will you start testing in parallel with development or only after the development is completed? What about testing at the code-level? i.e. code reviews to ensure best practices are followed. Will it only be reviews or will you actually run the application to identify defects? How about utilizing some automation tool to ease the process? Or will it be hybrid?

UFT Recording Modes
UFT Basics

UFT Classes #9: Ease of Automation with different Recording Modes

To begin automation, the first step every tester learns is ‘Record-and-Play’. Why? It’s the easiest 🙂 Also, during automation there will be cases when we need to record object using its properties, or continuous mouse movements, or object’s co-ordinates, or to record images of the object. The purpose defines the type of UFT Recording mode you select.

Interview Q&A Testing Fundamentals

Simple yet Misunderstood. Smoke, Sanity, Retest & Regression Testing!

This topic may seem simple to many, but despite of hundreds of web articles – Smoke, Sanity, Retesting & Regression are the most misunderstood topics in Software Testing. There is enormous amount of literature on the subject, but most of them are confusing. The following article makes an attempt to address the confusion. Before understanding these terminologies, first & foremost you need to understand the concept of Software Build.

Mobile Testing Testing Tools

Popularity counts | Top 11 Mobile Automation Testing tools

The web has seen a dramatic change over the past few years with mobile becoming a big part of the overall experience. Test automation is a key enabler for Agile software development and subsequently for continuous integration and delivery. Automated tests are very useful to test your app “while you sleep”. Many software companies are suddenly challenged with having to provide solid test automation for mobile with its two flavors of mobile web and native apps.

UFT Basics

UFT Classes #6: Object Identification via Mandatory & Assistive properties

As stated in previous post – Textbox, Button, Image, Checkbox, Dropdown, Hyperlink, etc. – everything which is visible in an application is known as “Object”. Automation is all about identifying these “Objects” in the application and the subsequent “Actions” to-be-performed on it. But the question is – How do you identify different ‘Objects’ in the application via HP UFT?