dotnetomaniak.pl - Artykuły z tagiem UI Automation

When it comes to writing maintainable UI test there always appears the term of Page Object Pattern. For those who are not familiar with Page Object, it’s the approach to building UI test that focuses on creating high-level abstraction over low-level details related to interaction with a tested application. This testing interface encapsulates all the noise related to technology and allows to clearly express intention of test cases. This concept is very well described...

Dziel się z innymi:
[EN] Feature Object Pattern · Cezary Piątek Blog

Sztuka programowania 2080 dni, 10 godzin, 11 minut temu cezarypiatek 80 źrodło rozwiń

When I browse StackOverflow questions tagged with selenium label, a lot of them are related to the problem of clicking on page elements. It seems to be one of the most trivial tasks, but can cause a lot of problems. Very often invoking Click() action on webelement ends with exceptions (there is a wide range of them). The main reason is that element on which we try to click is not in “Interactable” state. There is a lot of different factors that can cause that situation:Element has zero dimension (width ...

Dziel się z innymi:
Why clicking with Selenium is so hard

Web 2371 dni, 10 godzin, 50 minut temu cezarypiatek 105 źrodło rozwiń

Biblioteka Microsoft UI Automation ujrzała światło dzienne wraz z premierą .NET 3.0 - jednakże pozostała ona w cieniu swoich większych braci WPF oraz WPF, które również zostały wprowadzone do Frameworka 3.0. Microsoft UI automation zapewnia nam dostęp do wszystkich elementów drzewa wizualnego aplikacji. Dzięki czemu mamy możliwość: Znajdowania wybranych przez nas kontrolek Interakcji z kontrolkami - wpisywanie tekstów do TextBox-ów, klikanie w przyciski itp Wczytywania wartości już wprowadzonych ...

Tagi: C#, Test, ui, UI Automation
Dziel się z innymi:
UIAutomation - czyli testy automatyczne w .NET ~ Premium Hands

Windows 4508 dni, 9 godzin, 35 minut temu premium-hands-net 190 źrodło rozwiń

Najaktywniejsi w tym miesiącu