Multiple Companies Testing Interview Questions and
Multiple Companies Testing Interview Questions and
Sa
mple Test Cases for a Login Page (Includes ALL important functional and non-functional test cases
for login page)
Whenever you will be asked to write the test cases for the ‘Form with some
controls’, you need to follow the list of rules for writing test cases as mentioned below:
W
hen you will be asked in the interview to write the test cases for a
login page, firstly you need to think about, how many maximum
controls can be available on a login page?
Because you don’t have a login page in front of you and neither you have requirements
document for this login page. But the login page is such a common thing of which we can easily
imagine the controls.
There can be a username, password, ‘Sign In’ button, Cancel Button, and Forgot Password link.
There can be one more control which is a checkbox named ‘Remember me’ to remember the
login details on a particular machine.
We can take an Example of Gmail Login page. Here is the image of it.
Test Cases for Gmail Login page
Sr.
Test Scenarios
No.
1 Enter the valid email address & click next. Verify if the
user gets an option to enter the password.
3 Enter the invalid email address & click the Next button.
Sr.
Test Scenarios
No.
#2) Verify if the user cannot proceed without filling all the mandatory fields.
#4) Verify if the numbers and special characters are not allowed in the First and Last name.
#5) Verify if a user can sign-up successfully with all the mandatory details.
#6) Verify if a user can log in with the valid details.
#7) Verify if the Password and Confirm Password fields are accepting similar strings only.
#8) Verify if the Password field will prompt you for the weak passwords.
#10) Verify that hints are provided for each field on the form, for the ease of use.
#2) Verify if a user cannot log in with an invalid username or password. Check permutation and
combinations of this.
#3) Verify the ‘Keep me Sign In’ option. If this check box is selected, then the user should not get
logged out even after exiting the app.
#5) If the user has signed up with Facebook or social media, verify that the user can log in with
those credentials or not.
#7) Verify if the login page fits the mobile screen. The user should not have to scroll the screen.
Conclusion
While writing test cases for login or sign-up page write the test cases for all the fields. There
should be a combination of both positive and negative test cases. Try to cover the performance,
security, and functional scenarios.
The login page is the page with fewer controls, so even though it is looking simple for testing, it
should not be considered as an easy task.
Also many a time it is the first impression of an application, so it should be perfect for user
interface and usability
5. Suppose I have added 2 keys and values using put method, would it be inserted in sorting
order in hashmap ?
6. Is it possible to add same keys and values in map ?
7. What is private class? Can I override the private classs ?
8. Can I override the private class in nested class
9. Diff between throw and throws
10. How to handle synchronisation
11. What are diff exceptions in selenium
12. Why abstract class is needed when we have interface for abstraction
13. Supppos there is a page n there are 2 buttons with same attribute values id and name how
to find the 2 nd button ?
14. Suppose there are two pages and each page has 10 fields with values how to compare the
two page values ?
15. When stale reference exception comes
16. What is default wait time when not defined any waits in selenium
17. What is multi threading in java
18. Suppose there are two functions one function is always fails and second comes pass how to
run the these two methods
19. How to run the test case with multiple data in cucumber
20. How to configure Jenkins using maven and git
21. How to run the test case in Jenkins
22. Suppose there a page with one button if click on that button new tab opens and click button
on that new tab again new tab opens how to read the text for the third tab ?
23. How to handle alerts n what are the different methods available in selenium
24. Why we use action class ?
25. How to do right click on the webelemt
26. What is the use of robot class ?
27. How to run test case for maven project
28. What are methods available in testng
29. What are the diff methods available in @ test method
30. Explain about framework and architecture
31. How to read the . Properties file
32. How asserstions work in selenium
33. Diff between array list and linked list
34. Explain about cucumber framework
35. Difference between method overloading and method overriding
9. If u have one drop-down with different data and u want to pick a specific on how u will do that?
2nd round
1. What is abstract class and have u used it in your project
2.what is hashmap and it's internal working.
3. How to iterate hashmap
4. Exceptional handling- can we have multiple catch for same try and how it written
5. If exception occurs in finally block what will happen
6. And how u will handle that exception
7. Cucumber - what is glue keyword
8. How test runner file works.
9. Why to use maven
10. TestNG - what will execute first beforemethod or beforeTest
5. In Batch processing data from Table A is going to Table B. What will be your Test Approach?
6. What type of bug you faced in ETL testing. Explain the best bug you found so far
7. ETL testing scenario you used generally. What are challenges you faced in ETL Testing?
19. Have you build CSV, flat file and pipe format files.
14. Which tool are you using and why for performance testing?
15. Do you have any knowledge on other performance testing tools like Loadrunner, NeoLoad?
29. Parameterization.
30. Correlation
32. Do you have any idea about 3rd party monitoring tools like NewRelic and AppDynamics?
33. Performance Tunning and what are parameters you considered in your project.
35. What are the parameters to check the performance of application after running your jmeter script?
39. How to reduce unwanted requests while recording the script from the JMeter?
43. How you are showing the Performance Testing Analysis Report to your client in your current project?
44. How will you start the requirement gathering for performance testing if we didn't get it from client?
46. How many max no of users load have you given in your projects?
47. What are the challenges / problems have you faced in your project?
12. We have a table Employees having columns EmpID, EmpName, Salary, Commission.
Write a query to get the total salary of each employee.
--------------------------------------+
Second Round
*SET 2 - Questions.*
2) Objective Question
A - 20,
B - Runtime error
*C - compilation error.*
D - None.
---------------
F2F Interview Questions -
8. Reverse a string"this is hello world string" and print only the 1st and the last reversed word.
9. Can static variable be called in another class inheriting the previous class
9. What is staleelementfefernce
exception? How do handle
14. 2 arrays have given, merge it and sort it and remove the duplicate
3. Debugging a system where data is flowing from frotend to DB via different stages
6. Scenario based questions to find out test condition and test cases
7. Testing techniques to be used for a migration project where requirements are not documented
8. Educational background, Career path and few questions based on situation
9. Security testing related qsn
2. Finding test scenario for a given work flow where people are getting registered for Marathon, than live
marathon tracking is happening thn, results are getting published
3. Test condition for Copy paste from one server to another server.
8. Compatibility testing
9. Acceptance testing
10. For a particular situation what are the "xyz" testing scenarios
Round 3. 2 interviewer
1. Career path.
4. Specialty in engineering