mynethome.de

Archiv des Schlagworts(Tags) ‘Browsertest’

Mittwoch, den 4. November 2015

Browser UI testing with Geb: Debugging Geb tests

Geb provides a very good way for end-to-end tests of browser applications. One drawback while writing is that it might get rick to get the selectors for the UI elements right. Being able to debug, stop in the middle of a test and adjusting the selectors would come in very handy. But, as things are […]

Mittwoch, den 10. Juni 2015

Browser UI Testing with Geb: Select first element of <select> dropdown

Another short note regarding browser automation / web testing with geb: If you want to select the first element of a dropdown element (aka <select>) but you don’t know the title nor the label as the element are fetched from the volatile test-env database, this might help: new Select($(„select#ImportantEntity“).firstElement()).selectByIndex(1) It works by combining the geb […]

Donnerstag, den 18. Dezember 2014

Browser UI Testing with Geb: Scroll element to be visible

Just as a short note regarding browser automation / web testing with geb: If you want / need to make sre an certain element is visible on the screen so your test find the right UI element to continue, this snippet (that is a example test method) might help: void „delete element in list“() { […]

mynethome.de wird erstellt mit WordPress
Beiträge (RSS) und Kommentare (RSS)

(c) 2005 - 2025 Markus Schlichting - Mastodon