Free CSET-F Exam Braindumps (page: 2)

Page 2 of 11

Your SUT displays an alert with two buttons OK and Cancel

Issuing the dismiss*) command for that alert is equal to manually pressing which button?

  1. OK
  2. Cancel
  3. Neither
  4. It is impossible to tell

Answer(s): B

Explanation:

The dismiss command is used to dismiss or cancel the alert, it is equivalent to clicking on the 'Cancel' button. If you want to accept the alert, you should use the accept() command.



What Is an iframe?

  1. A user profile created to represent a user type that interacts with the system in a specific way
  2. An attribute that specifies a unique ID for an HTML or XML element
  3. A testing framework that runs automated tests for Selenium on a Macintosh computer
  4. An encompassing frame on an HTML page which can be used to embed another HTML document inside the first one

Answer(s): D

Explanation:

An iframe (short for inline frame) is an HTML element that allows you to embed one HTML document within another. It allows you to embed another website, video or other types of multimedia within the current webpage. It is commonly used to embed videos, maps, and other interactive content into a website.



Which of the following snippets of code would allow you to open a browser window and go to the python web site using WebDriver with Python bindings?

  1. driver = webdriver Chrome()
    get('HTTPS //www python com)
  2. driverwebdnver Chrome()
    driver refresh('HTTPS://www_python com')
  3. driver = webdriver Chrome()
    driver.get('HTTPS://www.python com')
  4. driver webdriver Chrome(HTTPS://www python com)

Answer(s): C

Explanation:

This code snippet creates an instance of the Chrome webdriver and assigns it to the variable 'driver'. Then it uses the get() method of the driver object to navigate to the given URL 'https://www.python.com'. Option A has a typo in the URL, B uses refresh method instead of get and D tries to pass the URL to the constructor which is not correct.



Given that only one alert message in your web application says. "Account deleted", which line(s) of code will allow you to know that the "Account deleted" alert is displayed?

A)




B)



C)



D)

  1. Option A
  2. Option B
  3. Option C
  4. Option D

Answer(s): A



Page 2 of 11



Post your Comments and Discuss iSQI CSET-F exam with other Community members:

bluewhale commented on August 27, 2024
great questions.
EUROPEAN UNION
upvote

shraddha commented on December 25, 2023
great scenarios
UNITED STATES
upvote