why do you want to work in Alaska?
Software Quality Engineer Interview Questions
4,936 software quality engineer interview questions shared by candidates
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?
Networking: 1.What happens when you type www.google.com in the browser? 2.Explain all OSI layers based on this flow. 3.Some questions on network protocols. Operating Systems: 1.Round-robin scheduling 2.Deadlocks DSA: 1.Reverse the words in a given string. 2.Remove elements appearing more than twice in an array while maintaining order (e.g., if 4 appears 3 times, remove only the third occurrence).
How do you feel about working in a team?
3. Write a program to print the pascal triangle.
Round 1: Question 1: Reverse each word in sentance. Question 2: Identify the Highest and lowest occurring letter and its count Question 3: Selenium - Identify all the elements present in a breadcrumb of a banking page Round 2: 1. Transpose of a 3x3 Matrix 2. Input String s = "abcDrgeifkHfhfgh"; Add '_' wherever ther is a small letter followed by a capital letter 3. Find all the combination of words from characters 'a', 'b', 'c', 'd' 4. Selenium - Explicitwait, Implicitwait, Fluentwait, 5. How to configure Polling time in Explicit wait 6. How to configure the download path (to which a file gets downloaded when we click on a button) in selenium 7. How to click on an element which is kept as hidden in the UI by dev team
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
What's your background?
Viewing 1641 - 1650 interview questions