Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Selenium Essentials

You're reading from   Selenium Essentials Get to grips with automated web testing with the amazing power of Selenium WebDriver

Arrow left icon
Product type Paperback
Published in Mar 2015
Publisher
ISBN-13 9781784394332
Length 194 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Prashanth Sams Prashanth Sams
Author Profile Icon Prashanth Sams
Prashanth Sams
Arrow right icon
View More author details
Toc

Avoiding Selenium export

Exporting test cases each and every time can bother the user. The Selenium IDE provides an excellent feature to avoid such exporting trouble by using a quick solution. In general, clicking on the Source toggle button under the Test Case pane displays the current test case in the Selenese language. The Selenium IDE transforms the existing Selenese language into a user-preferred script format, such as, Java/JUnit4/WebDriver.

Launch the Selenium IDE and choose Options... from the Options menu. Make sure that the option Enable experimental features is selected and click on the OK button. Click on the Format option in the Options menu and select the preferred combination format.

For example, you can select the Java/JUnit4/WebDriver option, as shown in the following screenshot.

Finally, restart the Selenium IDE for the changes to take effect. In the Selenium IDE, there is no support for exporting the test cases in TestNG with the WebDriver (Java/TestNG/WebDriver) combination format.

Avoiding Selenium export

The tab will automatically switch to the Source view on disabling the Table toggle button, as shown in the following screenshot:

Avoiding Selenium export
You have been reading a chapter from
Selenium Essentials
Published in: Mar 2015
Publisher:
ISBN-13: 9781784394332
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime