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 TRAINING
    • PYTHON TRAINING
    • JAVA TRAINING
    • SELENIUM TRAINING
  • Placements
    • Career Guidance
      • Interview Questions
      • Resume Building
      • Job Opportunities
    • OVERALL 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
  • Blogs
    • GENERAL
      • TOP SKILL TO GET A JOB IN MNC
      • INTERVIEW TIPS FOR FRESHERS AND EXPERIENCE
      • TOP TRENDING TECHNOLOGIES
    • DATA SCIENCE
      • MACHINE LEARNING VS DATA SCIENCE
      • DATA SCIENCE INTERVIEW QUESTION AND ANSWER
    • PYTHON
      • WHY LEARN PYTHON
      • JAVA VS PYTHON
      • WHAT IS PYTHON
    • PRIMAVERA
      • LIFECYCLE OF PRIMAVERA
      • EPPM VS PPM
      • PROJECT MANAGEMENT STEPS
    • PMP
      • PMP CERTIFICATION
    • AWS
      • TOP 5 AWS SERVICES
      • AWS VS OPENSTACK
      • AMAZON VS AZURE VS GOOGLE CLOUD
      • WHY DEVELOPERS SHOULD LEARN AWS
    • ANGULAR
      • ANGULAR INTERVIEW QUESTIONS
      • ANGULAR VS REACT VS VUE
    • REACT
      • TOP REASON TO LEARN REACT
    • BLUE PRISM
      • BLUE PRISM VS UI PATH
      • WHAT IS RPA
    • UI PATH
      • RPA CERTIFICATION
    • CLOUD COMPUTING
      • BEST CLOUD COMPUTING SERVICES
    • DEVOPS
      • DEVOPS OVERVIEW
    • NODE JS
      • NODE JS CERTIFICATION
    • HADOOP
      • HADOOP CERTIFICATION
    • AZURE
      • AZURE CERTIFICATION
    • SOFTWARE TESTING
      • HOW TO BECOME A SOFTWARE TESTER
      • MOVE FROM MANUAL TO AUTOMATION TESTING
      • HOW MUCH IS JAVA REQUIRED FOR SELENIUM TESTING
  • 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 TRAINING
    • PYTHON TRAINING
    • JAVA TRAINING
    • SELENIUM TRAINING
  • Placements
    • Career Guidance
      • Interview Questions
      • Resume Building
      • Job Opportunities
    • OVERALL 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
  • Blogs
    • GENERAL
      • TOP SKILL TO GET A JOB IN MNC
      • INTERVIEW TIPS FOR FRESHERS AND EXPERIENCE
      • TOP TRENDING TECHNOLOGIES
    • DATA SCIENCE
      • MACHINE LEARNING VS DATA SCIENCE
      • DATA SCIENCE INTERVIEW QUESTION AND ANSWER
    • PYTHON
      • WHY LEARN PYTHON
      • JAVA VS PYTHON
      • WHAT IS PYTHON
    • PRIMAVERA
      • LIFECYCLE OF PRIMAVERA
      • EPPM VS PPM
      • PROJECT MANAGEMENT STEPS
    • PMP
      • PMP CERTIFICATION
    • AWS
      • TOP 5 AWS SERVICES
      • AWS VS OPENSTACK
      • AMAZON VS AZURE VS GOOGLE CLOUD
      • WHY DEVELOPERS SHOULD LEARN AWS
    • ANGULAR
      • ANGULAR INTERVIEW QUESTIONS
      • ANGULAR VS REACT VS VUE
    • REACT
      • TOP REASON TO LEARN REACT
    • BLUE PRISM
      • BLUE PRISM VS UI PATH
      • WHAT IS RPA
    • UI PATH
      • RPA CERTIFICATION
    • CLOUD COMPUTING
      • BEST CLOUD COMPUTING SERVICES
    • DEVOPS
      • DEVOPS OVERVIEW
    • NODE JS
      • NODE JS CERTIFICATION
    • HADOOP
      • HADOOP CERTIFICATION
    • AZURE
      • AZURE CERTIFICATION
    • SOFTWARE TESTING
      • HOW TO BECOME A SOFTWARE TESTER
      • MOVE FROM MANUAL TO AUTOMATION TESTING
      • HOW MUCH IS JAVA REQUIRED FOR SELENIUM TESTING
  • Contact Us

