Selenium RC And Selenium Webdriver! Trivia Questions Quiz

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Apteantraining2
A
Apteantraining2
Community Contributor
Quizzes Created: 10 | Total Attempts: 4,936
Questions: 48 | Attempts: 321

SettingsSettingsSettings
Selenium RC And Selenium Webdriver! Trivia Questions Quiz - Quiz

.


Questions and Answers
  • 1. 

    Select the component which is NOT part of the Selenium suite.

    • A.

      Selenium IDE

    • B.

      Selenium RC

    • C.

      SeleniumGrid

    • D.

      Selenium Web

    Correct Answer
    D. Selenium Web
    Explanation
    The correct answer is Selenium Web. Selenium Web is not a part of the Selenium suite. The Selenium suite consists of Selenium IDE, Selenium RC, and Selenium Grid, which are all used for different purposes in web automation testing. Selenium Web is not a recognized component of the Selenium suite, and therefore it is not part of the correct answer.

    Rate this question:

  • 2. 

    Select the language which is NOT supported by the Selenium RC.

    • A.

      ASP

    • B.

      Java

    • C.

      C#

    • D.

      PHP

    Correct Answer
    A. ASP
    Explanation
    Selenium RC (Remote Control) is a tool that allows users to write automated web application tests in any programming language. It supports multiple programming languages such as Java, C#, and PHP. However, ASP (Active Server Pages) is not supported by Selenium RC. ASP is a server-side scripting language developed by Microsoft and is primarily used for creating dynamic web pages.

    Rate this question:

  • 3. 

    Select the name which is NOT the type of the locaters.

    • A.

      ID

    • B.

      Name

    • C.

      Password

    • D.

      Link Text

    Correct Answer
    C. Password
    Explanation
    The given options consist of different types of locaters used in web development. ID, Name, and Link Text are commonly used locaters to identify elements on a web page. However, "Password" is not a type of locater, but rather a type of input field used for entering passwords on web forms.

    Rate this question:

  • 4. 

    Is Web Driver a component of the Selenium?

    • A.

      No

    • B.

      Yes

    Correct Answer
    B. Yes
    Explanation
    Yes, WebDriver is a component of Selenium. Selenium is a set of tools and libraries that is used for automating web browsers. WebDriver is one of the key components of Selenium and it provides a programming interface to control and interact with web browsers. It allows users to write automation scripts in various programming languages to simulate user interactions with web applications. Therefore, the correct answer is Yes.

    Rate this question:

  • 5. 

    Selenium IDE stands for

    • A.

      Selenium Intialization Development Environment

    • B.

      Selenium Interrelated Development Environment

    • C.

      Selenium Integrated Development Environment

    • D.

      Selenium Information Development Environment

    Correct Answer
    C. Selenium Integrated Development Environment
    Explanation
    Selenium IDE stands for Selenium Integrated Development Environment. This is a tool used for automating web browsers. It allows users to record and playback actions performed on a web application, making it easier to create and execute automated tests. The term "integrated" in the acronym refers to the fact that Selenium IDE can be integrated with other Selenium tools and frameworks to enhance the testing process.

    Rate this question:

  • 6. 

    Select the Browser which is supported by Selenium IDE

    • A.

      Google chrome

    • B.

      Opera mini

    • C.

      Mozilla Firefox

    • D.

      Internet Explorer

    Correct Answer
    C. Mozilla Firefox
    Explanation
    Selenium IDE is a testing framework that allows users to automate browser actions. Among the given options, Mozilla Firefox is the browser that is supported by Selenium IDE. This means that Selenium IDE is compatible with Mozilla Firefox and can be used to automate testing on this browser.

    Rate this question:

  • 7. 

    Select the operating system which is NOT supported by Selenium IDE.

    • A.

      Unix

    • B.

      Linux

    • C.

      Windows

    • D.

      Solaris

    Correct Answer
    A. Unix
    Explanation
    Selenium IDE is a web browser automation tool that allows users to record and playback interactions on web pages. It supports various operating systems like Linux, Windows, and Solaris. However, Unix is not supported by Selenium IDE. This means that users cannot use Selenium IDE on Unix operating systems to automate web browser interactions.

    Rate this question:

  • 8. 

    The Web driver is used

    • A.

      To execute tests on the HtmlUnit browser.

    • B.

      To design a test using Selenese

    • C.

      To quickly create tests

    • D.

      To test a web application against Firefox only.

    Correct Answer
    A. To execute tests on the HtmlUnit browser.
    Explanation
    The WebDriver is used to execute tests on the HtmlUnit browser. HtmlUnit is a headless browser that allows for automated testing of web applications without the need for a graphical user interface. The WebDriver provides a programming interface to interact with the HtmlUnit browser, allowing testers to perform actions such as clicking buttons, filling forms, and verifying page content. This makes it a useful tool for automating tests and ensuring the functionality and compatibility of web applications.

    Rate this question:

  • 9. 

    The Selenium IDE is used

    • A.

      To create customized test results.

    • B.

      To deploy your tests across multiple environments using Selenium Grid

    • C.

      To test with HTMLUnit

    • D.

      To test a web application against Firefox only.

    Correct Answer
    D. To test a web application against Firefox only.
    Explanation
    The correct answer is "To test a web application against Firefox only." This is because Selenium IDE is primarily used as a Firefox add-on for recording and playing back user interactions with the browser. While it can be used for creating customized test results, deploying tests across multiple environments using Selenium Grid, and testing with HTMLUnit, its main purpose is to test web applications specifically on the Firefox browser.

    Rate this question:

  • 10. 

    The Selenium RC is used

    • A.

      To run your test against different browsers (except HtmlUnit) on different operating systems.

    • B.

      To create tests with little or no prior knowledge in programming.

    • C.

      To test a web application against Firefox only.

    • D.

      To run a huge test suite, that can be executed on multiple machines.

    Correct Answer
    A. To run your test against different browsers (except HtmlUnit) on different operating systems.
    Explanation
    The correct answer is "To run your test against different browsers (except HtmlUnit) on different operating systems." Selenium RC allows testers to execute their tests on various browsers (excluding HtmlUnit) and operating systems. This feature ensures that the web application is compatible and functions correctly across different platforms.

    Rate this question:

  • 11. 

    Select the command which is NOT a type of assertion in Selenium IDE.

    • A.

      Assert

    • B.

      Verify

    • C.

      WaitFor

    • D.

      Wait

    Correct Answer
    D. Wait
    Explanation
    The command "Wait" is not a type of assertion in Selenium IDE. Assertions are used to verify the expected behavior of a web application, whereas the "Wait" command is used to pause the test execution for a specific period of time. It does not perform any verification or assertion on the application under test.

    Rate this question:

  • 12. 

    Select the method which selects the option at the given index.

    • A.

      SelectByIndex()

    • B.

      SelectIndex()

    • C.

      SelectedByIndex()

    • D.

      SelectByIndexes()

    Correct Answer
    A. SelectByIndex()
    Explanation
    The correct answer is "selectByIndex()". This method is used to select an option from a dropdown list based on its index. The index starts from 0, so the first option in the list has an index of 0, the second option has an index of 1, and so on. By using this method, we can easily select the option at the given index in the dropdown list.

    Rate this question:

  • 13. 

    The Selenium can

    • A.

      Access controls within the desktop

    • B.

      Both web and desktop applications

    • C.

      Only test web applications

    Correct Answer
    C. Only test web applications
    Explanation
    Selenium is a widely used open-source tool for automating web browsers. It provides a framework for writing test scripts in various programming languages to automate web application testing. However, Selenium is primarily designed for testing web applications and lacks native support for automating desktop applications. Therefore, the correct answer is that Selenium can only test web applications.

    Rate this question:

  • 14. 

    The Selenium

    • A.

      Provides professional customer support

    • B.

      Test Reports are generated automatically

    • C.

      Comes with a built-in object repository

    • D.

      Cannot access elements outside of the web application under test

    Correct Answer
    D. Cannot access elements outside of the web application under test
    Explanation
    The correct answer is "Cannot access elements outside of the web application under test". This means that Selenium, while being a useful tool for testing web applications, has a limitation in that it cannot access elements outside of the web application being tested. This could be due to security restrictions or technical limitations, but it means that Selenium is limited to interacting only with elements within the web application under test.

    Rate this question:

  • 15. 

    Can Google chrome be supported by Selenium IDE?

    • A.

      Yes

    • B.

      No

    Correct Answer
    B. No
    Explanation
    Google Chrome cannot be directly supported by Selenium IDE. Selenium IDE is a Firefox plugin and is primarily designed to work with Firefox browser. However, Selenium WebDriver, which is a different tool from Selenium IDE, can be used to automate Google Chrome browser.

    Rate this question:

  • 16. 

    Can Unix operating system be supported by Selenium IDE?

    • A.

      No

    • B.

      Yes

    Correct Answer
    A. No
    Explanation
    The Unix operating system cannot be directly supported by Selenium IDE. Selenium IDE is a browser automation tool that is primarily designed to work with web browsers such as Chrome, Firefox, and Internet Explorer. Unix is a different operating system that is not directly compatible with Selenium IDE. However, Selenium WebDriver can be used to automate web browsers on Unix systems by writing code in programming languages such as Java, Python, or C#.

    Rate this question:

  • 17. 

    Which command can be used to enter values onto text boxes?

    • A.

      SendsKeys()

    • B.

      SendKey()

    • C.

      SendKeyd()

    • D.

      SendKeys()

    Correct Answer
    D. SendKeys()
    Explanation
    The correct answer is "sendKeys()". This command is used to enter values onto text boxes. It is a method in Selenium WebDriver that allows the user to type text into an input field or text box on a web page. By using this command, the user can simulate keyboard input and enter the desired values onto text boxes.

    Rate this question:

  • 18. 

    Select the language which is supported by The Selenium Web Driver

    • A.

      Perl

    • B.

      SQL

    • C.

      ASP

    • D.

      Cobol

    Correct Answer
    A. Perl
    Explanation
    The correct answer is Perl. The Selenium Web Driver supports multiple programming languages for test automation, and Perl is one of them. It provides a Perl binding that allows developers to write Selenium tests using Perl programming language.

    Rate this question:

  • 19. 

    Which Selenium component supports All Operating System?

    • A.

      Selenium Generator

    • B.

      Selenium IDE

    • C.

      Selenium WebDriver

    Correct Answer
    C. Selenium WebDriver
    Explanation
    Selenium WebDriver is the correct answer because it is a component of Selenium that supports all operating systems. WebDriver allows users to automate browser actions on different platforms such as Windows, macOS, Linux, etc. It provides a programming interface to create and execute test cases across various browsers and operating systems, making it a versatile tool for cross-platform testing.

    Rate this question:

  • 20. 

    Select the command in Selenium IDE used to open a page using the URL.

    • A.

      OpenRecord

    • B.

      Open

    • C.

      OpenText

    • D.

      OpenTable

    Correct Answer
    B. Open
    Explanation
    The correct answer is "Open" because the "Open" command is used in Selenium IDE to open a page using the URL. This command allows the tester to navigate to a specific URL and load the corresponding webpage for further testing.

    Rate this question:

  • 21. 

    In case of Selenium IDE, the Source view shows the script in

    • A.

      DHTML format

    • B.

      J2EE format

    • C.

      XML format

    • D.

      HTML format

    Correct Answer
    D. HTML format
    Explanation
    The correct answer is HTML format. In Selenium IDE, the Source view displays the script in HTML format. This means that the script is represented using HTML tags and syntax, which is the standard markup language for creating web pages. The HTML format allows users to easily understand and edit the script, as it is a widely used and familiar format in web development.

    Rate this question:

  • 22. 

    The Actions commands

    • A.

      Are commands that directly interact with page elements.

    • B.

      Are commands that allow you to store values to a variable.

    • C.

      Are commands that verify if a certain condition is met.

    Correct Answer
    A. Are commands that directly interact with page elements.
    Explanation
    The correct answer is "are commands that directly interact with page elements." This is because action commands refer to the commands that perform actions on the elements of a webpage. These commands are used to interact with the various elements such as clicking buttons, filling forms, selecting dropdowns, etc. They allow users to simulate user interactions and perform automated tasks on the webpage.

    Rate this question:

  • 23. 

    Select the command which is used to check the presence of a certain element.

    • A.

      verifyTable

    • B.

      VerifyTitlePresent

    • C.

      VerifyTextPresent

    • D.

      VerifyElementPresent

    Correct Answer
    D. VerifyElementPresent
    Explanation
    The command "verifyElementPresent" is used to check the presence of a certain element. It is commonly used in automation testing to verify if a specific element is present on a webpage or not. This command helps in ensuring the correctness of the webpage's structure and functionality by confirming the presence of expected elements.

    Rate this question:

  • 24. 

    Select the command which is used to print a string value or a variable in Selenium IDE.

    • A.

      The 'display' command

    • B.

      The 'echo' command

    • C.

      The 'print' command

    • D.

      The 'printr' command

    Correct Answer
    B. The 'echo' command
    Explanation
    The 'echo' command is used to print a string value or a variable in Selenium IDE. This command allows the user to display the desired text or variable value on the console or log. It is commonly used for debugging purposes to verify the values of variables during test execution.

    Rate this question:

  • 25. 

    Which component of Selenium can create customized test results.

    • A.

      Web driver

    • B.

      Selenium RC

    • C.

      Selenium IDE

    • D.

      Selenium Grid

    Correct Answer
    A. Web driver
    Explanation
    The WebDriver component of Selenium allows users to create customized test results. WebDriver is a powerful tool that enables users to interact with web applications, automate testing processes, and generate detailed test reports. It provides a wide range of features and functionalities that can be customized according to the specific requirements of the testing project. With WebDriver, users can easily create personalized test results that meet their needs and provide valuable insights into the performance and functionality of the tested web application.

    Rate this question:

  • 26. 

    Select the command which is used to compare the contents of a table with expected values.

    • A.

      VerifyTables

    • B.

      VerifyTableData

    • C.

      VerifyTable

    • D.

      VerifyTableCell

    Correct Answer
    C. VerifyTable
    Explanation
    The command "verifyTable" is used to compare the contents of a table with expected values. This command is commonly used in test automation to verify that the data displayed in a table matches the expected data. By using this command, testers can ensure the accuracy and integrity of the table data in their applications.

    Rate this question:

  • 27. 

    Select the command which is used to pause execution until the specified element becomes present.

    • A.

      WaitForElementPresent

    • B.

      WaitForPagePresent

    • C.

      WaitForTablePresent

    • D.

      WaitForFieldPresent

    Correct Answer
    A. WaitForElementPresent
    Explanation
    The command "waitForElementPresent" is used to pause the execution of the program until the specified element becomes present on the webpage. This command is commonly used in automated testing to ensure that the program waits for the element to load before performing any further actions.

    Rate this question:

  • 28. 

    Select the command that will NOT wait for a new page to load before moving onto the next command.

    • A.

      ClickAndWait

    • B.

      SelectAndType

    • C.

      TypeAndWait

    • D.

      SelectAndWait

    Correct Answer
    B. SelectAndType
    Explanation
    The command "selectAndType" will not wait for a new page to load before moving onto the next command. This command is used to select an option from a dropdown menu and then type a value into an input field. It does not require the page to fully load before executing the next command, making it the correct answer to the question.

    Rate this question:

  • 29. 

    Select the command which is used to pause execution until the page is loaded completely.

    • A.

      WaitForPageToLoad

    • B.

      WaitForElementPresent

    • C.

      WaitForPage

    • D.

      WaitForLoad

    Correct Answer
    A. WaitForPageToLoad
    Explanation
    The correct answer is "waitForPageToLoad". This command is used to pause the execution of a script until the page is fully loaded. It ensures that all elements on the page are loaded and ready to be interacted with before proceeding with the script.

    Rate this question:

  • 30. 

    Select the command which is used to compare the actual page title with an expected value.

    • A.

      VerifyTitle

    • B.

      VerifiedTitle

    • C.

      VerifyTitles

    • D.

      VerifiedTitles

    Correct Answer
    A. VerifyTitle
    Explanation
    The command "verifyTitle" is used to compare the actual page title with an expected value. This command is commonly used in automated testing to ensure that the title of a webpage matches the expected value, allowing for verification of the correct page being displayed.

    Rate this question:

  • 31. 

    Select the command which is NOT used in verifying page elements.

    • A.

      VerifyElementPresent

    • B.

      VerifyElementRight

    • C.

      VerifyElementNotPresent

    • D.

      VerifyElementPositionLeft

    Correct Answer
    B. VerifyElementRight
    Explanation
    The command "verifyElementRight" is not used in verifying page elements. This command does not exist and is not a valid command for verifying page elements. The other commands listed, such as "verifyElementPresent," "verifyElementNotPresent," and "verifyElementPositionLeft," are valid commands that can be used to verify the presence, absence, and position of page elements.

    Rate this question:

  • 32. 

    Select the tab which gives feedback and other useful information when executing tests.

    • A.

      Information

    • B.

      Feedback

    • C.

      Reference

    • D.

      Element

    Correct Answer
    C. Reference
    Explanation
    The "Reference" tab provides additional information and resources that can be helpful when executing tests. It may include documentation, guidelines, or references to external sources that can assist in understanding the test case or resolving any issues that may arise during execution. This tab is designed to provide users with the necessary information and references to ensure successful test execution.

    Rate this question:

  • 33. 

    What is TestNG?

    • A.

      TestNextGeneration

    • B.

      TestNewGenerlization

    • C.

      TestNewGeneration

    • D.

      TestNextGenerations

    Correct Answer
    A. TestNextGeneration
    Explanation
    TestNG stands for TestNextGeneration. It is a testing framework that is widely used in Java programming for performing unit testing, integration testing, and functional testing of software applications. TestNG provides various features such as parallel test execution, test configuration through XML files, test dependency management, and test reporting. It also supports annotations for defining test methods, test groups, and test priorities. TestNG is known for its flexibility, extensibility, and easy integration with build tools like Maven and Ant.

    Rate this question:

  • 34. 

    Select the variation which finds elements based on the driver's underlying CSS selector engine in Web driver Selenium.

    • A.

      By.cssSelected

    • B.

      By.cssSelection

    • C.

      By.cssSelector

    • D.

      By.Selectcs

    Correct Answer
    A. By.cssSelected
    Explanation
    The correct answer is By.cssSelector. This variation in Web driver Selenium allows you to find elements based on the driver's underlying CSS selector engine. It is commonly used to locate elements on a web page by using CSS selectors.

    Rate this question:

  • 35. 

    Select the variation which locates elements by the value of the "name" attribute in Web driver Selenium

    • A.

      By.name

    • B.

      By.nametag

    • C.

      By.tagname

    • D.

      By.nametags

    Correct Answer
    A. By.name
    Explanation
    The correct answer is "By.name" because this is the method in Selenium WebDriver that is used to locate elements by the value of the "name" attribute. This method allows you to find elements on a webpage by searching for the specific value assigned to the "name" attribute in the HTML code.

    Rate this question:

  • 36. 

    Select the tab that shows which command Selenium IDE is currently executing.

    • A.

      Variable

    • B.

      Data

    • C.

      Information

    • D.

      Info

    Correct Answer
    D. Info
    Explanation
    The "Info" tab in Selenium IDE shows the command that is currently being executed. This tab provides information about the ongoing command, such as its name, target, and value. By selecting the "Info" tab, users can easily keep track of the command being executed and monitor its progress.

    Rate this question:

  • 37. 

    Which is a faster component between the SeleniumWeb driver and Selenium RC?

    • A.

      Selenium RC

    • B.

      Selenium Web driver

    Correct Answer
    B. Selenium Web driver
    Explanation
    The Selenium Web driver is a faster component compared to Selenium RC. This is because Selenium Web driver directly interacts with the browser, bypassing the need for an intermediary server like Selenium RC. This eliminates the network latency and allows for faster execution of test scripts. Additionally, Selenium Web driver supports multiple programming languages, making it more versatile and efficient in test automation.

    Rate this question:

  • 38. 

    Select the variation which locates elements by the value of their "id" attribute in Web Driver Selenium.

    • A.

      By.id

    • B.

      By.idno

    • C.

      By.id_no

    • D.

      By.tag_id

    Correct Answer
    A. By.id
    Explanation
    The correct answer is "By.id" because in Web Driver Selenium, the "By.id" variation is used to locate elements by the value of their "id" attribute. This allows users to easily identify and interact with specific elements on a webpage by referencing their unique identifier.

    Rate this question:

  • 39. 

    Select the Get command which fetches the inner text of the element that you specify in Web driver Selenium.

    • A.

      GetinnerText()

    • B.

      Get_in_Text()

    • C.

      Get_inner_Text()

    • D.

      GetText()

    Correct Answer
    D. GetText()
    Explanation
    The correct answer is "getText()". This command is used in Web driver Selenium to fetch the inner text of the specified element. It retrieves the visible text contained within the element, including any child elements, and returns it as a string. The other options provided, "getinnerText()", "get_in_Text()", and "get_inner_Text()", are not valid commands in Selenium and do not perform the same functionality as "getText()".

    Rate this question:

  • 40. 

    Which Navigate command takes you forward by one page on the browser's history in Web driver Selenium.

    • A.

      Navigate.forward()

    • B.

      Navigate().forward()

    • C.

      Navigate()_forward()

    • D.

      Navigate_forword()

    Correct Answer
    B. Navigate().forward()
    Explanation
    The correct answer is navigate().forward(). In WebDriver Selenium, the navigate().forward() command is used to navigate forward by one page on the browser's history. This command allows the automation script to simulate the action of clicking the browser's forward button.

    Rate this question:

  • 41. 

    Which method is used when you want to verify whether a certain check box, radio button, or option in a drop-down box is selected in Web driver Selenium?

    • A.

      Is_Selected()

    • B.

      IsSelect()

    • C.

      IsSelected()

    • D.

      Is_Select()

    Correct Answer
    C. IsSelected()
    Explanation
    The isSelected() method is used in Web driver Selenium to verify whether a certain check box, radio button, or option in a drop-down box is selected. This method returns a boolean value, true if the element is selected and false if it is not. It is commonly used in test automation to validate the state of checkboxes, radio buttons, and dropdowns before performing any actions on them.

    Rate this question:

  • 42. 

    Which Component is used to run multiple tests simultaneously in different browsers and platforms?

    • A.

      Selenium Grid

    • B.

      Selenium IDE

    • C.

      Selenium RC

    • D.

      Selenium Webdriver

    Correct Answer
    A. Selenium Grid
    Explanation
    Selenium Grid is the correct answer because it is specifically designed to run multiple tests simultaneously in different browsers and platforms. It allows for distributed test execution, where tests can be run on different machines or virtual machines, enabling parallel testing and reducing the overall test execution time. With Selenium Grid, testers can easily scale their test automation efforts and ensure compatibility across various browsers and platforms.

    Rate this question:

  • 43. 

    Select the View which shows your script in HTML format.

    • A.

      The Table View

    • B.

      The Source View

    • C.

      The Editor View

    • D.

      The Field View

    Correct Answer
    B. The Source View
    Explanation
    The Source View is the correct answer because it is the view that displays the script in HTML format. This view allows users to see the underlying HTML code of their script, which can be useful for debugging or making specific modifications to the code. The other views mentioned (Table View, Editor View, and Field View) do not specifically show the script in HTML format.

    Rate this question:

  • 44. 

    Select the method which clears all selected entries in Web driver Selenium.

    • A.

      DselectAll()

    • B.

      Deselect_All()

    • C.

      Dselect_All()

    • D.

      DeselectAll()

    Correct Answer
    D. DeselectAll()
    Explanation
    The correct method to clear all selected entries in Web driver Selenium is deselectAll(). This method is used to remove the selection of all options that have previously been selected in a multi-select dropdown or list box element. By calling this method, all selected entries will be deselected and cleared, allowing for a fresh selection to be made.

    Rate this question:

  • 45. 

    Method which selects the option which displays the text matching the parameter passed to it

    • A.

      SelectVisibleText()

    • B.

      SelectByVisibleText()

    • C.

      Select_VisibleText()

    • D.

      Select_ByVisibleText()

    Correct Answer
    B. SelectByVisibleText()
    Explanation
    The correct answer is "selectByVisibleText()". This method is used to select an option from a dropdown menu by matching the visible text of the option with the parameter passed to it. It is commonly used in automation testing to select a specific option based on its visible text. The other options provided, "selectVisibleText()", "select_VisibleText()", and "select_ByVisibleText()" are not valid methods and do not exist in the programming language or framework being referred to in the question.

    Rate this question:

  • 46. 

    Out of the following which is NOT a wait command.

    • A.

      WaitForTitle

    • B.

      WaitForTextPresent

    • C.

      WaitForActive

    • D.

      WaitForAlert

    Correct Answer
    C. WaitForActive
    Explanation
    The waitForActive command is not a wait command because it does not wait for a specific element or condition to become active or visible. Instead, it is used to check if the current window or frame is active. The other options, waitForTitle, waitForTextPresent, and waitForAlert, are all wait commands that wait for specific elements or conditions to be present or displayed on the page.

    Rate this question:

  • 47. 

    Select the command which retrieves the alert message and stores it in a variable that you will specify.

    • A.

      StoreAlert

    • B.

      StoredAlert

    • C.

      Store_Alert

    • D.

      StoresAlert

    Correct Answer
    A. StoreAlert
    Explanation
    The correct answer is "storeAlert" because it is the command that retrieves the alert message and stores it in a variable that the user can specify. This command is specifically designed for this purpose and is commonly used in automated testing to capture and manipulate alert messages generated by web applications.

    Rate this question:

  • 48. 

    Select the method which performs a context-click at the current mouse location.

    • A.

      Click_Context()

    • B.

      Context.Click()

    • C.

      ContextClick()

    • D.

      Context_Click()

    Correct Answer
    C. ContextClick()
    Explanation
    The correct answer is "contextClick()". This method performs a context-click at the current mouse location. It is commonly used when you want to simulate a right-click or a long-press action on an element. The other options provided in the question do not match the correct method name.

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 21, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Mar 12, 2015
    Quiz Created by
    Apteantraining2
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.