TestNG Tutorials 42: Parameters In TestNG or Parameterization of Methods in a TestNG Class

Hello Folks, Arguments or Parameters help us to achieve reusability of codes and cleanliness of codes. We can do overloading of methods using different number, types and order of parameters to serve differently for different set of values. TestNG also allows you to parameterized your tests. We will see how can we achieve parameterisation of methods

Read More

Part 2: Waits in Selenium: Implicit Wait

Hello Folks, In last post, we have learnt about Thread.sleep() method. In this post we will learn: What is implicit wait? How to use implicit wait? What is behavior of implicit wait when element is found before specified time? What is behavior of implicit wait when element is not found and specified wait time expires?

Read More

All about findElement() and findElements() methods

Hello Folks, In this post we will learn: What is findElement() method. What is findElements() method. What is difference between findElement() and findElements() methods. What is common between findElement() and findElements() methods. Exception thrown in case of element is not found. Introduction: A webpage has many elements like button, text box etc. These elements are called

Read More

Tools To Find XPath In Chrome Browser

Hello Folks, We have seen tools to find XPath in Firefox. Those tools were specific to Firefox browser. In this post, we will learn tools to find XPath in Chrome browser. Finding XPath without any tools: You can find XPath and CSS selector of any web element in chrome browser without any tools as well.

Read More

Upload multiple files in Selenium

Hello Folks, This is an advanced concept. Beginners can ignore it as of now. I just found it while automating some functionality in mu company. So just thought of sharing. Note: I assume, you have basic knowledge of AutoIT. During automating the application, we come up with scenarios where we need to upload file. If

Read More

Please wait...

Subscribe to new posts to become automation expert

Want to be notified when my new post is published? Get my posts in your inbox.