Interview Questions For Selenium WebDriver Part 10

Part 10 46 : Can we perform drag and drop operation In Selenium WebDriver? Tell me a syntax to drag X element and drop It On Y element. Answer : Yes, We can perform drag and drop operation using selenium webdriver software testing tool’s Advanced User Interactions API. Syntax Is like below. new Actions(driver).dragAndDrop(X, Y).build().perform(); View Practical Example 47 : … Read more

Creating Object Repository Using Properties File In Selenium WebDriver

In selenium WebDriver software automation testing tool, There Is not any built In facility to create object repository. So maintenance of page objects(Page element locators) becomes very hard If you will write all objects of page on code level. Let me give you one simple example – You have one search button on page of software … Read more

TestNG Assertion assertNotNull With WebDriver Example

As you know, there are many assertions in TestNG and you will find most of them on THIS PAGE. Each of these TestNG assertions are designed to fulfill different kind of conditions. I have described mostly used all assertions with very clear examples with selenium webdriver test. If you will see on that link, you … Read more

TestNG Annotations With Selenium WebDriver Examples

As you know, TestNG is the framework which is very useful to use with selenium WebDriver software testing tool. I have shared all selenium webdriver with testng tutorials on THIS LINK. The main reason behind TestNG’s popularity is we can create and configure test case and test suite very easily for software web application using many … Read more