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

CSS Corp – Selenium Interview Questions 2023

  • Home
  • CSS Corp – Selenium Interview Questions 2023

CSS Corp – Selenium Interview Questions

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


1. Write Palindrome – code


Java implementation of the approach
public class GFG {
 
    // Function that returns true if
    // str is a palindrome
    static boolean isPalindrome(String str)
    {
 
        // Pointers pointing to the beginning
        // and the end of the string
        int i = 0, j = str.length() - 1;
 
        // While there are characters to compare
        while (i < j) {
 
            // If there is a mismatch
            if (str.charAt(i) != str.charAt(j))
                return false;
 
            // Increment first pointer and
            // decrement the other
            i++;
            j--;
        }
 
        // Given string is a palindrome
        return true;
    }
 
    // Driver code
    public static void main(String[] args)
    {
        String str = "geeks";
 
        if (isPalindrome(str))
            System.out.print("Yes");
        else
            System.out.print("No");
    }
}
Output: 
No

2. Print all 111, 222,…999 no’s.. Code

3. How to Handle drop down?


		String mainPage = driver.getWindowHandle();
 Alert alt = driver.switchTo().alert(); // to move control to alert popup
  alt.accept(); // to click on ok.
 alt.dismiss(); // to click on cancel.
 //Then move the control back to main web page-
  driver.switchTo().window(mainPage); → to switch back to main page.

		

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


		driver.findElement(By.linkText(“facebook”)).click();
driver.findElement(By.partialLinkText(“aceb”)).click();
		

5. What is a framework?

A framework is also known as software framework, is a platform that provides a foundation for developing software applications. In this platform the program that can be selectively modified by adding code.

A framework is generally more comprehensive than a protocol and more prescriptive than a structure.

6. Can WebDriver test Mobile applications?

Yes!!. Webdriver test mobile applications.

7. How can we get a text of a web element?


		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 GetElementText{
   public static void main(String[] args) {
System.setProperty("webdriver.chrome.driver","C:\\Users\\Credo\\Desktop\\Java\\chromedriver.exe");
      WebDriver driver = new ChromeDriver();
      driver.manage().timeouts().implicitlyWait(5, TimeUnit.SECONDS);
      driver.get("https://www.credosystemz.com/");
      // identify element
      WebElement p=driver.findElement(By.xpath("//h1"));
      //getText() to obtain text
      String s= p.getText();
      System.out.println("Text content is : " + s);
      driver.close();
   }
}

		

8. How do I launch the browser using WebDriver?


Use the code:
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
public class ChromeLaunch{
   public static void main(String[] args) {
      WebDriver driver = new ChromeDriver();
      String url = " https://www.credosystemz.com/";
      driver.get(url);
   }
}

Free PDF : Get our updated Selenium Course Content pdf

9. How to switch between windows?

10. Reason for leaving previous company

Confidently say positive answers for leaving previous company like looking for career growth, interested to learn new skills, work with new environment. Also interested to work with new challenges.

11. Draw framework diagram in your project

12. Explain the Type of reports?

Top 5 Important reports are,
  • Formal or Informal Reports
  • Short or Long Reports
  • Informational or Analytical Reports
  • Proposal Report
  • Vertical or Lateral Reports

13. When should I use Selenium Grid?

Uses:
  • It is used to runs test cases on different version of browsers on different OS simultaneously.
  • we can multiple test cases simultaneously ensuring speedy execution.
  • different versions of browsers and OS

14. What are the testing types that can be supported by Selenium?

Testing types which is supported by selenium are,
  • Functional Testing.
  • Regression Testing.
  • Sanity Testing.
  • Smoke Testing.
  • Responsive Testing.
  • Cross Browser Testing.
  • UI testing (black box)
  • Integration Testing.

15. What is Selenese?

Uses:
  • It is used to runs test cases on different version of browsers on different OS simultaneously.
  • we can multiple test cases simultaneously ensuring speedy execution.
  • different versions of browsers and OS

16. What is difference between assert and verify commands?

We use Assert when we have to validate critical functionality.Require the test method to continue execution even after the failure of the assertion statements.
Assert is best used when the check value has to pass for the test to be able to continue to run. Like a log inVerify is best used to check non critical things. Like the presence of a headline element.

17. How to check if a button is enabled on the page?

Use the below code for to check the button is enabled on page, Boolean disabled = driver.executeScript("return arguments[0].hasAttribute(\"disabled\");", element);

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.

Related Tags

Java Training in Chennai | Azure Certification Training in Chennai | Dot Net Training in Chennai | Selenium Course in Chennai | DevOps Training in Chennai | Data Science Online Training | AWS Certification Training in Chennai | Angular Course in Chennai | React JS Training in Chennai | GCP Training in Chennai | Python Training 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.