Selenium Interview Questions | Eklavya Online

Selenium Interview Questions

What are the different ways of locating a web element in Selenium?

In Selenium, web elements are identified and located with the help of Locators. Locators specify a target location which uniquely defines the web element in the context of a web application. Thus, to identify web elements accurately and precisely we have different types of locators in Selenium: ID ClassName Name TagName LinkText PartialLinkText Xpath CSS …

What are the different ways of locating a web element in Selenium? Read More »

What are the benefits of Automation Testing?

Benefits of Automation testing are as follows. It allows execution of repeated test cases It enables parallel execution Automation Testing encourages unattended execution It improves accuracy. Thus, it reduces human-generated errors It saves time and money.

Explain the difference between assert and verify commands?

Assert: Assert command checks if the given condition is true or false. If the condition is true, the program control will execute the next phase of testing, and if the condition is false, execution will stop, and nothing will be executed. Verify: Verify command also checks if the given condition is true or false. It …

Explain the difference between assert and verify commands? Read More »

What are the advantages of automation testing?

Some basic Advantages of automation testing are as follows. Automation testing supports both functional and performance test on an application. It supports the execution of repeated test cases. It facilitates parallel execution. It aids in testing a large test matrix. It improves accuracy because there are no chances of human errors. It saves time and …

What are the advantages of automation testing? Read More »

Explain XPath Absolute and XPath attributes.

XPath Absolute: XPath Absolute enables users to mention the complete XPath location from the root HTML tag to the specific elements. Syntax: //html/body/tag1[index]/tag2[index]/…/tagN[index] Example: //html/body/div[2]/div/div[2]/div/div/div/fieldset/form/div[1]/input[1] XPath Attributes: XPath Attributes is always recommended when you don’t have a suitable id or name attribute for the element you want to locate. Syntax: //htmltag[@attribute1=’value1′ and @attribute2=’value2′] Example: //input[@id=’passwd’ …

Explain XPath Absolute and XPath attributes. Read More »

Name some of the commonly used Automation Testing tools that are used for Functional Automation.

Lists of top 10 used automation testing tools for Functional Automation are as follows. Teleric Test Studio, Developed by Teleric. TestingWhiz HPE Unified Functional Testing (HP – UFT formerly QTP) Tosca Testsuite Watir Quick Test Professional, provided by HP. Rational Robot, provided by IBM. Coded UI, provided by Microsoft. Selenium, open source. Auto It, Open …

Name some of the commonly used Automation Testing tools that are used for Functional Automation. Read More »