Call Us Now!
+91 9884412301 | +91 9600112302
info@credosystemz.com
Credo SystemzCredo Systemz
  • Courses
    • TRENDING TECHNOLOGIES TRAINING
    • RPA TRAINING
    • CLOUD COMPUTING TRAINING
    • BIG DATA TRAINING
    • WEB DEVELOPMENT TRAINING
    • MOBILE APPLICATION TRAINING
    • SOFTWARE TESTING TRAINING
    • MICROSOFT TECHNOLOGIES TRAINING
    • JAVA TRAINING
    • PROJECT MANAGEMENT TRAINING
    • DATA WAREHOUSING TRAINING
    • ORACLE TRAINING
    • DATABASE DEVELOPER TRAINING
    • OTHER TRAININGS
    • TRENDING TECHNOLOGIES
      Python Training Data Science Training Angular Training React JS Training ORACLE PRIMAVERA TRAINING Machine Learning Training Hadoop Training Amazon Web Services Training DevOps Training Azure Training PySpark Training MEAN Stack Training
    • RPA TRAINING
      Blue Prism Training UiPath Training Automation Anywhere
    • CLOUD COMPUTING
      Amazon Web Services Training AWS with Devops Training Azure Training AZ 104 Azure Administrator AZ 204 Azure Developer AZ 300 Azure Architect AZ 303 Azure Architect AZ 400 Azure Devops Google Cloud Platform Salesforce Training OpenNebula Training OpenStack Training OpenSpan Training
    • BIG DATA TRAINING
      Hadoop Training Big Data Analytics Training Spark Training
    • WEB DEVELOPMENT
      Angular Training Node JS Training React JS Training React Native Training Ionic Framework Training MEAN Stack Training PHP Training JavaScript Training CoffeeScript Training Less JS Training Graphics Design Training HTML Training CSS Training
    • MOBILE APPLICATION
      Android Training iOS Training iOS Swift Training Kotlin Training Flutter Dart Training
    • SOFTWARE TESTING
      Manual Testing Training UFT / QTP Training Selenium Training API Testing Training Selenium with Python Training Perfecto Mobile Testing Training ETL Testing Training JMeter Training LoadRunner Training Performance Engineering Big Data Testing Training Protractor Testing Training
    • MICROSOFT TECHNOLOGIES
      Dot Net Training MVC Framework ASP.NET MVC with Angular SharePoint Training Advanced Excel Training Excel Macro Training Azure Training Azure Infrastructure Solutions AZ 300 Azure Architect
    • JAVA TRAINING
      Core Java Training Java 8 Training Java J2EE Training Advanced Java Training Hibernate Training Spring Training Struts Training
    • PROJECT MANAGEMENT
      Oracle Primavera Training Primavera P6 Online Training Microsoft Project Training PMP Training ITIL Training Prince2 Training Scrum Master Training Business Analytics Training
    • DATA WAREHOUSING
      Tableau Training Power BI Training Qlikview Training Qlik Sense Training Informatica Training Microstrategy Training Teradata Training Cognos Training SAS Training
    • ORACLE TRAINING
      Oracle PL/SQL Training Oracle DBA Training Oracle Apps Technical Training Oracle Apps SCM Training Oracle Apps HRMS Training Oracle Apps Finance Training Oracle RAC Training PeopleSoft HCM Training PeopleSoft Finance Training
    • DATABASE DEVELOPER
      MongoDB Training Apache Cassandra Training Sybase Training Informix Training Performance Tuning Training
    • OTHER TRAININGS
      Ethical Hacking Training C C++ Training Unix Shell Scripting Training Tensorflow Training Data Modeling Training Workday Training PEGA Training Digital Marketing Training CCNA Training Arduino Training Elm Training Go Programming Training Rust Programming Training CYBER SECURITY TRAINING BIZTALK SERVER TRAINING Spoken English Course
  • Fresher Courses
    • ANGULAR TRAINING
    • REACT JS TRAINING
    • PYTHON TRAINING
    • JAVA TRAINING
    • SELENIUM TRAINING
    • FULLSTACK TRAINING
  • Placements
    • Career Guidance
      • Job Opportunities
      • Interview Questions
      • Resume Building
    • RECENT PLACEMENTS
  • About Us
    • Online Training
    • Corporate Training
    • Events
    • Reviews
      • Video Reviews
    • Become an instructor
  • Training
    • Trending Technologies Training
    • RPA TRAINING in Chennai
    • Cloud Computing Training
    • Big Data Hadoop Training in Chennai
    • Web Development Training
    • Mobile Application Training
    • Software Testing Training
    • Microsoft Technologies Training
    • Java Training
    • Project Management Training
    • Data Warehousing Training
    • Oracle Training
    • Database Developer Training
    • Other Training
  • Contact Us
  • Courses
    • TRENDING TECHNOLOGIES TRAINING
    • RPA TRAINING
    • CLOUD COMPUTING TRAINING
    • BIG DATA TRAINING
    • WEB DEVELOPMENT TRAINING
    • MOBILE APPLICATION TRAINING
    • SOFTWARE TESTING TRAINING
    • MICROSOFT TECHNOLOGIES TRAINING
    • JAVA TRAINING
    • PROJECT MANAGEMENT TRAINING
    • DATA WAREHOUSING TRAINING
    • ORACLE TRAINING
    • DATABASE DEVELOPER TRAINING
    • OTHER TRAININGS
    • TRENDING TECHNOLOGIES
      Python Training Data Science Training Angular Training React JS Training ORACLE PRIMAVERA TRAINING Machine Learning Training Hadoop Training Amazon Web Services Training DevOps Training Azure Training PySpark Training MEAN Stack Training
    • RPA TRAINING
      Blue Prism Training UiPath Training Automation Anywhere
    • CLOUD COMPUTING
      Amazon Web Services Training AWS with Devops Training Azure Training AZ 104 Azure Administrator AZ 204 Azure Developer AZ 300 Azure Architect AZ 303 Azure Architect AZ 400 Azure Devops Google Cloud Platform Salesforce Training OpenNebula Training OpenStack Training OpenSpan Training
    • BIG DATA TRAINING
      Hadoop Training Big Data Analytics Training Spark Training
    • WEB DEVELOPMENT
      Angular Training Node JS Training React JS Training React Native Training Ionic Framework Training MEAN Stack Training PHP Training JavaScript Training CoffeeScript Training Less JS Training Graphics Design Training HTML Training CSS Training
    • MOBILE APPLICATION
      Android Training iOS Training iOS Swift Training Kotlin Training Flutter Dart Training
    • SOFTWARE TESTING
      Manual Testing Training UFT / QTP Training Selenium Training API Testing Training Selenium with Python Training Perfecto Mobile Testing Training ETL Testing Training JMeter Training LoadRunner Training Performance Engineering Big Data Testing Training Protractor Testing Training
    • MICROSOFT TECHNOLOGIES
      Dot Net Training MVC Framework ASP.NET MVC with Angular SharePoint Training Advanced Excel Training Excel Macro Training Azure Training Azure Infrastructure Solutions AZ 300 Azure Architect
    • JAVA TRAINING
      Core Java Training Java 8 Training Java J2EE Training Advanced Java Training Hibernate Training Spring Training Struts Training
    • PROJECT MANAGEMENT
      Oracle Primavera Training Primavera P6 Online Training Microsoft Project Training PMP Training ITIL Training Prince2 Training Scrum Master Training Business Analytics Training
    • DATA WAREHOUSING
      Tableau Training Power BI Training Qlikview Training Qlik Sense Training Informatica Training Microstrategy Training Teradata Training Cognos Training SAS Training
    • ORACLE TRAINING
      Oracle PL/SQL Training Oracle DBA Training Oracle Apps Technical Training Oracle Apps SCM Training Oracle Apps HRMS Training Oracle Apps Finance Training Oracle RAC Training PeopleSoft HCM Training PeopleSoft Finance Training
    • DATABASE DEVELOPER
      MongoDB Training Apache Cassandra Training Sybase Training Informix Training Performance Tuning Training
    • OTHER TRAININGS
      Ethical Hacking Training C C++ Training Unix Shell Scripting Training Tensorflow Training Data Modeling Training Workday Training PEGA Training Digital Marketing Training CCNA Training Arduino Training Elm Training Go Programming Training Rust Programming Training CYBER SECURITY TRAINING BIZTALK SERVER TRAINING Spoken English Course
  • Fresher Courses
    • ANGULAR TRAINING
    • REACT JS TRAINING
    • PYTHON TRAINING
    • JAVA TRAINING
    • SELENIUM TRAINING
    • FULLSTACK TRAINING
  • Placements
    • Career Guidance
      • Job Opportunities
      • Interview Questions
      • Resume Building
    • RECENT PLACEMENTS
  • About Us
    • Online Training
    • Corporate Training
    • Events
    • Reviews
      • Video Reviews
    • Become an instructor
  • Training
    • Trending Technologies Training
    • RPA TRAINING in Chennai
    • Cloud Computing Training
    • Big Data Hadoop Training in Chennai
    • Web Development Training
    • Mobile Application Training
    • Software Testing Training
    • Microsoft Technologies Training
    • Java Training
    • Project Management Training
    • Data Warehousing Training
    • Oracle Training
    • Database Developer Training
    • Other Training
  • Contact Us

L&T Selenium Interview Questions 2023

  • Home
  • L&T Selenium Interview Questions 2023

L&T Selenium Interview Questions

Here is the list of Selenium Interview Questions which are recently asked in L&T company. These questions are included for both Freshers and Experienced professionals. Our Selenium Training has Answered all the below Questions.


1. Draw the architecture diagram of selenium implementation in your project

You will create & execute automation scripts on your project. Also, compare it with sample scripts which is you created by your projects in real-time. Then Proceed with the architecture diagram of Selenium implementation in your project,

2. Expalin what SDLC model your using in your project

The top SDLC Model mentioned below,
  • Agile
  • Lean
  • Waterfall
  • Iterative
  • Spiral
  • DevOps
You can explain your SDLC model with some explanation of your project.

3. How can you check whether a particular text present in a webpage? What are the predefined method in selenium for checking this?

Use the below code to check whether a particular text present in web page.

List list = driver.findElements(By.xpath("//*[contains(text(),'" + text + "')]"));
Assert.assertTrue("Text not found!", list.size() > 0);

4. How to check whether the checkbox is selected or in unselected without using?

isSelected() method used to check whether the checkbox is selected or in unselected .

This method gives the Boolean value of true the checkbox is checked. It returns false, the checkbox is unchecked.

5. How to find whether the element is invisible or in hidden?

Use the below program for find whether the element is invisible or in hidden,


import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import java.util.concurrent.TimeUnit;
public class ElementStatus{
   public static void main(String[] args) {
      System.setProperty("webdriver.chrome.driver",
      "C:\\Users\\ghs6kor\\Desktop\\Java\\chromedriver.exe");
      WebDriver driver = new ChromeDriver();
      String url =
      "https://www.tutorialspoint.com/tutor_connect/index.php";
      // to verify if a static dropdown is selected with option isSelected()
      boolean drpdwnStatus = driver.findElement(By.xpath("//select[@name=’selType’]"))
      .isSelected();
      // to verify if an element is present on page with isDisplayed()
      boolean editStatus = driver.findElement(By.xpath("//input[@id=’txtSearchText’]"))
      .isDisplayed();
      // to verify if a button is enabled with isEnabled()
      boolean butnStatus = driver.findElement(By.xpath("//input[@id=’searchSubmit’]"))
      .isEnabled();
      System.out.println("The button status is " + butnStatus);
      System.out.println
      ("The dropdown selected status is" + drpdwnStatus);
      System.out.println("The edit box display status is " + editStatus);
      driver.close();
   }
}

6. Difference between findElement and findElements

FindElementFindElements
Throws NoSuchElementException if the element is not foundReturns an empty list if no matching element is found
Returns the first most web element if there are multiple web elements found with the same locatorReturns a list of web elements
This command is used to uniquely identify a web element within the web page.This command is used to uniquely identify the list of web elements within the web page.

7. How you will handle pop up windows?

Below are used to handle pop up windows,


Driver. getWindowHandles();
Driver. getWindowHandle();

8. What is testng?

TestNG means Test Next Generation is the testing framework. JUnit and NUnit are used to Testing, Its more powerful and easier from its new functionality. TestNG is designed in such a way that it covers all the categories of tests comprising unit, functional and integration.

9. How you are handling keyword driven and data-driven framework in your project?

Keyword driven framework

The Keyword-Driven framework is a technique to externalize keywords or actions that are used in the script in a separate Object Repository which will give positive outcomes like increased code-reusability, reduced script maintenance, and higher portability.

Data driven framework

Data Driven framework is focused on separating the test scripts logic and the test data from each other. Allows us to create test automation scripts by passing different sets of test data.

