Atul Kumar Mishra – TestAutomasi Blog https://testautomasi.com/blog A blog On Test Automation Case Studies & Automation tools Sun, 02 Jul 2023 22:33:30 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.2 Programming Interview Questions For Testers(Experience Level 0-3 Years) Set 1 https://testautomasi.com/blog/2020/07/18/programming-interview-questions-for-testersexperience-level-0-3-set-1/ Sat, 18 Jul 2020 16:06:46 +0000 https://testautomasi.com/blog/?p=104 Write a program of sorting array without using a collection.

Write a  Program to reverse a string without using String inbuilt function.

Write a program to find the Factorial of a number using recursion.

Write a  Program to find whether a number is prime or not.

 Write a  Program to find whether a string or number is palindrome or not.

Write a Program for the Fibonacci series.

Write a  program for the Armstrong Number.

Write a  Program to find the duplicate characters in a string.

Write a  Program to Find the second-highest number in an array.

Write a  Program to Find the occurrence of Character in String.

Write a Program to Find the pairs of two-element of the array is 10.[8,2,7,6,3.5,4,2]

Write a Program to Find Duplicate String from an array

Write a Program to Find the second maximum value of a three-digit number.

Write a Program to push all zeros in last places- int [ ] Array={2,5,0,4,2,0,0,7,1,9,4}.

Write a program to find the missing number in given Array of sequential series, series length could be large too, Example-int [ ] array={1,2,4,5};

How to convert LinkedList to ArrayList?

How to convert HashSet to ArrayList(List) ?

How to sort ArrayList in Descending order?

Write a java program to implement Insertion sort?

Write a java program to implement a selection sort?

