Merken

Testing web apps with Selenium

Zitierlink des Filmsegments
Embed Code

Automatisierte Medienanalyse

Beta
Erkannte Entitäten
Sprachtranskript
few notify you will recall should not only does Michael because it you 1 of them to the public and want to promote and to try to persuade us last name it to be some sort of funny like I am now working English of the workforce is meant to that so which is so companies might think of the props for a local people alive e-mail search maps and the other thing actually good so that we are trying to to open up our maps to have to do a lot because her when I make
plans to do any so it's actually a more detailed semantic Ferdinand who wants no you have lower parts so we have to look at this and somehow as and he does that and therefore I'm standing right here to share our knowledge of some perspective see some tapes and so on point out some of the pitfalls there some how can we best that sites so the users so think it's so unit that's so and
go some API this is my best and so you should also be reviewed in issue so does it the not stuff like this because it's very monitoring but it's not enough for part because you have to does some aggressive and once you get to do that as well like flask in general so can be really simple like of this piece of code uh but still it's not just think of the of the page because there know what there are a lot of points I suppose it so you have to do so Best also just you can do that so this is so for example if mean that all of the gold and again it's so unit test so to so any so now you have you can best so site and so the can sigh about so you have to somehow connected to make some indication that of fooled but by age but it's workflow of us what users seek so how we can we do that we can adapt itself so in the so i'm with Roosevelt this is so so the condition and how does it look like it so sounds but they have not actually it isn't it so like that it's very simple you firstly import something you open Brazil so in this example it's from the you alone get some page for it so I break for example then brings also titled that page and so after that's just putting closing the rows of I'm sorry for these comments inspected a man I don't like his commencing cultivar not say that Canada stock uh and what can happen do so anymore it's can ground wrap it can so you can use check some achievements on elements you can click on them or you can go check something keys you can make scheme shorts and so on but that's a and so I don't know I I collapse talk about it because I you continue to end the commendation of focus on him I want to know talk about some pitfalls and so there was some best practices so about how to best so registered signs so 1st if fall areas so but forms it's very hard so this culture simple and it's just so that you know that's spiked mean such fields and the summit so that formed and that's it and you can see it's 5 finds a lot of cold and it's hard to find a and you have to think about a lot of things like and when you have on agree sites some unchanged even tho it will not be fired when you send piece so that in books of because venues and useful was is still here so you have to press stop like in this example the tools that focus and fire on change and also you have to think about it so all inputs like book so like so 16 and so and more and that every input has to be be written differently the OLS lots of use so stop which has the Chinese Chinese boxes reach the heights actually to the real world trade books and so you can see from someone other elements and you have to think about that's a lot of so think you have to do so I can make it so simple made it so the library that directly which is on my like by you can use it for Python 2 and latency and it's well-documented and so called like this so I can be very simple just find some form and so fast so Dictionary of reading keys so that our main source for the symbols and so do when are over those iconic fights like there is some banks the it's such as books you can just passed through false and doesn't have to think about it adopted some would start to books sort the adults you have to click on its talks libraries for you so well simple and the following this exception so and I can show you some examples the foreground on
I have so some code here you can see that it's so so so
will so slight souls and when I run it'll
come from but but our homepage and
title and great not so
exceptions from so I have a little and then you can further find some little exceptionally of some elements which is not here at all on the page it's really knowledge alignments box that a lot size 1 of which was so I made it so made it's simpler so those we call so for example and you have for example of such fill in China will wants to do those other and you I will do that by choosing some form you FIL something breaks of me and and you want to check that out some results on the next page and so I will say is just another but I want to know it's so on on which faded because that is there not conduct so major dissolves or is there a document the flow formula and not page she's not framed of those who selection With this exception you can see that the result from this not so on home page so we have it's not here because you have to be among different baseline I know load up for the but it's not so on page which is also the home and it follows is so that this or so there is a big discussion on 200 very so but the curve and it's calls slow there and feature of all the people want feature will to check the are the rules but you cannot have a false basis less about the it should be done it's just API for Rosa and so if you want some had their source because colds and and sort of are just we use some library for requests that's student biopsy if you or want to make some only requested has to so no that's only you have to know if it's a GET or POST or another but you have to know
if some of you have been possible keys and you have to pass it some kind of form you know you have to go get to the use of the views that it's it's there but you have it's about stem lines of codes to make it down and I I made it so and the teacher up libraries so you can just so get time and so some of something can so just don't want file or age and you can check actually what is very low and radius so my colleague about so that's on a proxy and checks so the of status quo and Henderson and more from books because you can do that so of state element exceptions it's if you recall Will standard example so and cold and or some tests so I mean you will find it pretty soon because when you do with some something which don't want grand inside the Cholesky and so the Solomons change of this on the Earth and so just to complete changes so don't know you don't have it in in in in bytes and you have just reference to that's so element and Don and if so something changes just exchanges it or if you will go to another page if there is some somebody was something you don't have this mental the anymore and you have just offense to something which doesn't exist so the debt in that exception is so just get me some elements so which should have society Q and some some keys just give it makes some changes and so when you some piece again productive amounts all exception it's no it's something clearly the of boat you you don't want to use some elements so and if you want to do that you have to be very careful because it happens a lot and actually this is if a fix it just now you see the difference In over in that external for example a solid written about think and states times you don't want anything like this and you notice called because so so what multiphase take a longer time until file because it will not be you want to write for some mention but it will not be there so it fail 4 . 0 days so right machinery in society and you can use it like a like this box you have to wait for a elements so a lot because there is little just given you always want to the wait for something so I made simple again just retirement and that's it I have no proof to have some code you can see uh this so called from from slide so just a little bit on them and the open so I wouldn't buy it should pass fast something so then but then at the end you so about so what the fire some of the company so then it won't so 1st lamenting that to compete for what was found in world of computers and so eventually that extends centrality of peace and so so what's there Low later if I will arrange itself and now you can see down to its final state elements friends exception so if you want to fix it you have
to just for example you 1 dollar or whatever to where useful don't so getting and always gets to fresh 1 if I this this 1 it
works by how you could see that there is so-called to we which rates for 2 seconds and you can see that little action also much faster and it doesn't have to wait for 2 seconds so you can make a little great wait for elements and each almost I'm just so little bit shorter and it works expect you can see the trend and entire irony it be much faster
I don't so you've got and I think
it is so searching governments by text the so I again dozens of wanted back to often think recalls so you want to call you use out something about about then you want to show some table of some for something and you want to check it out that information is here and you doesn't care about individual comment or whatever so you can still survive that but it's implemented by X fonts so which are again you can't make a lot of things about i.e. the I will not the comment it is it a lot so and the 1st line is so very simple for example how it's done but it's more complicated than that and so it's very slow if you can see that 1 around but if you use alter finds its Miroslaw now and so it's it's not good for maintaining the best critics spotted vector we'd ID sunglasses because each of it's much much easier because if you use a classes that and so someone changes so and light or whatever of new fuel elements are around and still all these classes are moving with so the silence or you don't have to worry changes in the school it is OK we know how to so you might like know about that but on the whole right that's well you can use so that they this case so reducing the library as well and slow waves there because it's so it implements a lot of cool things like it's great creates for you and so you just saw implemented in the development of like this example no default is my of and so you can save me so constant so if you want to open new variables for every test corpus case for all of us so if you will for a useful because it's slow to open a new browser window but then you have and other things so keep in mind those which are for example about in test you can break and so suddenly symbolic too short and so when that happens it's blocking like for users and some odd strops user can so make anything you just click on OK 2 children and some of the music and so so think is it's a London so and there's lot that you have to is it and if you will try to do something else will that's just exceptions and events some of unexpected destined to fail expressed the available opened some on the stay there forever to all of both whereabouts due to the time interval so the rules so you have to impose a prior and slope that's just case so does it for you right into on a new things out of and obstacles the web page you can open up new types of and some of the major some links to different so what and so on also you want to go back to your old code the the the Trappist thinks so again know this this this does it for you the and it's a decimal thing because you want to search check out food it you make sure looks just perfectly and so for example today some lower 500 so there are no or something else like that of the nite or whatever you want to know about it and so this is the scariest after every task the tracks but to if there is something like is by default it just so for the classes so the error and you can so changed out so that and you can see that in the commendation also there are error messages causal of tokens shows some error message to use for example if a user wants to insert under the new user rates I'm username or summarization phone or whatever and there is already got his name user said it's should show the error message and you want to check it out so just failed because you wanted it's doing that and if it's if it's not done you want to know about it and you have to right a lot of coating every test so to check alright so I made some of the characters so n FIL so but this case so always check those very some our page and if there is something it's so that's file and if you want so not so it should be so the 9 you just so good so the greater and the few cultural but mainly it should so shows sort of the 90 page and so that's it you're done you don't have to not always so take everything else if there is some form and you want to so the biggest on and the user requirements and so you want to check it out into real shows message again you will just put the critics their message and so which from what should also be and so if there is some of the 6 it's OK days not it's not OK and days different subjects of the cost of their message but it's also who felt that so it's a is or just so things like this and there are more in like slightly so also for infamous seduce if you want to know test so adopt so after the best laughter already stationed there is some informacij doctorate in room sign and you can look in whatever you can to that I don't think so I know what you're seeing the also I was showing you you can test adjusted close honest unit Best Buy so then you are around just it involves in the optics so that there always can be some which is so but not covered in Unit so just food so that these codes to real rights and so on you always checks for the Saracen these days some unexpected in just the beginning the file I can so I
have example for you it looks
like that it's example just moved to 1 page and so on to the best 1 for search you wonderful some most cost and when I went it works you could
see that so I use 1 instance test I can also use learning stands for with the scariest all tests and if which will be much faster
because their religious ones from the
as I can show you some error you
can see that so this element of the null in that page and that's good because it's a very I all
I laughter well by that all will also there also there so you can right so this so we might with so this flight so let's flow it's very simple to right so the best so might have very apparent but there is still 1 more thing and it's so you don't have to run it in Europe all the it open because you doesn't always so look at it and so you want to run a ones who said readout explosive it can be done on the Libya on so
you can install there by right all this plane it so right and plants so far but again it's it's so that the Council like 1 of so to you you you can because of 1 of the 1st order literature from means life and so for example we are using the extreme of B and B have carried out so of for example expediency output that you can connect to the to its or if it's a failing you can connect so and see what's happening so it's nice and still use where simple just start some display and so started and run your best and and stuff I can show it stood up to towards because I don't have a family of it on my machine here and so on and so know but the theory works and so on and so I would recommend to you to use of really big size so for that despite the cold 1 pitfall the so if you are using some those fixed elements it's appears missile because so so will always come to through supplements you want to watch it but if there is some fixed amount so it'll just sort scroll to that element and if it's fixed something evolve it will fail so crawl so that so click action or something else will fire of looked at safe and the element so therefore therefore you know if you have some fixed elements you want so the biggest size so you can and think so our sensor node you don't have anything because of you could see I just around Rosetown directly involved so if you want go something more you should also check out 100 it's written in Java possibly recovery with and have it so it allows you to run it so a more errors so more apparent existence also all somewhat violent Davis's and so it'll be faster it it works so that you have some monster but also so I and whatsoever so and so there are a lot of knowledge on different style will of machines you will just round somewhere windows and on and handwritten whatever and so installed so and to integrated like an old turned on some monster you will and so they just called Eurojust connected to that master and to all save all which those are you want so that in this example for example is so Firefox can then it's it's the same like from from just so you put them all there and so so you want Firefox for example and so that master will find no various Firefox and you can say also that you want so Firefox on Libya origin that you want so from on the on the right and so that must find the moment and if it's death had to learn it and it's not you will receive some exceptions so let's say the so if you like a search accounts of mentation and there are a lot more things slowed and I was saying and be theft or I think you imagine Michael to have because as we did hello if I use learn instance the
test case it can I have something like this that that Amsterdam methods for each test because the curve you can and it doesn't result the browser and it is so you have to thing adopt so if some best missing up something that you have to fix flow into life like in the World some other test if you roll around some unit test and these unit that unit test and it available write something to that it's some it's same here random and you could call somewhere in the field do something it's messed up and you have to fix it and you don't but you can use think of my restaurant used to thanks she go back 1 slide please I think was talk you said that you had to put that are the configuration of the resolutions when you're using the displays services like since he and protestant is that really mandatory or is it useable tests on responses design you can access a sponsor designed so if you will make exploring so with spectral adapt so that's all right but I'm I'm just saying that if you have some fixed so elements and you you kind of response because it's sufficient small continued over there were take the hi thanks for the talk could you comment on the architecture of your test suites when you have a peak application are there are some things that you don't think you need to test or a sum that you shouldn't can you comment on that well it's a question for 140 minutes left there is always a In the event the so does so so 80 per cent so also food what the same 20 per cent of call so focal-focal somewhere on what the users so do most and it does not if it's open here this question is so unsafe with for every once in question the if you think she you for example this your status of society tires the incense effect of as possible they didn't found that whether you get i which I don't think so well you you can check out of reach of revenues solve for CSS there but I wouldn't recommend it thanks I have 1 more question they can you make a setting of method screenshots comparisons with this for example standard test case those at every step a remember it somehow and then compare it every time you to the test case this is a tool to automate that well I forgot excellent thing thank you for question that down so when they're just files and you use my in the test case for the test or my tools for by that's it will automatically made because control and so so when you see in drinking stuff it's broken you can just Tchaikovsky interrupted faster than those parameters on my computer and check out what sorts of sort of thing so making eggs feature of this very simple you can just go viral adults who makes the job I think and so just so lost so parameter material into storage and that's it and so no then you have to go right TO voltage just compare these images so you can do that very simple but I don't know when you think about the about any library which is going any other questions the and 1st transforming them into which version of standing by using the development if to the show so I against the still they are actually relations so 1 and 2 here so you don't want to use so something 1 recalls so it's called assignment so into is so actually called and so I mean can so old call-center last so it's not clear user actions which and the rights of their and it's all browsers implemented it inside the rooms suspects that only so it's a binary on site and so you call real right API referred to as well and so so it's faking almost 3 0 user actions so there 2 the constantly
Mapping <Computergraphik>
Stellenring
Vorlesung/Konferenz
E-Mail
Web Site
Punkt
Komponententest
Quader
Element <Mathematik>
Mathematisierung
Automatische Handlungsplanung
Element <Mathematik>
Code
Computeranimation
Homepage
W3C-Standard
Mailing-Liste
Bildschirmmaske
Datensatz
Einheit <Mathematik>
Reelle Zahl
Perspektive
Vorzeichen <Mathematik>
Programmbibliothek
Indexberechnung
Druckertreiber
Metropolitan area network
Schlüsselverwaltung
Magnetbandlaufwerk
Browser
Symboltabelle
Nummerung
Ausnahmebehandlung
Quellcode
Ein-Ausgabe
Fokalpunkt
Endogene Variable
Data Dictionary
Arithmetisches Mittel
Datenfeld
Flächeninhalt
Konditionszahl
Ein-Ausgabe
Mereologie
Client
Modelltheorie
Lesezeichen <Internet>
Metropolitan area network
Dualitätstheorie
Elektronische Publikation
Fahne <Mathematik>
Division
Singularität <Mathematik>
Stichprobe
Bildschirmfenster
Benutzerführung
Nabel <Mathematik>
Chi-Quadrat-Verteilung
Code
Computeranimation
Resultante
Zentralisator
Proxy Server
Bit
Quader
Element <Mathematik>
Mathematisierung
t-Test
Element <Mathematik>
Computerunterstütztes Verfahren
Extrempunkt
Code
Computeranimation
Homepage
Ausdruck <Logik>
Metropolitan area network
Message-Passing
Bildschirmmaske
Code
Trennschärfe <Statistik>
Programmbibliothek
Kontrollstruktur
Kurvenanpassung
Druckertreiber
Gerade
Softwaretest
Elektronische Publikation
Sichtenkonzept
Ausnahmebehandlung
Schlussregel
Quellcode
Elektronische Publikation
Datenfluss
Quick-Sort
Rechenschieber
Verschlingung
Rechter Winkel
Beweistheorie
Basisvektor
Codierung
Schlüsselverwaltung
Ext-Funktor
Aggregatzustand
Lesezeichen <Internet>
Metropolitan area network
Hash-Algorithmus
Elektronische Publikation
Gruppe <Mathematik>
Mapping <Computergraphik>
Bildschirmfenster
Benutzerführung
Nabel <Mathematik>
Computeranimation
Gammafunktion
Metropolitan area network
Bit
Elektronische Publikation
Twitter <Softwareplattform>
Zwei
Gruppenoperation
Bildschirmsymbol
Element <Mathematik>
Extrempunkt
Bitrate
Bildschirmfenster
Ganze Funktion
Computeranimation
Domain <Netzwerk>
Element <Mathematik>
Browser
Hypertext
Information
Bildschirmfenster
Computeranimation
Homepage
Metropolitan area network
Einheit <Mathematik>
Softwaretest
Vorzeichen <Mathematik>
Gruppe <Mathematik>
Bildschirmfenster
Default
Druckertreiber
Gerade
Softwaretest
Physikalischer Effekt
Ausnahmebehandlung
Bitrate
Ereignishorizont
Rechter Winkel
Information
Message-Passing
Fehlermeldung
Tabelle <Informatik>
Subtraktion
Wellenlehre
Klasse <Mathematik>
Mathematisierung
Web-Seite
Code
Task
Bildschirmmaske
Variable
Weg <Topologie>
Reelle Zahl
Programmbibliothek
Schlussregel
Token-Ring
Vektorraum
Binder <Informatik>
Elektronische Publikation
Quick-Sort
Maskierung <Informatik>
Bildschirmmaske
Codierung
Brennen <Datenverarbeitung>
Elektronische Publikation
Singularität <Mathematik>
Elektronischer Datenaustausch
Extrempunkt
Bildschirmfenster
Nabel <Mathematik>
Gerade
Computeranimation
Homepage
Metropolitan area network
Lesezeichen <Internet>
Softwaretest
Fahne <Mathematik>
Mapping <Computergraphik>
Benutzerführung
Softwaretest
Elektronische Publikation
VIC 20
Stichprobe
Extrempunkt
Bildschirmfenster
Nabel <Mathematik>
Speicherbereichsnetzwerk
Computeranimation
Endogene Variable
Metropolitan area network
Lesezeichen <Internet>
Softwaretest
Fahne <Mathematik>
Mapping <Computergraphik>
Druckertreiber
Benutzerführung
Instantiierung
Internetworking
Lineare Regression
Elektronische Publikation
VIC 20
Singularität <Mathematik>
Regulärer Ausdruck
Bildschirmfenster
Nabel <Mathematik>
Computeranimation
Eins
Portscanner
Videokonferenz
Lesezeichen <Internet>
Metropolitan area network
Softwaretest
Fahne <Mathematik>
Zoom
Mapping <Computergraphik>
Cloud Computing
Rippen <Informatik>
Benutzerführung
Gammafunktion
Fehlermeldung
Inklusion <Mathematik>
Elektronische Publikation
Güte der Anpassung
Singularität <Mathematik>
Remote Access
Element <Mathematik>
Google Chrome
Datenfluss
Bildschirmfenster
Systemaufruf
Nabel <Mathematik>
Computeranimation
Homepage
Eins
Metropolitan area network
Task
Softwaretest
Fahne <Mathematik>
Klon <Mathematik>
Mapping <Computergraphik>
Druckertreiber
Bitrate
Benutzerführung
Resultante
Gewichtete Summe
Komponententest
Momentenproblem
Browser
Datensichtgerät
Applet
Familie <Mathematik>
Versionsverwaltung
Kartesische Koordinaten
Gradient
Element <Mathematik>
Computeranimation
Monster-Gruppe
Softwaretest
Einheit <Mathematik>
Prozess <Informatik>
Existenzsatz
Vorlesung/Konferenz
Kurvenanpassung
Druckertreiber
Funktion <Mathematik>
Bildauflösung
Softwaretest
Suite <Programmpaket>
Parametersystem
Virtueller Server
Oval
Benutzerfreundlichkeit
Systemaufruf
Ausnahmebehandlung
Ereignishorizont
Rechenschieber
Dienst <Informatik>
Datenfeld
Menge
Rechter Winkel
Extreme programming
Ordnung <Mathematik>
Standardabweichung
Fehlermeldung
Instantiierung
Ebene
Server
Subtraktion
Web Site
Gruppenoperation
Physikalische Theorie
Datensichtgerät
Systemprogrammierung
Virtuelle Maschine
Knotenmenge
Endogene Variable
Virtuelle Realität
Programmbibliothek
Operations Research
Softwareentwickler
Speicher <Informatik>
Konfigurationsraum
Bildgebendes Verfahren
Soundverarbeitung
Data Encryption Standard
Videospiel
Relativitätstheorie
Browser
Paarvergleich
Elektronische Publikation
Datenfluss
Quick-Sort
Gamecontroller
Computerarchitektur

Metadaten

Formale Metadaten

Titel Testing web apps with Selenium
Serientitel EuroPython 2015
Teil 72
Anzahl der Teile 173
Autor Hořejšek, Michal
Lizenz CC-Namensnennung - keine kommerzielle Nutzung - Weitergabe unter gleichen Bedingungen 3.0 Unported:
Sie dürfen das Werk bzw. den Inhalt zu jedem legalen und nicht-kommerziellen Zweck nutzen, verändern und in unveränderter oder veränderter Form vervielfältigen, verbreiten und öffentlich zugänglich machen, sofern Sie den Namen des Autors/Rechteinhabers in der von ihm festgelegten Weise nennen und das Werk bzw. diesen Inhalt auch in veränderter Form nur unter den Bedingungen dieser Lizenz weitergeben
DOI 10.5446/20166
Herausgeber EuroPython
Erscheinungsjahr 2015
Sprache Englisch
Produktionsort Bilbao, Euskadi, Spain

Inhaltliche Metadaten

Fachgebiet Informatik
Abstract Michal Hořejšek - Testing web apps with Selenium „Selenium automates browser.“ Selenium can be used as tool for testing web applications. At first it can be pretty hard to start testing with Selenium, but later on it can be even harder. I want to show you that it doesn't have to be true. That it can be easy, actually. But you have to know few things which you have to be careful about and that there is tool webdriverwrapper which can make it easy for you. I will speak about handling pages with JavaScript and which common problem can you have, how to run Selenium on servers without X server, how to deal with tabs, how to test with UnitTest or pytest, and how can webdriverwrapper make things easier for you and more.
Schlagwörter EuroPython Conference
EP 2015
EuroPython 2015

Ähnliche Filme

Loading...