10. What is mean by hybrid framework?

Data-Driven and Keyword Driven frameworks both are mixed in hybrid frameworks. It is used in increased code reusability, higher portability, reduced cost of script maintenance, better code readability, etc.,

11. How can you upload file in webpage?

Use the below method for upload file in web page.
 
driver.findElement(By.xpath(“input field”)).sendKeys(“path of the file which u want to upload”);
 

12. How you will handle popup in web driver?

You need to use below code,
 
 
String parentWindowHandler = driver.getWindowHandle(); // Store your parent window
String subWindowHandler = null;
Set handles = driver.getWindowHandles(); // get all window handles
Iterator iterator = handles.iterator();
while (iterator.hasNext()){
    subWindowHandler = iterator.next();
}
driver.switchTo().window(subWindowHandler); // switch to popup window
// Now you are in the popup window, perform necessary actions here
driver.switchTo().window(parentWindowHandler);

13. What framework your are using?

Types of frameworks
  • Data Driven Automation Framework
  • Method Driven Automation Framework
  • Modular Automation Framework
  • Keyword Driven Automation Framework
  • Hybrid Automation Framework
You can explain which one you used in your project.

14. How can you handle pagination in Selenium Webdriver?

The syntax is List pagination =driver.findElemnts(By.xpath("//div[@class='nav-pages']//a"));
  • First of all, find the pagination elements by using findElemnts() and store as list of elements.
  • To Get the pagination size.
  • Check whether the pagination exist or not.
  • If pagination exist, make a loop and click until last pagination size.

15. What is Selenium Grid?

Selenium Grid is the one of the important feature in selenium. I can allows to run multiple use cases in multiple machines. Your local machine is running multiple applications, so you want to run your test cases in a remote machine. You need to configure the remote server so that the test cases can be executed there.

Free PDF : Get our updated Selenium Course Content pdf

16. What are all locators?

Types of locators:
  • By CSS ID: find_element_by_id
  • By CSS class name: find_element_by_class_name
  • By name attribute: find_element_by_name
  • By DOM structure or xpath: find_element_by_xpath
  • By link text: find_element_by_link_text
  • By partial link text: find_element_by_partial_link_text
  • By HTML tag name: find_element_by_tag_name

17. Difference between findelements and findelement

findelementsfindelement
It returns all the web elements which match with the locator.For matching with the locators, it returns the first web element
if there are no matching web elements then returned NoSuchElementExceptionif there are no matching web elements then returned empty list.
Find element by XPath will only find one web elementIt will find a collection of elements whose match the locator strategy.

18. How to handle Popup window?

The below two methods are used to handle popup window,

Driver. getWindowHandles()
Driver. getWindowHandle()

19. How to handle alert?

The following methods are useful to handle alerts in selenium:
 
 
driver.switchTo().alert().dismiss(); -  Cancel button clicked in alert box
driver.switchTo().alert().accept(); -  OK button alert
driver.switchTo().alert().getText(); -  Capture the alert message
driver.switchTo().alert().sendKeys("Text"); -  Send data to the alert box

20. Difference between List and set

ListSet
It allows us to add the same or duplicate elements.It doesn't allow us to add the same or duplicate elements.
Implementation classes are LinkedList and ArrayList.Implementation classes are TreeSet, HashSet and LinkedHashSet.
The insert order is followed in listIt doesn’t maintain insertion

21. Why we are using Set for Window Handle?

It is used to store the window id. Because unique window id are used to store. We can use set to store the window id.

22. Explain Map

Java HashMap class implements the Map interface by using a hashtable. It inherits the AbstractMap class and implements the Map interface.

23. Explain Agile methodology

Agile Test plan includes
  • Testing Scope is the first step to create test plan.
  • New functionalities which are being tested
  • Level or Types of testing based on the features complexity
  • Load and Performance Testing
  • To consider the Infrastructure
  • Mitigation or Risks Plan
  • Understanding Resourcing
  • Final thoughts of deliverables and milestones

24. How you are using Testng with Webdriver?

  • To Create a new Java project in Eclipse to write your TestNG test case
  • Add the library to your Java project
  • Create packages for your project
  • Write test case script
  • Run the TestNG test case
  • Run the execution

25. Difference in Testnng over Junit

TestNGJunit
TestNG can run parallel tests.JUnit does not support to run parallel tests.
In TestNG Dependency tests are presentIn Junit dependency tests are missed
TestNG can run parallel tests.not support to run parallel tests.

26. Draw the architecture diagram of your selenium Framework of your project

27. Waterfall model

Waterfall model is a sequential model that divides software development into predefined phases. Also each phase must be completed before the next phase can begin with no overlap between the any phases. This model in every phase is designed for performing specific activity during the Software development life cycle phase.

28. Defect life cycle

Defect life cycle, also called as Bug Life cycle is the journey of a defect cycle, which a defect goes through during its lifetime. It is different from company to company and also every project. It can be varies from software testing process and also depends upon the tools used.

29. SDLC life cycle

Software Development Life Cycle is known as SDLC, it is used to produce high-quality software that meets customer expectations. SDLC have a detailed planof your project which explains how to plan, build, and maintain specific application.

It is the important part of project tracking and controlling. The another name of SDLC is Application Development life-cycle

30. Whether you are handling webtable in your project?

Webtable is used to organize same data on a web page. It is stored in row and column with group of elements. You can explain whether you are handling webtable in your project.
Book a Free Mock Interviews and Test your Selenium skills with our Experts

TOP MNC's SELENIUM INTERVIEW QUESTIONS & ANSWERS

Here we listed all Selenium Interview Questions and Answers which are asked in Top MNCs. Periodically we update this page with recently asked Questions, please do visit our page often and be updated in Selenium.

PHOTON INFOTECH
XERAGO
ACCENTURE
CSS CORP
DATACERT
GLOBAL
TECH MAHINDRA
L&T
ALTIMETRIK
CTS
HEXAWARE
VIRTUSA
AMAZON
ASPIRE
BANK OF AMERICA
XCHANGING
WIPRO
DELL
CSC
HCL
D&B

Related Blogs

Selenium Automation Tester
Salary In India

As the software industry advances, the demand for software testing increases which in turn increases automation testing with selenium.

How Much Java Knowledge Is
Required Foe Selenium Testing

To start with,Software testing is perform analysis to identify and evaluate the developed application meets the Business Requirement

How To Become A
Software Tester

To begin with, Software testing play an important role which is responsible for the testing phase of software development

To become a Selenium Certified professional and join in your dream company, Enroll now for our Best Selenium Training. We help you to crack any levels of Selenium Interviews and We offering Selenium Training with Placement Assistance.

Tags

Selenium Interview Questions | Selenium Java Interview Questions | Automation Testing Interview Questions | Software Testing Interview Questions | Top MNC Interview Questions | Selenium Training Chennai | selenium training institute in chennai

Selenium Course Overview

https://www.youtube.com/watch?v=cSpEBjWvtPo

other top mnc Selenium Interview Q&A

  • Photon Infotech
  • Tech Mahindra
  • Virtusa
  • Wipro
  • Xerago
  • L&T
  • Amazon
  • DELL
  • Accenture
  • Altimetrik
  • Aspire
  • CSC
  • CSS CORP
  • CTS
  • Bank of America
  • HCL
  • Datacert
  • Hexaware
  • Xchanging
  • D&B
  • Global

INDIA LOCATIONS

New #30,Old #16A,
Rajalakshmi Nagar, Velachery,
Chennai - 600 042.
Mobile: +91 9884412301

Plot No.8, Vinayaga Avenue,
Rajiv Gandhi Salai, Okkiampettai(OMR),
Chennai – 600 097.
Mobile: +91 9600112302

Refund/Cancellation Policy

INTERNATIONAL LOCATIONS

USA
Houchin Drive, Franklin, TN -37064
Tennessee
Email: info@credosystemz.com
Web: www.credosystemz.com
Chat With Us

UAE
Sima Electronic Building,
LLH Opposite,
Electra Street – Abu Dhabi
Email: info@credosystemz.com
Web: www.credosystemz.com
Chat With Us

Follow us on





TRENDING COURSES

  • Python Training in Chennai
  • Data Science Training in Chennai
  • Big Data Hadoop Training in Chennai
  • Machine Learning Training in Chennai
  • Selenium Training in Chennai
  • Angular Training in Chennai
  • Oracle Primavera P6 Online Training
  • Mean Stack Training in Chennai
  • DevOps Training in Chennai
  • Microsoft Azure Training in Chennai
  • GCP Training in Chennai

Copyright 2022 CREDO SYSTEMZ | All Rights Reserved.