Write a java program to implement Bubble sort?

]]>
Selenium Interview Questions Set 1 https://testautomasi.com/blog/2020/07/02/selenium-interview-questions-set-1/ Thu, 02 Jul 2020 13:51:09 +0000 https://testautomasi.com/blog/?p=97
  • What is the difference between the close() and quit() method?

  • What is the difference between the get() and navigate() method?

  • What is the difference between the parentFrame() and defaultContent() method?

  • What is the difference between the getWindowHandle() and getWindowHandles()? What are the return types of these?

  • What is the difference between the W3C Protocol and JSON Wire Protocol?-Chandan

  • Explain Selenium HTTP API calls? How would you test selenium API using postman?-Chandan

  • Explain this line-
    webdriver driver = new chromedriver()
    -Chandan

  • What is the super interface of webdriver in Selenium Webdriver? Explain it in detail-Chandan

  • What is RemoteWebDriver? What is the purpose of using it over normal Webdriver?

  • What is the difference between WebDriver findElement and WebElement findElements? Can we use findelements to interact with single elements too? If no then Why not?

  • What is the difference between Selenium webDriver click() and Javascript click()? ‌ ‌Which one is better in terms of performance?

  • How to handle tabs, frames, and windows in Selenium?, How would you switch between tabs and windows efficiently?

  • How to handle alerts, modal and window pops in Selenium?

  • How to perform mouse hover and content drag and drop in Selenium?

  • How to drag and drop content from one frame to another where frames have no relation between each other ‌(By Chandan)

  • How to select/deselect checkboxes and radio buttons in Selenium?

  • What are the different waits provided by Selenium WebDriver?Tell us the use cases of each wait type a situation where each waittype would be more useful compared to other‌ ‌(By Chandan)

  • List different Exceptions you faced in Selenium WebDriver?‌ ‌Give an example of each?

  • What is StaleElementException? How will you fix this exception in your script?

  • In which condition sendKeys() can be used to upload files? If sendKeys() does not work then what are other alternatives?

  • How to select a date from the calendar using Selenium? Write a sample code for this.

  • How will you handle dynamic WebTable? Write a sample code for this.

    ‌ ‌
  • How will you scroll left, right, top, and down using Selenium? Write a sample code.

  • What is the difference between findElement() and @FindBy?

  • What is initElements Method? Why are we using this? What happens if we don’t use this?

  • How to get a typed text from a textbox?

  • How to fetch CSS properties such as font color, font size and background color using Selenium?-Chandan

  • How to fetch coordinates of element in Selenium? -Chandan

  • How to take screenshot of particular element in Selenium.-Chandan

  • How to resize browser window based on custom size provided by the user during runtime-Chandan


    Note: We have not provided answers as we believe you will learn more and remember more when you look for answers yourself and you will also improve your Research and Development Skills while doing that.
  • ]]>
    API Testing Interview Questions Set 1 https://testautomasi.com/blog/2020/06/07/api-testing-interview-questions-set-1/ https://testautomasi.com/blog/2020/06/07/api-testing-interview-questions-set-1/#comments Sun, 07 Jun 2020 15:50:48 +0000 https://testautomasi.com/blog/?p=64
  • What‌ ‌is‌ ‌an‌ ‌API?‌ ‌

  • What‌ ‌is‌ ‌API‌ ‌Testing?‌ ‌

  • Why API Testing is important?

  • What‌ ‌are‌ ‌the‌ ‌common‌ ‌API‌ ‌Testing‌ ‌Types?‌ ‌

  • Name‌ ‌some‌ ‌of‌ ‌the‌ ‌common‌ ‌protocols‌ ‌used‌ ‌in‌ ‌API‌ ‌Testing?‌ ‌

  • Difference‌ ‌between‌ ‌API‌ ‌and‌ ‌Web‌ ‌services?‌ ‌

  • What‌ ‌are‌ ‌the‌ ‌advantages‌ ‌of‌ ‌API‌ ‌Testing over functional UI Testing?‌ ‌At what places will you consider using API Testing rather than UI Testing?(By Chandan)

  •  ‌What‌ ‌exactly‌ ‌needs‌ ‌to‌ ‌be‌ ‌verified‌ ‌in‌ ‌API‌ ‌Testing?‌ ‌

  • Name‌ ‌some‌ ‌tools‌ ‌used‌ ‌for‌ ‌API‌ ‌Testing?‌ ‌

  • List‌ ‌some‌ ‌commonly ‌used‌ ‌templates‌ ‌for‌ ‌API‌ ‌documentation tools? ‌ ‌

  • What‌ ‌the‌ ‌main‌ ‌challenges you‌ ‌face while doing‌‌ ‌API‌ ‌testing?‌ ‌

  • What‌ ‌are‌ ‌the‌ ‌types‌ ‌of‌ ‌bugs‌ ‌we‌ ‌find ‌when‌ ‌performing‌ ‌API‌ ‌testing?‌ ‌

  • Explain all the‌ ‌HTTP‌ ‌methods used in API?‌ ‌

  • What‌ ‌is‌ ‌the‌ ‌difference‌ ‌between‌ ‌PUT‌ ‌and‌ ‌Patch ‌method?‌ ‌(By Chandan)

  • What‌ ‌is‌ ‌an‌ ‌API‌ ‌client?‌ ‌How is it useful in API Testing?

  • What is the difference‌ ‌between‌ ‌GET‌ ‌and‌ ‌OPTION ‌methods?‌ ‌(By Chandan)

  • What‌ ‌is‌ ‌the‌ ‌HTTP‌ ‌response?‌ ‌What‌ ‌are‌ ‌the‌ ‌components‌ ‌of‌ ‌the‌ ‌HTTP‌ ‌response?‌ ‌

  • What‌ ‌is‌ ‌the‌ ‌HTTP‌ ‌request?‌ ‌What‌ ‌is‌ ‌the‌ ‌component‌ ‌of‌ ‌the‌ ‌HTTP‌ ‌request?‌ ‌

  • What are different response error codes in API, Explain each one with an example?‌ ‌

  • What‌ ‌are‌ ‌the‌ ‌Client-Side‌ ‌Errors?‌ ‌ Give at least 5 examples?

  • What‌ ‌are‌ ‌Server‌ ‌Side‌ ‌Errors? Give at least 5 examples?

    ‌ ‌
  • What‌ ‌is‌ ‌the‌ ‌payload?‌ ‌Why do we need to use payload? can we send request successfully without payloads? (By Chandan)

  • What‌ ‌is‌ ‌a‌ ‌Query‌ ‌Parameter?‌ ‌How is it useful in API Testing? Does it help in improving the performance of the API?(By Chandan)

  • What‌ ‌do‌ ‌you‌ ‌mean‌ ‌by‌ ‌Header?‌ ‌How it is useful in APIs? How does it help in terms of security?(By Chandan)

  • What is a cookie and How‌ ‌do‌ ‌you‌ ‌customize‌ ‌cookies?‌ ‌ What role does cookie have in API and API Testing? (By Chandan)

  • What‌ ‌is‌  ‌JSON?‌ ‌Why we use JSON in APIs?

  • What is the Difference‌ ‌between‌ ‌Rest ‌and‌ ‌Soap?‌ ‌ Name some examples where rest is a better option compared to soap and name some examples where soap is a better option compared to rest. (By Chandan)

  • What is the difference between authentication and authorization? Explain with example.(By Chandan)

  • What is the Difference between oauth1 & oauth2? What upgrades were made in oauth2 and where do you think oauth1 is useful compared to oauth2? Explain with example.(By Chandan)

    Note: We have not provided answers as we believe you will learn more and remember more when you look for answers yourself and you will also improve your Research and Development Skills while doing that.
  • ]]>
    https://testautomasi.com/blog/2020/06/07/api-testing-interview-questions-set-1/feed/ 3