
2025年最新の100%試験高合格率CPST-001問題集PDF
合格させる試験完全版CPST-001問題集145解答
質問 # 60
How can you set the path to the iOS driver executable in your Selenium WebDriver script using iOSDriver?
- A. Using the setPath method
- B. Using the setExecutable method
- C. Using the setDriverExecutable method
- D. Using the setProperty method
正解:D
質問 # 61
How do you build a locator that is different from the locator type that was recorded?
- A. Locator Selection Criteria
- B. Locator Assistance
- C. Locator Strategy
- D. Locator Guidance
正解:C
解説:
Explanation:
質問 # 62
Following is not the most commonly used Selenium Command?
- A. windowsMaximize
- B. verifyTitle/assertTitle
- C. Open up the browser to test runner
- D. verifyTable
正解:C
解説:
Explanation:
質問 # 63
How does the SafariDriver is implemented?
- A. Extensions
- B. RPC
- C. Plugin
- D. None of these
正解:B
質問 # 64
A ------ is a mechanism that stores all the locators for a test suite in one place for easy modification.
- A. Object Storer
- B. UI map
- C. None of the above
- D. Repository
正解:B
解説:
Explanation:
質問 # 65
__________ is a static wait and it is not a good way to use in scripts, as it is sleep without condition.
- A. Explicit Waits
- B. Thread.Sleep
- C. Erase.Sleep
- D. Wait.Sleep
正解:B
解説:
Explanation:
質問 # 66
Which of the following features does Selenium IDE support?
- A. Parallel testing using Selenium Grid
- B. Test against Firefox only
- C. Test in multiple browsers
- D. Export recorded tests to scripts
- E. Record and Play
正解:B、D、E
質問 # 67
The Selenium RC is used <... complete the sentence ...>?
- A. To create tests with little or no prior knowledge in programming.
- B. To run a huge test suite, that can be executed in distributed environment.
- C. To run tests in different browsers (except HtmlUnit) on different OS.
- D. To test a web application against Firefox only.
正解:C
質問 # 68
You are working on migrating your Selenium project from Selenium 3 to Selenium 4. What are the key steps you would take to ensure a smooth migration process?
- A. Modify any deprecated Selenium APIs used in your test scripts.
- B. Update any custom libraries or frameworks integrated with Selenium.
- C. Update WebDriver binaries to match the Selenium version.
- D. Update Selenium dependency versions in the pom.xml file.
正解:D
質問 # 69
You are automating a login process for a web application. How would you implement the Page Object Design Pattern to handle the login functionality efficiently?
- A. Create a separate class for the login page and define methods to enter username, password, and click on the login button.
- B. Use inheritance to create subclasses for each page and define methods to interact with the elements on each page.
- C. Use static methods to interact with the elements on the login page.
- D. Use a single class for the entire application and define methods for each page's elements and actions.
正解:A
質問 # 70
What is the default file type for capturing screenshots?
- A. .png
- B. .img
- C. .jpeg
- D. .jpg
正解:A
解説:
Explanation:
質問 # 71
Name the Selenium API method that is used to execute JavaScript from Selenium RC?
- A. Execute Js API
- B. getEval API
- C. None of the above
- D. Execute .JS <selenium-server.jar>
正解:B
質問 # 72
What are the front-end WebDriver languages?
- A. JavaScript and Java
- B. Java and C#
- C. C# and Ruby
- D. Ruby and Python
正解:B
解説:
Explanation:
質問 # 73
Which of the following is used to enters values onto text box, in a page
- A. sendKeyQ
- B. sendKeysQ
- C. "sendKeys
- D. sendsKeyf)
正解:C
質問 # 74
What is the default port used by Selenium RC or Selenium server for communication
- A. 8000.0
- B. 8080.0
- C. 80.0
- D. 4444.0
正解:D
質問 # 75
How can you set the path to the Chrome driver executable in your Selenium WebDriver script using ChromeDriver?
- A. Using the setPath method
- B. Using the setExecutable method
- C. Using the setDriverExecutable method
- D. Using the setProperty method
正解:D
質問 # 76
Which of the following is usually used for installing Selenium for C# project?
- A. Microsoft Azure
- B. NuGet
- C. Npm
- D. ASP.NETMVC
正解:B
質問 # 77
TestNG will execute the tests in:
- A. The order in which they are written
- B. The order they are found in the @Test annotation
- C. None of the above
- D. The order they are found in the XML file
正解:D
解説:
Explanation:
質問 # 78
Which function in Apache POI library will close the excel file?
- A. quit
- B. exit
- C. close
- D. disables
正解:C
質問 # 79
Selenium tests _____________.
- A. DOS applications
- B. Browser-based applications
- C. None of the above
- D. GUI applications
正解:B
解説:
Explanation:
質問 # 80
......
検証済みCPST-001問題集で問題と解答100%合格Fast2test:https://jp.fast2test.com/CPST-001-premium-file.html