QA Automation Interview questions

Posted Posted in Android, Apache, Automation Framework, Automation/QTP/Selenium Blogs, Cucumber Selenium, Java, JavaScript, Others, questions, Selenium Cucumber, Technical blog, Travel, Trending
QA Automation Interview questions Differentiate final , finally, finalize (Short Ans: final method can’t be overridden, final variable can’t be changed, finally goes with try/catch, finalize is garbage collector) how to handle exceptions in java (Ans: try catch, throws, etc) how to use parameters in cucumber/testNG (Ans: scenario outline,tidy gherkin plugin, vs testng.xml-suite,test,class,method;) compare TestNG […]

If else program in Java

Posted Posted in Android, Apache, Automation Framework, Automation/QTP/Selenium Blogs, Jmeter, Others, questions, Technical blog, Travel, Trending, Uncategorized
If else program in Java import java.util.Scanner; class IfElse { public static void main(String[] args) { int marksObtained, passingMarks; passingMarks = 40; Scanner input = new Scanner(System.in); System.out.println(“Input marks scored by you”); marksObtained = input.nextInt(); if (marksObtained >= passingMarks) { System.out.println(“You passed the exam.”); } else { System.out.println(“Unfortunately you failed to pass the exam.”); } […]

Nested Java program loops

Posted Posted in Android, Apache, Automation Framework, Automation/QTP/Selenium Blogs, Jmeter, Others, questions, Technical blog, Travel, Trending, Uncategorized
Nested Java program loops import java.util.Scanner; class NestedIfElse { public static void main(String[] args) { int marksObtained, passingMarks; char grade; passingMarks = 40; Scanner input = new Scanner(System.in); System.out.println(“Input marks scored by you”); marksObtained = input.nextInt(); if (marksObtained >= passingMarks) { if (marksObtained > 90) grade = ‘A’; else if (marksObtained > 75) grade = […]

How to Install TestNG in Eclipse IDE for Selenium WebDriver automation testing

Posted Posted in Android, Automation Framework, Automation/QTP/Selenium Blogs, Cucumber Selenium, Google adsense, Java, JavaScript, Others, Performance testing/Loadrunner/Jmeter blogs, questions, Selenium Cucumber
How to Install TestNG in Eclipse IDE for Selenium WebDriver automation testing In Eclipse, navigate to Help >> navigate to sub menu “Install New Software”, click on it. Add name as “TestNG” Add Location as “//beust.com/eclipse/”, click ok select “TestNG” , click next (when TestNG ready to install) follow the steps and complete installation.  

How to use JMeter for login authentication?

Posted Posted in Android, Automation Framework, Automation/QTP/Selenium Blogs, Cucumber Selenium, Google adsense, Java, JavaScript, Others, Performance testing/Loadrunner/Jmeter blogs, questions, Technical blog
How to use JMeter for login authentication? Regular Expression Extractor is used to handle this situation. Following steps may be used, First find out the GET request where the authentication required & POST request that posts the credential to login The response from the GET request should have tokens which needs to be be extracted […]

What is polymorphism in java with example

Posted Posted in Android, Automation Framework, Automation/QTP/Selenium Blogs, Cucumber Selenium, Google adsense, Java, JavaScript, Others, Performance testing/Loadrunner/Jmeter blogs, questions, Selenium Cucumber, Technical blog
What is polymorphism in java with example polymorphism means one object can take multiple forms. lets explain this using a method poly() in java class. steps: create a package polymorphismPkg in eclipse create a class polymorphismClass  in eclipse now write below code in the class polymorphismClass   package polymorphismPkg; public class polymorphismClass { public static void main(String[] args) […]

What is Inheritance in Java with example

Posted Posted in Android, Automation Framework, Automation/QTP/Selenium Blogs, Cucumber Selenium, Google adsense, Java, JavaScript, Others, Performance testing/Loadrunner/Jmeter blogs, questions
What is Inheritance in Java with example One class in Java can get the methods and properties from other class – this helps reducing the coding efforts , increase code reusability and maintainability. e.g.  public class classB extends classB { } in the above Java code, classB class gets the methods and properties from classA […]

Top 5 sql interview questions and answers

Posted Posted in Android, Automation Framework, Automation/QTP/Selenium Blogs, Cucumber Selenium, Google adsense, Java, JavaScript, Others, Performance testing/Loadrunner/Jmeter blogs, questions, Selenium Cucumber, Technical blog, Trending, Wordpress
Top 5 sql interview questions and answers What is DDL, DML, DCL, TCL in SQL ? DDL refers to Data Definition language. DDL is used to create/modify the structure of Database. e.g. CREATE, ALTER, DROP statement.. DML refers to Data Manipulation language. DML is used to retrieve, modify, delete, insert and update data in database. e.g. […]