Selenium WebDriver - Mastering Test Automation with Selenium
What is Selenium?
Selenium is an open source automated testing suite for web applications across different browsers and platforms. It is quite similar to HP Quick Test Professional (QTP) only that Selenium focuses on automating web-based applications.
Selenium is not just a single tool but a suite of software's, each catering to different testing needs of an organization.
Based on Selenium WebDrivers, this new Library for B4J can automate browsers and create any robot and get any information from websites.
And you can use with or Without UI
Download the library and dependencies and put in your B4J Library Folder
Download the ChromeDriver for your platform.
Can be used on Windows/Linux/MacOSX, just download correct driver for your platform on:
TIP: Inside the samples you already have ChromeDriver.exe for windows
Try the samples
Sample 1: (SampleNasdaq.zip) Open Nasdaq.com website and get the top stocks on market
Sample 2: (SampleOyster.zip) Open UK TLF website for retrieve Oysters card and balance from each one
Check with a few lines of code you can retrieve a table from nasdaq website
Dim objSelenium As Selenium objSelenium.DebugMode = True objSelenium.Initialize("chromedriver.exe","objSelenium") objSelenium.Navigate("https://www.nasdaq.com/") Dim lstElements As List = objSelenium.findElementList("indexTable") For Each k As String In lstElements Log(k) Next
Check others libraries on: