Thursday 28 June 2018

Software Testing Interview questions asked in PowerSchool



First round is an online CSAT test having 50 questions and time limit is 25min. You can practice on below links: -

1. http://samplewonderlictest.com/
2. http://wonderlictestsample.com/
3. http://www.kent.ac.uk/careers/psychotests.htm

Face to Face Interview Questions: -

1. Given Scenario: - In a webpage there is a textbox and 3 buttons. Text box can contain name of any student. Button1 is a Save button, button 2 is a toggle button for true/false (if clicked once it means true) and button 3 is a download button. If button 2 is set to true then the textbox becomes disabled. Write all the methods of a PageObject class with respect to a Selenium project.

2. Given Scenario: - How will you do test planning to test the digital cricket score board present in the stadium? This board displays runs, wickets, balls count of that over.

3. There are two tables :- Emp_Details (having columns emp_id, emp_name and emp_dept)and Emp_Salary (having columns emp_id, emp_sal and emp_name)
Emp_Details: -
EMP_ID EMP_NAME EMP_DEPT
001 Jatin Electrical
002 Nitin Electrical
003 Priti IT
004 Kriti IT
005 Srishti Electronics
Emp_Salary: -
EMP_ID EMP_NAME EMP_SALARY
001 Jatin 500000
002 Nitin 800000
005 Srishti 1200000
Write an SQL query listing all the employee and there salaries which are not present in Emp_Salary table.

4. Write a SQL query to find all the employees who are also managers from Emp_Details table.

5. Write a java program to find duplicate numbers in an integer array.

6. Write a java program to find print only alphabets in a given string say :- “dixitprasun010@abc.com

7. Write a java program to print only characters (no spaces) having odd indexes in given string say :- “It’s easy to code in JAVA”.

8. Given a table Patient_Details having columns – patient_name, patient_address, patient_bill_amount.
Write an SQL query to print the details of the patient who has paid the second largest bill amount.

9. In your current project how do you store xpath of fields in a webpage and use them to test ?

10. What do you understand by priorities and dependencies in testing?

11. Given following program :-
Class PrioritiesAndDependencies
{
@ (priority =0) (depends on method e())
Void method a() {
System.out.println (“Method a()”) ;
}
@(priority =1)
Void method b() {
System.out.println (“Method b()”) ;
}
@(priority =2)
Void method d() {
System.out.println (“Method d()”) ;
}
@(priority =3)
Void method e() {
System.out.println (“Method e()”) ;
}
}
In the above java program mention the execution flow. Also explain the precedence of dependency over priority or vice-versa.

12. What are the different sorting algorithms? Explain and write a java program for the same.

Enjoy Reading.

No comments:

Post a Comment