Posts

Automation Interview Logical Question & Answer || Automation Testing Interview Question & Answer || Automation Testing Interview Question

1. write program for reverse string? string str = "Bhaumik" String res = " "; int count = str.length(); for(int i = count-1; i>=0;i--) { res = res + charAt(i); } syso(res) 2. Get unique string from String?    String str = "Bhaumik"    Map<Charater,Integer> m = new HashMap<Charater,Integer>();    Char st[] = str.tocharArray();    for(chr c : st){  if(m.containskey(c))  { m.put(c, m.get(c)+1);  }  else{ m.put(c,1);  }  syso(m);   3. Find Max number from arraylist?    int a[] = new int[] {100,200,2,4,5,1,0,101,222};    int max = a[0];    for(int i =0; i<a.length; i++)  { if(a[i]>max) { max=a[i]; }  }  System.out.println(max);   4. Remove special Charater from string?    String s1 = "@#$%This is new String #$%^";  String s = s1.replaceALL("[^A-Z0-9a-z ]","");  syso(s)

Scenario Base Automation Interview Questions || Automation Interview Questions

1. Different Exception in Automation - TimeOut Exception - Did not perform action on time - No Such Element Exception - Element not found, Element not located Implecit wait - Element not visible Exception - Element not visible on page Explict wait - Stale Element Exception  - webelements not located reload page or Attchement of DOM 2 . What is exception Test in Selenium - When you write @Test method if you are expecting some exception which will throw while executing the script then you have to write this exception in  @Test(expectedException=NoSuchElementException.class) 3. Which Files can be use as data source for different framework? - Excel, xml, text, csv, json, property 4. How to send alt, shift, control key in selenium WebDrivers? - By using Action class we can perform action Keys.control + "a" keys.control + "c" Keys.ALT, Keys.SHIFT, Keys.CONTROL 5. How to switch to new window (new tab) which opens up after you click on A link ? - Handle by u...

What is User Acceptance Testing? What we need to check on that?

Image
  User acceptance Testing is nothing but how end customer use the software / How end user use the software and make sure that system handle real time business scenario is call User Acceptance Testing, We make sure that our system handle real time user scenario,  We release the software to the customer and customer test own scenario for particular period of time (1 Week, 2 Weeks, 1 Months) and make sure that handle customer scenario or not, If any bugs & issue found by customer, Customer report that bugs to the company, Company fix that bugs and test that bugs and release on production environment / customer. User Acceptance Testing Different Name: - UAT (User Acceptance Testing) - RED BOX Testing - FAT (Final Acceptance Testing) What we test in UAT? - We execute test scenario document, - We execute smoke testing testcases, - We also check integration part of application, - We check Impacted area of application - We check bug fixes, Interview Question:- What is full form of...

What is System Testing? When we do System Testing?

Image
What is System Testing? System Testing is end to end testing We make sure that our system handle real time business scenario or not? Customer check  our system with own scenario that is call System Testing. - We check our system with Real Scenario, - We check our system handle customer scenario base on FRS document, - Customer check their own scenario on system and Make sure that system is working fine as expected. When we do System Testing? - After completion of Component and Integration Testing we do system Testing, - If not known What is Component Testing and Integration Testing the please check my Blog which is already published.

What is Integration Testing in Software Testing.?

Image
 What is Integration Testing in Software Testing.? Integration Testing: Integration Testing is nothing but One module dependent on another module and testing the data flow between them is call Integration testing. Integration Testing એટલે એક મોડ્યૂલ બીજા મોડ્યૂલ પર આધારિત હોય અને તે બે મોડ્યૂલ વચ્ચેનો ડેટા ચેક કરવો તેને Integration Testing કેહવાય છે  અહીં user  જયારે mail લખશે ત્યારે એ mail compose mail માં બતાવશે પણ જયારે તે mail બીજાને મોકલી દેશે ત્યારે તે Sent Mail માં બતાવશે, તો આજે Mail sent કર્યા પછી sent mail માં બતાવે છે કે નહિ તે ચેક કરવું તેને Integration Testing કહેવાય છે. When user write mail then its displaying in compose mail, After mail sent to another user then it displaying in sent mail, So we are doing Integration testing between these two modules is call Integration Testing. Types of Integration Testing: Incremental Integration Testing Top down Approach Bottom Up Approach Non Incremental Integration Testing Incremental Integration Testing: - Increment...