自動化測試常見面試題
這篇文章主要列出自動化測試常見的議題與面試會遇到的問題。
筆者整理如下。一方面筆者會透過線上課程的方式交流這些議題分享筆者的心得,
一方面討論面試時遇到這些問題如何有條理的回答。
希望透過這樣的方式讓讀者在自動化測試領域能夠有另外一個層面的了解,
也在未來職場轉換上也能有所幫助。看看可以回答多少?
為什麼要用 Selenium?
可以另外參考筆者這篇文章:網站自動化測試技術的選擇與考量
http://www.qa-knowhow.com/?p=2132
自動化測試面試問題集
- What do you know about Selenium? How long you are working with Selenium and what version?
- What are the technical challenges that you faced with selenium?
- What are the test types supported by Selenium?
- Does Selenium support mobile internet testing?
- Does Selenium support Google Android Operating System? What mobile devices it may support?
- What is Selenese?
- How do you connect Database from selenium?
- What test can Selenium do?
- What are the disadvantages of using Selenium as testing tool?
- How do you handle the secured connection error in HTTPS?
- List the browsers, OS supported by the Selenium
- Does selenium support flex? How does it understand those objects?
- When you have selenium issues, what approach you take to resolve it?
- What languages are supported for the selenium development?
- Name at least 5 different exceptions in Selenium automation and how do you resolve it?
- How will you execute your login script using chrome browser from your editor using selenium?
- How do you create html test report from your test script?
- How do you manage the code versions in your project?
- What are the other tools that you have used to successfully implement selenium in your project and for what as well?
- Have you worked in Maven, Junit, TestNG?
- ow will you find a specific text available in a page?
- How does webdriver identifies UI Elements?
- What are the capabilities of Selenium WebDriver ?
- hat kind of Frame work using in your organization..?
- Explain about your framework architecture..?
- Where did you stored all kind of xpaths in your framework..?
- What is the HUB & Node..?
- ow do you run your test using a framework..?
- Write the xpath..?
- How to handle alerts using web driver..?
- How to identify two fields(Radio button) in a page with same id..?
- Junit – how do you used in projects..?
- I got an unexpected pop up error in my screen, how will you handle in your script?
- Have you worked in Ajax? What kind of challenges you have faced during web Ajax and how did you overcome?
- How to click an element which resides in a frame? Sample code pls
- Desired capabilities and Actual capabilities – What are the differences and how do you use them?
- I have to find the color of a specific text. How can I do that?
- I need to find each href of all links in a page. How do you do that?
- Difference between webdriver and remotewebdriver?
- What tools – do you use to identify the Xpath?
- How Selenium Grid works?
- What is new about Selenium 2 vs Selenium 1?