Datacert – Selenium Interview Questions 2023

  • Home
  • Datacert – Selenium Interview Questions 2023

Datacert – Selenium Interview Questions

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


1. How to switch between frames?

2. How to test a canvas in selenium?

Steps to follow:
  • The canvas element’s toDataURL() method
  • Selenium’s execute_script() method
  • Image compare

3. Why can’t we test a flash in selenium?

4. How to get all the links?(optimesed way without using linktext)

The steps to follow all the links present within the page are working. This can be conveniently done using a combination of the Java for-each loop, findElements() & By.tagName("a") method.

5. How to find the duplicate letter in a word?


Use the below code:
public class DuplicateWord {  
    public static void main(String[] args) {  
        String string = "Big black bug bit a big black dog on his big black nose";  
        int count;  
          
        //Converts the string into lowercase  
        string = string.toLowerCase();  
          
        //Split the string into words using built-in function  
        String words[] = string.split(" ");  
       System.out.println("Duplicate words in a given string : ");   
        for(int i = 0; i < words.length; i++) {  
            count = 1;  
            for(int j = i+1; j < words.length; j++) {  
                if(words[i].equals(words[j])) {  
                    count++;  
                    //Set words[j] to 0 to avoid printing visited word  
                    words[j] = "0";  
                }  
            }  
              
            //Displays the duplicate word if count is greater than 1  
            if(count > 1 && words[i] != "0")  
                System.out.println(words[i]);  
        }  
    }  
}  


6. From which class the thread.sleep is called?


Refer the below code:
 package com.journaldev.threads;
public class ThreadSleep {
    public static void main(String[] args) throws InterruptedException {
        long start = System.currentTimeMillis();
        Thread.sleep(2000);
        System.out.println("Sleep time in ms = "+(System.currentTimeMillis()-start));
    }
}

7. How to upload a file without autoit?

ROBOT API jars is used to upload the file without autoit.

8. Dom and com ?

COM means Component Object Model is a cross-language programming model for the Microsoft Windows platform based on interfaces inheriting from a common ancestor. It providing a way to create, and then dynamically discover and use various software libraries (the components).

COM is a rather complicated technology to learn, full of pitfalls, and heavily based on the Windows registry and GUIDs

11. What is series of errors 200,300,400?(EG 404 page not found error)

  • 200 - If something goes wrong while processing GET
  • 300 - Multiple Choices redirect status response code
  • 400 - Bad Request response status code

12. Have you used macros,vb scripting?

Yes , I used the both for my project, macros having serious of commands, and vb scripting having lightweight scripting language.

13. Jsexecutor is it a class of interface or method and how it works what is its implementation?

JavaScriptExecutor is an Interface.

Within the script, use the document to refer to the current document. Local variables will not be available once the script has finished executing, though global variables will persist.

14. What are the advantages of Automation framework?

Advantages of Automation Framework:
  • Automation framework reduces the cost as well and lowers risks also.
  • Also, It improves test efficiency.
  • Most importantly, lowers the cost of maintenance.
  • It maximizes the test coverage and functionality of the application.
  • It also defines the reusability of code.

15. How to click on a hyper link using linkText?


Refer the below code,
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 ClickLinkText{
   public static void main(String[] args) {
System.setProperty("webdriver.chrome.driver","C:\\Users\\ghs6kor\\Desktop\\Java\\chromedriver.exe");
      WebDriver driver = new ChromeDriver();
      driver.manage().timeouts().implicitlyWait(5, TimeUnit.SECONDS);
      driver.get("https://www.tutorialspoint.com/about/about_careers.htm");
      // identify element with link text then apply click()
      WebElement p=driver.findElement(By.linkText("Privacy Policy"));
      p.click();
      System.out.println("Page title after link click : " + driver.getTitle());
      driver.close();
   }
}

Free PDF : Get our updated Selenium Course Content pdf

16. What does a double slash in a xpath element means?

Relative xpath starts with double slash. In that case you will be first finding unique parent node and path from there to the element.

17. How to sort (Effecient way) – Not bubble sort.?

Steps to follow

1. First of all, Retrieve the List from HTML Table.

2. Store the List in an Array

3. To use swap, sorting the items in array

Swapping is the process of Exchanging the Values.

4. Click on Sort button in the WebPage.

5. TRetrieve the List again.

6. Finally, Compare the Sorted Array generated in Step 3 with the List generated in Step 5.

18. How to find the linux version?

Use the below code for find the linux version find Linux kernel version: uname -r.

19. String reverse.


// Java program to ReverseString using ByteArray.
import java.lang.*;
import java.io.*;
import java.util.*;
 
// Class of ReverseString
class ReverseString {
    public static void main(String[] args)
    {
        String input = "Credosystemz";

        // getBytes() method to convert string
        // into bytes[].
        byte[] strAsByteArray = input.getBytes();
 
        byte[] result = new byte[strAsByteArray.length];
 
        // Store result in reverse order into the
        // result byte[]
        for (int i = 0; i < strAsByteArray.length; i++)
            result[i] = strAsByteArray[strAsByteArray.length - i - 1];
 
        System.out.println(new String(result));
    }
}
Output: 
zmetsysoderc

20. Biggest challenge which you have faced in your automation project and how you over came that?

21. Swap the digits in a number (any scripting language)


		/ Java Program to Swap Two values using third variable
// using temp variable
 
// Importing generic libraries
import java.util.*;
 
class GFG {
 
    // Finction to swap two numbers
    // Using temporary variable
    static void swapValuesUsingThirdVariable(int m, int n)
    {
        // Swapping the values
        int temp = m;
        m = n;
        n = temp;
        System.out.println("Value of m is " + m
                           + " and Value of n is " + n);
    }
 
    // Main driver code
    public static void main(String[] args)
    {
        // Random integerslues
        int m = 9, n = 5;
 
        // Calling above function to
        // reverse the numbers
        swapValuesUsingThirdVariable(m, n);
    }
}
Output
Value of m is 5 and Value of n is 9

		

22. What is the use of java script in application developemtn and what is the need of using java script with selenium?

Javascript is used to makes your webpage interactive. Also, it is text based programming language. It is mainly used for client and server side. HTML, CSS give structure and style to a webpage.

JavaScript offers efficiency with its well built and structured patterns and functions, making the script more compact.

23. What are listeners and what is the use of testNG listener where you have used it in the your frame work?

Listener means the interface that modifies the default TestNG's behavior. Also, Listeners "listen" to the event defined in the selenium script and behave accordingly.

Types of Listeners are
  • IAnnotationTransformer ,
  • IAnnotationTransformer2 ,
  • IConfigurable ,
  • IConfigurationListener ,
  • IExecutionListener,
  • IHookable ,
  • IInvokedMethodListener ,
  • IInvokedMethodListener2 ,
  • IMethodInterceptor ,
  • IReporter,
  • ISuiteListener,
  • ITestListener .

24. How to automate dynamically changing objects in selenium?

  • Absolute Path method.
  • Relative XPath method
  • Identify by index
  • Use Multiple attributes

25. What is your reporting mechanism?

3 methods to Generate Reports in Selenium:
  • TestNG HTML Report Generation.
  • JUnit-Style Report Generation.
  • Generating Extent HTML Reports.

26. Is it possible to integrate bugzilla with selenium for reporting and If yes How to do that?

27. What is OOPS concept – explain?

Object-oriented programming aims to implement real-world entities like inheritance, hiding, polymorphism etc in programming.

The primary purpose of object-oriented programming is to increase the flexibility and maintainability of programs.

28. What is the entry and exit criteria for your automation testing?

Entry Criteria - It means prerequisite items Must be completed before testing can begin

Exit Criteria - the items that must be completed before testing can be concluded.

29. How to estimate time for automation of a functionality/module/application?

Steps to follow:
  • Explore and identify various factors
  • Break the applications like smaller modules
  •  
  • Analyze each module
  • To calculate ROI

30. Write xpath to list all the input elements in a page?


	Use the below code:
WebElement formElement = driver.findElement(By.name("something"));
List allFormChildElements = formElement.findElements(By.xpath("*"));

	
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

TRENDING COURSES

  • Python Training in Chennai
  • Data Science Training in Chennai
  • AWS 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.