Siemens #SDET interview questions
- Coding Questions
Q. Find the last repeating character in a string
Q. Reverse a string of words by splitting it where we find special character & ensure special character position is intact.
Q. How to find peak (element that is greater than all its sides) of a two dimensional array.
- Testing concept
Q. What test cases you can write for a two lifts that operate in sync for 4 floor building.
Q. What test cases we can write if this code is given by a developer.
Q. How to handle broken links?
Q. How to handle calenders scenarios?
Q. How to handle dynamic tables ?
Q. How will you automate captcha?
- Java & OOPS Concepts
Q. SQL, OOPS concept, Live coding, Java Collections, Primitive Data types, Garbage collection
Q. What is difference between Singleton and Static.
Q. Some basic Java questions: static? difference between abstract and interface? final finally finalize? array vs linkedlist? hashmap vs hashtable? Etc.
Q. Mutable and Immutable concepts in java
Q. Exceptions in java
Q. Can we create a instance for interface
Q. How to convert Array to ArrayList
- Selenium/ Cucumber / TestNG
Q. How can you find duplicate options in dropdown (Selenium)
Q. Exceptions in selenium
Q. How to perform Mouse operations
Q. How cucumber will know defination of specific step should present in step defination file
Q. How can you run specific test case multiple times in TestNG
Q. Sql query to find position of 'o' in 'John' in firstname of employee table and convert it into Upper case
Q. Write the script to track one process in the system and kill it if it hangs for some particular period of time.