Than I recorded my first test and exported to a Java class. Hm.. I found six different options of exporting my record to Java code. I can choose one of a few frameworks and type of testing path - local or remote. The plugin allow to generate Java code dedicated for old Selenium libraries bellow 3 version (it is deprecated code in version 2.52) and developing type for future 3rd version of Selenium libraries (WebDriver).
I tried all possible combinations except dedicated for TestNG framework.
Old Selenium | WebDriver |
---|---|
Selenium interface is deprecated and will be removed in 3.x version | |
Supports regular expressions in disabled native mode/td> | Till now I didn't find any way to localise elements by regular expressions by xpath |
All actions are accessible by one interface | Functionality of old interface is available by a few separated classes |