Are you a candidate looking to sharpen your skills? Try our practice tests or view sample interview questions & Get hired by the best. Click Here×

Selenium Online Subjective Test

Topics Covered

  • Selenium Window alert
  • Saving a file
  • Selenium with Database connection 
  • Websites response time
  • SQL injection in websites
  • Verify functions in selenium
  • Selenium Cross-browser Testing

Useful for hiring

  • Selenium Tester
  • Selenium QA engineer
  • Automation Tester (Selenium)

Start hiring job-fit candidates using this assessment

GET A DEMO

"Interview Mocha has provided UNEECOPS with a veritable assessment platform with a comprehensive test library, online test platform, and intelligent reports. This made it easier for us to map different job openings with job-fit candidates and recruit faster."

Nisha Chandila, UNEECOPS,
Talent Acquisition Manager
Question

There is a situation where unnecessary pop-up appears on the screen which cannot be accepted or dismissed using alert interface, thus the only wise option we are left with is to close the window using shortcut keys – “Alt+ space bar + C”. You have to write a test script using Robot Class to avoid this unnecessary pop-up window.
Few lines in the program are missing(//Write your code here); you need to write the code to complete the program.

Sample Program:
 
import Statement
import java.awt.Robot;
// Instantiating Robot class
Robot rb =new Robot();
// Calling KeyPress event
rb.keyPress(KeyEvent.VK_ALT);
;
rb.keyPress(KeyEvent.VK_C);
// Calling KeyRelease event
;
;
rb.keyRelease(KeyEvent.VK_ALT);

Good News! You can customize this test as per your requirement

  • Choose and add questions from Interview Mocha question libraries

  • Add your own set of questions

  • Customize test settings like duration, number of questions, passing score, web proctoring and much more

  • Mail us at support@interviewmocha.com to create a custom test

Looking for a tailor-made test, to suit your assessment needs?

Get in touch

Global companies using Mocha assessments

  • altran
  • credit suisse
  • sephora
  • nielsen
  • capgemini
  • akamai

How Mocha assessments are brewed

Speed up your IT recruitment with Interview Mocha

  • 500+ IT skill tests
  • 20+ coding languages
  • 50+ domain knowledge tests
  • 100+ digital 2.0 skill tests
  • Customer focus aptitude tests
  • Enterprise ready features & more...
GET A DEMO

Why hiring managers and recruiters across the globe love Interview Mocha

Take your first step to hire job fit candidates

GET A DEMO