
[2025年02月08日]CPST-001試験問題集でGAQM練習テスト問題
最新でリアルなCPST-001試験問題集解答
GAQM CPST-001認定試験は、英語で実施されるオンラインの監視試験です。この試験には60問の多肢選択問題があり、受験時間は90分です。問題は、Seleniumテストとその様々なコンポーネントに関する候補者の知識と理解をテストするために設計されています。
質問 # 45
Toggle Breakpoint is used to:
- A. Only 1
- B. Set a breakpoint in the test case to cause it to stop on a particular command
- C. Can set a breakpoint in the test case to cause it to stop on a particular command and execute from scratch
- D. Both A and B
正解:D
解説:
Explanation:
質問 # 46
The ------------- can be used in instantiating page objects.
- A. DecoratorFactory
- B. factory
- C. Decorators
- D. PageFactory
正解:D
質問 # 47
The following test engine is used for the Java programming language?
- A. JUnit
- B. Both A and B
- C. TestNG
- D. NUnit
正解:B
解説:
Explanation:
質問 # 48
Which type of exception is handled during compile time?
- A. None of the above
- B. Error
- C. Unchecked
- D. Checked
正解:D
解説:
Explanation:
質問 # 49
If the default port of Selenium is busy, then which port should you use?
- A. None of the above
- B. Need to define our own port as java -jar SeleniumServer.jar -port 1111
- C. We need to stop till the port gets free
- D. Need to create our own port from where the script runs
正解:B
質問 # 50
What are the front-end WebDriver languages?
- A. C# and Ruby
- B. Ruby and Python
- C. JavaScript and Java
- D. Java and C#
正解:D
解説:
Explanation:
質問 # 51
The three modes in which we can use the Selenium Assertions are:
- A. Assert, VerifyAssertion, and waitFor
- B. Assery, Verify, and Assertions
- C. assertAssertions, VerifyAssertions, and waitFor
- D. Assert, Verify, and waitFor
正解:D
解説:
Explanation:
質問 # 52
What is the correct syntax to instantiate a Chrome/Chromium session?
- A. WebDriver driver = new DriverChrome();
- B. WebDriver driver = new chromedriver();
- C. WebDriver driver = new ChromeDriver();
- D. WebDriver driver = new Chrome();
正解:C
質問 # 53
Which of the following exceptions is not an ideal candidate to ignore via FluentWait?
- A. NoAlertPresentException
- B. NoSuchElementException
- C. ElementNotVisibleException
- D. TimeoutException
正解:D
質問 # 54
The client libraries of Selenium RC instruct Selenium Server on:
- A. How to test the AUT by using Selenium commands
- B. How to test the AUT
- C. How to test the AUT by passing it your test scripts and Selenium commands
- D. How to test the test scripts and Selenium commands
正解:C
解説:
Explanation:
質問 # 55
Which of the following parameters is not required to initialize Fluent wait?
- A. Exception classes to ignore while waiting.
- B. Expected condition to wait.
- C. The maximum amount of time to wait for a condition.
- D. The frequency to check the success or failure of a specified condition.
正解:B
質問 # 56
driver = new FirefoxDriver(); is the command used to create a new instance of the browser in WebDriver.
Justify.
- A. TRUE
- B. FALSE
正解:A
解説:
Explanation:
質問 # 57
What is Selenium's recording language?
- A. Java
- B. Ruby
- C. HyperText Markup Language
- D. C#
正解:C
解説:
Explanation:
質問 # 58
Selenium globbing pattern allows only:
- A. None of the above
- B. Asterisk and character class
- C. Asterisk and class
- D. Dollar symbol and character class
正解:B
解説:
Explanation:
質問 # 59
What are the three major components of Selenium IDE?
- A. Order, Target, Value
- B. Command, Target, Value
- C. Command, Destination, Value
- D. Command, Target, Input
正解:B
解説:
Explanation:
質問 # 60
What type of Wait objects keep alive until the WebDriver object dies?
- A. Explicit Wait
- B. Fluent Wait
- C. All of the above
- D. Implicit Wait
正解:D
質問 # 61
Which WebDriver log level is used to show messages only about things that may be wrong but was handled ?
- A. debug
- B. info
- C. severe
- D. "warning
正解:D
質問 # 62
TestNG will execute the tests in:
- A. The order they are found in the @Test annotation
- B. None of the above
- C. The order they are found in the XML file
- D. The order in which they are written
正解:C
解説:
Explanation:
質問 # 63
Which of the following is usually used for installing Selenium for C# project?
- A. Microsoft Azure
- B. ASP.NETMVC
- C. Npm
- D. NuGet
正解:D
質問 # 64
Which of the following steps is not mandatory to launch Firefox in Selenium 3?
- A. DesiredCapabilities caps = new DesiredCapabilities();
- B. driver.get("http://www.google.com");
- C. WebDriver driver = new FirefoxDriver();
- D. caps.setCapability("marionette", true);
- E. System.setProperty("webdriver.gecko.driver", "geckodriver path");
正解:B
質問 # 65
You are running a batch of automated tests and want to capture screenshots of any failures for further analysis. How would you implement this?
- A. Use a custom screenshot utility to capture screenshots.
- B. Use the Selenium WebDriver's built-in screenshot capability to capture screenshots.
- C. Use a third-party tool like Snagit to capture screenshots.
- D. Use a logging framework to capture screenshots and log them along with the test results.
正解:B
質問 # 66
While executing a test case, you encounter a NoSuchElementException. How would you handle this exception?
- A. Use a try-catch block to catch the exception and handle it by logging an error message.
- B. Use WebDriverWait to wait for the element to be present before performing any action.
- C. Use a custom exception handler to retry finding the element multiple times.
- D. Use the NoSuchElementException class methods to recover from the exception.
正解:B
質問 # 67
......
CPST-001認証試験問題集解答を提供しています:https://drive.google.com/open?id=1JbB64d9dgoJUqxoUSeYO2u99-gZ3SUs4
あなたを簡単に合格させるCPST-001試験正確なPDF問題:https://www.passtest.jp/GAQM/CPST-001-shiken.html