a) Algorithm questions --> Find first non-repeating character in a string using normal iterative method and then using a HashSet. I used LinkedHashSet --> this was the tricky part. Just go through the use of LinkedHashSet. b) Questions on testing on mobile and Desktop. c) TestNG and Selenium based questions.
Senior Software Quality Engineer Interview Questions
555 senior software quality engineer interview questions shared by candidates
Join a few tables in SQL, reverse a string, describe postman error codes, etc.
1. how will you manage when there is high stress at work 2. How will you fix conflicts with developers 3.sql queries -distinct on multiple columns, duplicates on 3 fields -how will you display distinct on all 3 fields, replace null with '4' without using update -using select query 4. Failed in production, passed in test -how will you handle this as a QA member 5. 1 million records ,but 100K mising in destination table, how will you find where its missing . 6. Agile/JIRA 7. unique creative way of doing wokr-in past with eg
Programming related medium difficulty + unix commands.
What is Abstraction and Interfaces? Differences ? Why one is better preferred and why?
Write test cases for this below code? class Product { private String name; private double price; public Product(String name, double price) { this.name = name; this.price = price; } public String getName() { return name; } public double getPrice() { return price; } } class ShoppingCart { private List items; public ShoppingCart() { items = new ArrayList<>(); } public void addItem(Product product) { items.add(product); } public List getItems() { return items; } public double calculateTotal() { double total = 0; for (Product item : items) { total += item.getPrice(); } return total; } } class DiscountManager { public double applyDiscount(ShoppingCart cart, double discountRate) { double total = cart.calculateTotal(); return total * (1 - discountRate); } } public class Main { public static void main(String[] args) { Product product1 = new Product("Laptop", 1000); Product product2 = new Product("Mouse", 20); ShoppingCart cart = new ShoppingCart(); cart.addItem(product1); cart.addItem(product2); DiscountManager discountManager = new DiscountManager(); double discountedPrice = discountManager.applyDiscount(cart, 0.1); System.out.println("Discounted price: " + discountedPrice); } }
What is Transient keyword in Java?
3. Write a program to print the pascal triangle.
Questions ranged from test planning, types of testing, how would I test Amazon website, use cases to basic programming questions on Java and Selenium. Made me write code on an online IDE for Java. Most of the questions were related to my previous experiences and how would I approach a use case for testing. Were interested to understand the types of testing like Security testing, accessibility testing, localization testing and functional testing and their use cases Questions on Java: (Strings) - How to find if a string is a palindrome - Find all substrings of a given string - Find the longest palindrome of a given string - Difference between Assert and Verify - Most common exceptions - How do you pass control to a different page in POM - How do you find elements when IDs are dynamic - How do you handle alerts in selenium
Describe why I wanted a job in QA
Viewing 171 - 180 interview questions