Selenium FAQs
Hello Testers,

Welcomes you all to this Selenium FAQs page. This page is designed for both beginner and professional selenium testers, It consists of online trending Selenium FAQs for your reference,

If you have any questions, please post it below and get answered from experts..!!

 
 

How did Selenium tool name originate?

A portable software testing framework designed for web applications, It consists of many fantastic features which makes it easier and simple to learn. It provides a record and playback tool for authoring tests from this there is no need to learn Selenium IDE (test scripting language).

No need to confuse about which language to learn,
Why it is??

Here is the answer;

Selenium also provides a test domain specific language which helps to write the tests in a number of programming languages, that includes C#, Groovy, Java, Perl, PHP, Python, Ruby and Scala. Thus as described above there is no need to learn any test scripting language.

Who named it as Selenium?

Jason Huggins who was the one who started it at first as mentioned above “made a joke in a mail, mocking one of their competitor named Mercury, saying that mercury poisoning can be cured by taking selenium supplements. Thus the developers who received the mail named it as Selenium.

What is the difference between testing Techniques and testing Tools?

Testing Techniques:

It  is a approach which you are going to use for validating the system. The testing approach consists of many different kinds of methods related to the testing product.

For example for validating the functionality of a  testing product you can use any kind of techniques such as System Testing, or End to End testing or Localization testing to measure the quality.

Testing tools:

It  helps to perform the overall testing activity, which is the additional resource to the tester to carryout the testing. Testing can be performed in either two ways such as Manual or Automation.

If you are automation testing then you can make use of the tool. With the tools you can test the application by record and play back or by writing scripts.

There are lot of automated tools available such as QTP or WinRunner for functionality testing and Load Runner for performance testing and Selenium for web application testing.

What is the best way to test the web application?

Web Testing:
Every web application needs to be tested because of many number of bugs and more number of web usability, In simple term checking your web application for potential bugs before moving into production environment is called as Web Application Testing.
Here are the best way to test Web Application,

Functionality Testing:

It is used to check the functional requirements of the application as per the recommendation.

  • Outgoing links
  • Internal links
  • Anchor Links
  • MailTo Links

Usability Testing:

This testing is done by a small group of testers according to the target audience.

  • Test the site Navigation
  • Test the Content
  • Click here for more details about Software Testing
What is Selenium Automation Testing?

Selenium is one of the powerful automation testing tool used to automate web & mobile applications.  The main reason which makes selenium the most powerful tool is its open source availability. It is a set of tool which is used in various scenarios.  Has the facility to support different browser for automation.
A Trending Testing Tool mostly used in IT companies in testing field.

What is Selenium WebDriver?

WebDriver is a web automation framework that allows to execute tests against different browsers. In other words it is a tool which is used for writing automated tests. It also provides a user friendly API which is very much user friendly to understand, read and write the test cases easily.

For more detail read our Complete Selenium WebDriver Architecture
Tagged with: selenium webdriver | selenium webdriver training in chennai | selenium faqs | selenium tutorials for beginners | selenium training with placement assitance in chennai | best selenium testing training institute in chennai

What are the ways used to find elements using Selenium?

Every object or control present in a web page is termed as an element in Selenium. Different ways used to find an element in a web page are as follows,

  • ID
  • Name
  • Tag
  • Attribute
  • CSS
  • Linktext
  • PartialLink Text
  • Xpath etc
Selenium Job Market in India?

Latest Selenium Job Market in India -

  • Global software testing market to reach $50 billion by 2020 – NASSCOM
  • Selenium supports more browsers and languages than any other testing tool
  • Selenium Tester can earn $87,000 –

Selenium is a powerful yet open source testing platform that is being used extensively by some of the largest corporations in the world. It has some distinct advantages like an efficient way to generate test scripts, reusing the scripts, validating functionality and automating the test process and remote testing the software codes. Thus Selenium helps you to take up jobs as a Selenium Testing professionals for very good pay packages taking your career to the next level.

What is Selenese

Selenium Commands also called as Selenese are the commands which runs in your tests. These commands are used to tell the automation engine to perform certain tasks. Check out the important updated topics in Selenium.

Using Selenese the Tester can test broken links, input fields, table data, forms submission.

There are three categories of Selenium commands, They are as follows,

  • Actions
  • Accessors
  • Assertions

Read in detail about all these categories - Understanding Selenium Commands 

What is ISTQB Certification

Indian Testing Board (ITB) is the International Software Testing Qualifications Board (ISTQB) affirmed national board for India. ITB is in charge of the "ISTQB-Certified-Tester" Certification in India

