The Selenium IDE clipboard

Copying snippets through Clipboard Format is one of the quickest ways to obtain instantly generated scripts. Here, a snippet may contain one or two lines of code. The following screenshot displays different types of export formats available under the Clipboard Format option:

The Selenium IDE clipboard

Launch the Selenium IDE, hover your mouse over the Clipboard Format option from the Options menu, and select the preferred combination format.

An example of a combination format is Java/JUnit 4/WebDriver. In general, the HTML snippet is set as default. The following screenshot shows a row being copied from the Test Case pane:

The Selenium IDE clipboard

Copy the following row from the Test Case pane (as shown in the preceding screenshot) and paste it as a code snippet:

driver.findElement(By.id("gbqfq")).clear();
driver.findElement(By.id("gbqfq")).sendKeys("prashanthsams");
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.139.97.40