Difference between findElement() and findElements()


In this post, we will learn the difference between findElement() and findElements(). These are the important methods  which are used for finding elements on the WebPage.

Usage of findElement():

This is used to find the WebElement  like Button, checkbox,radio button etc. on the page.The different locator (id,name,xpath etc.) are used within it to find the elements.
Syntax:
driver.findElement(By.xpath(“XPATH expression”));
driver.findElement(By.id(“Id of element”));
driver.findElement(By.name(“name of element”));


Difference between Webdriver get() and navigate()


In this post,we will see the difference between Webdriver get() and navigate().
We will use Firefox browser in our demos. The same methods will work for all other browsers.
There are 2 ways, you can open the application in the browser.
  1. get() method
  2. navigate() method

What Are The Roles And Responsibilities Of A QA Leader?


The QA leader is one who is like a co-captain of the ship who shares an equal responsibility for getting software out to the customers with high quality, on schedule and matching the expectations.
As a QA lead, there are multiple roles and responsibilities which need to be taken care of. The functional role of QA lead is to lead the quality assurance department of any industry. In today’s world quality is the backbone of any commercial successful product which directly implies that the quality assurance team in any industry play a very significant role.

HADOOP FILE SYSTEM (HDFS) COMMANDS


Ls: List your directories/files on HDFS
[root@quickstart cloudera]# hdfs dfs -ls /
Found 9 items
drwxrwxrwx   - hdfs     supergroup          0 2016-08-10 14:35 /benchmarks
drwxr-xr-x   - hbase    supergroup          0 2016-12-30 22:17 /hbase
drwxr-xr-x   - cloudera supergroup          0 2016-12-29 04:31 /pavantest
drwxr-xr-x   - cloudera supergroup          0 2016-12-29 04:32 /pavantest1
drwxr-xr-x   - cloudera supergroup          0 2016-12-29 04:32 /pavantest2
drwxr-xr-x   - solr     solr                0 2016-08-10 14:37 /solr
drwxrwxrwt   - hdfs     supergroup          0 2016-12-19 22:39 /tmp
drwxr-xr-x   - hdfs     supergroup          0 2016-12-30 23:06 /user
drwxr-xr-x   - hdfs     supergroup          0 2016-08-10 14:37 /var

Followers