The ISTQB was formally established as an International Testing Qualifications Board in Edinburgh in November 2002. The ISTQB is in charge of the "ISTQB Certified Tester", which is a global capability plot and the capabilities in the plan depend on a syllabus. There is an examination covering the substance of the syllabus. After the examination, each fruitful member gets the "ISTQB-Certified-Tester" authentication.

What is Test plan?

Test Plan – A detailed document that stats about the test strategy, objectives, resources which are required for testing, test schedule, test estimation and test deliverables is called as Test Plan.

In other words it serves as a blue print for testing a project, using this the project will be monitored and controlled by the test manger.

What is Selenium IDE

An Integrated Development Environment in Selenium is named as SeleniumIDE which is the simplest tool in Selenium. It works as a FireFox add-on and also can able to create tests very quickly with the help of record and playback functionality. 

Click here: Selenium IDE Installation Guide 

Differences between Selenium RC and Selenium WebDriver

As a Automation test engineer each and everyone must know about the basic differences between these two. Difference between Selenium RC and Selenium WebDriver an important question which you need to be clear off. This part of the Free Selenium Tutorial will helps you to learn about it,

 1.Browser Control: (Important Point)

2.Speed: (which matters the most)

3.API: (Here is the Point) – Application Program Interface

4.Browser Support: (Headless Support)

Detailed description here -

Differences between Selenium RC and Selenium WebDriver

Why Selenium?

Selenium is probably the best option for automated testing of Websites today. It is becoming increasingly popular and it is the first choice of automation testers as well as organizations for automating the testing of Web-based applications for both the GUI as well as the functionality. Selenium can also be used as a unit testing tool for JavaScript.

Here are the Reasons why Selenium is great to use

What is Cross Browser Testing ?
  • Cross Browser Testing the name itself shows what it is all about, If a web or mobile application is developed, It needs to be tested in different applications for its consistency, quality and make sure there is no issue in the performance.
  • This testing is applicable for both web & mobile applications.
  • Complete tutorial: Cross Browser Testing using Selenium
What is the use of selenium tool in testing?
  • Selenium an open source automation testing tool provides facility to record and playback the testing script.  It can be done without any test scripting language. It uses a test domain language called selenese which helps to write tests in many number of programming languages such as C#,Java, PHP,Ruby and Scala.

Uses of Selenium RC

·         To run a test against different browsers and also on different operating systems.

·         The test can be deployed in multiple environments using Selenium Grid.

·         Used to test against new browser which supports JavaScript.

 

·         Also complex AJAX based web application scenarios can also be tested.

What is Selenium 1 and Selenium 2 ?

The combination of Selenium RC and WebDriver is popularly known as Selenium 2 & Selenium RC alone is referred as Selenium 1.

What are the languages supported by Selenium WebDriver?

Python, Ruby, C# and Java are all supported directly by the development team. There are also WebDriver implementations for PHP and Perl.

What is the difference between Assert and Verify?

Assert it is used to verify the result. If the test case fails then it will stop the execution of the test case there itself and move the control to other test case.

Verify it is also used to verify the result. If the test case fails then it will not stop the execution of that test case.

What are the annotations used in TestNG?

@Test, @BeforeSuite, @AfterSuite, @BeforeTest, @AfterTest, @BeforeClass, @AfterClass, @BeforeMethod, @AfterMethod

Difference between Find Element & Find Elements

Both methods are abstract method of WebDriver interface and used to find the WebElement in a web page.

Find Element () – it used to find the one web element. It return only one WebElement type.

FindElements () it used to find more than one web element. It returns List of WebElement.

Can you give me a Clear Selenium RC Architecture ?
Where I can get updates about latest Selenium Jobs in Chennai?

Sure You'll be Updated

We having a separate page for updates about Selenium Job in Chennai and for others as well.

How to get the width of a Textbox?

driver.findElement (By.xpath (“xpath of textbox”)).getSize().getWidth ();

driver.findElement (By.xpath (“xpath of textbox”)).getSize().getHeight();

How do perform drag and drop using WebDriver?

Use Action class

Actions act = new Actions (driver);

WebElement source = driver.findElement (By.xpath (“”)); //source ele which you want to drag

WebElement target = driver.findElement (By.xpath (“”)); //target where you want to drop

act.dragAndDrop(source, target).perform();

Why learn Selenium with Java?

Selenium is a most popular testing tool which provides many facilities than any other paid tools, as we all know selenium is compatible with many programming languages such as Java, C#, PHP,Python etc. It is always an advantage to learn  Selenium with Java

  • Selenium is written in Java, hence it is needed to know Java to learn Selenium
  • Experts used to work with Java

 

Tagged with: selenium faqs | selenium interview questions | selenium expert answers | selenium experienced interview questions | selenium real time interview questions | selenium webdriver interview questions | selenium tricky interview questions