Vyu転it鱈 chemie v procesu testov叩n鱈 webov箪ch aplikac鱈 vytvoen箪ch pomoc鱈 techn...Michal paek
油
V pedn叩邸ce si uk叩転eme to, co n叩s v hodin叩ch chemie na 邸kole neuili. V na邸ich tajn箪ch i 叩sten veejn箪ch laborato鱈ch jsme se pokusili slouit nkter辿 chemick辿 prvky s exotickou faunou pomoc鱈 modern鱈ch proces哲 a v箪sledek tohoto po鱈n叩n鱈 bychom chtli demonstrovat odborn辿 i 邸irok辿 veejnosti. To, co za spr叩vn辿ho kurzu filip鱈nsk辿 mny (PHP) vzniklo spojen鱈m selenu (Selenium) a 邸petky kofeinu (Selenium RC, Java) s hady (Python) toti転 炭spe邸n pou転鱈v叩me k automatick辿mu regresn鱈mu testov叩n鱈 u転ivatelsk箪ch rozhran鱈 webov箪ch aplikac鱈 made in Skype.
Funkn鱈 testov叩n鱈 chybj鱈c鱈 vrchol pyramidy (WebExpo 2016)Ondej Machulda
油
Z叩znam pedn叩邸ky: https://www.webexpo.cz/praha2016/prednaska/funkcni-testovani-chybejici-vrchol-pyramidy/
Automatick辿 testov叩n鱈 nejsou zdaleka jenom unit-testy - ty sice tvo鱈 z叩klad takzvan辿 testovac鱈 pyramidy, ta by ale nemla z哲stat nedostavn叩. Pedn叩邸ka o tom, kdy a jak se bhem v箪voje vnovat tak辿 vy邸邸鱈 vrstv test哲 - funkn鱈mu testov叩n鱈 alias test哲m u転ivatelsk辿ho rozhran鱈 (end-to-end test哲m). A naopak v jak箪ch situac鱈ch by to byla asi zbyten叩 pr叩ce.
Tak辿 pop鱈邸i, jak vypad叩 n叩邸 rutinn鱈 proces psan鱈 funkn鱈ch Selenium test哲 v Jobs.cz a uk叩転i nkolik n叩stroj哲 pev叩転n (ale nejenom) pro PHP, kter辿 m哲転ete pi vytv叩en鱈 a spou邸tn鱈 funkn鱈ch test哲 v praxi vyu転鱈t a kter辿 v叩m celou pr叩ci mohou usnadnit.
This slides are only in Czech language.
Slidy z workshopu Testov叩n鱈 klientsk箪ch Javascriptov箪ch aplikac鱈, kter箪 probhl na Webexpo 2012. Shrnuje jak nastavit automatick辿 testov叩n鱈, spou邸tn鱈 test哲 napsan箪ch v testovac鱈m frameworku Jasmine pomoc鱈 Selenium Gridu a CI serveru Jenkins.
Selenium a WebDriver - p鱈tomnost a budoucnost Ondej Machulda
油
Konference Test Stack, 6. ervna 2019, Praha
Kam se testov叩n鱈 pes Selenium posunulo?
* Co je to standard W3C WebDriver, pro na nj Selenium pech叩z鱈 a co se d鱈ky nmu mn鱈
* Jakou v箪hodu pin叩邸鱈 to, 転e se o integraci protokolu do prohl鱈転e哲 staraj鱈 sami jejich v箪robci (Mozilla, Google, Apple)
* Jak辿 nov辿 mo転nosti pineslo end-to-end testov叩n鱈 pes Selenium v posledn鱈 dob nap鱈klad headless re転im Firefoxu a Chrome
* Lok叩ln鱈 zprovoznn鱈 Selenia i vybran辿ho prohl鱈転ee jedn鱈m p鱈kazem spu邸tn鱈m Selenia v Dockeru si m哲転eme u邸etit spoustu obt鱈転鱈 a nekompatibilit, na kter辿 jsme d鱈ve mohli narazit
Budoucnost Selenia:
* Co pinese Selenium 4.0? Jak se na nj pipravit, abychom pak nemuseli vnovat upgradu velik辿 炭sil鱈?
* Kam smuje budouc鱈 role Selenia? Mo転n叩 ho toti転 nebudeme potebovat na to, na co ho pou転鱈v叩me dnes.
* Kdy m叩 smysl pou転鱈t alternativy k Seleniu jako Pupeteer nebo Cypress? A pro Selenium rozhodn nen鱈 pekonan辿 a naopak je jeho potenci叩l vy邸邸鱈, ne転 kdy d鱈ve?
Selenium WebDriver - Test automation for web applicationsTSundberg
油
The document discusses Selenium WebDriver, a tool for automating tests of web applications. It provides an introduction to testing web applications, including manual vs automated testing. Selenium WebDriver is introduced as a browser automation tool that supports many programming languages like Java. Page object design pattern is recommended for organizing Selenium tests, with each page getting its own class. The document emphasizes testing at different levels, from unit to integration to end-to-end tests, using the testing pyramid as a guide.
The document provides an introduction to Selenium WebDriver. It discusses the architecture and components of Selenium 1.0 and 2.0. It describes the Selenium WebDriver API for finding elements, performing actions, and handling windows/frames. It also provides an example of creating a test in Java to validate search results on the Rambler website using Selenium WebDriver.
Selenium is an open source browser automation tool used for automating web application testing. It supports recording and playback of test cases in multiple programming languages like Java, Python and Ruby. Selenium has several components like Selenium IDE for recording and playing back tests without coding, Selenium RC for running tests on remote machines, and Selenium Webdriver which allows directly controlling browser behavior without relying on external servers. Selenium Grid enables parallel execution of tests on different machines for faster test runs. Selenium is used by many companies for testing web applications and is useful for both functional and regression testing of websites and web apps.
The document discusses exception handling in Java. It defines exceptions as errors encountered during program execution. Exception handling involves using try, catch, and finally blocks. The try block contains code that may throw exceptions. Catch blocks handle specific exception types, while finally blocks contain cleanup code that always executes. Common system-defined exceptions like NullPointerException and user-defined exceptions can be thrown using the throw keyword and handled using try-catch. Nested try-catch blocks and multiple catch blocks are also described.
Understanding Selenium/RC, Webdriver Architecture and developing the page obj...Atirek Gupta
油
A workshop on understanding how Selenium, Selenium/RC, Webdriver and browser works. Learning what is same origin policy with example. Hands on locating element using CSS and Xpath. Interacting with html with java script Finally developing a page object framework using java, webdriver from scratch.
This document provides an overview of the Java Collections Framework. It begins by explaining key concepts like sets, maps, and collections from a mathematical perspective. It then details the six main interfaces of the Collections Framework - List, Set, Queue, Deque, Map and SortedMap. The document provides examples of different collection implementations and discusses how to apply sorting and searching algorithms to collections. It also covers using thread-safe and immutable collections. Overall, the document gives a comprehensive introduction to the Collections Framework in Java.
This document provides an overview of exception handling in Java. It discusses what exceptions are, what happens when exceptions occur, benefits of Java's exception handling framework such as separating error handling code and propagating exceptions up the call stack. It also covers catching exceptions using try-catch and finally blocks, throwing custom exceptions, the exception class hierarchy, and differences between checked and unchecked exceptions. The document concludes with a discussion of assertions.
Exceptions indicate problems during program execution and can be handled to allow programs to continue running or notify users. There are different levels where exceptions can occur including hardware, operating systems, languages, and within programs. Exception handling uses try, catch, and throw blocks. A try block encloses code that could throw an exception. If an exception occurs, control transfers to the matching catch block. The catch block handles the exception to resolve it. Exceptions not caught will terminate the program.
The document discusses exception handling in Java. It defines exceptions as runtime errors that occur during program execution. It describes different types of exceptions like checked exceptions and unchecked exceptions. It explains how to use try, catch, throw, throws and finally keywords to handle exceptions. The try block contains code that might throw exceptions. The catch block catches and handles specific exceptions. The finally block contains cleanup code that always executes regardless of exceptions. The document provides examples of exception handling code in Java.
This presentation covers an introduction to Selenium, the Open Source, cross browser, cross platform functional testing tool. The talk emphasized the importance of applying the same principles to testing (abstraction, refactoring, DRY) that development teams apply to developing software. (This presentation was used for a talk at the Asian Testing Conference)
This document provides an overview of Selenium, an open source tool for automating web application testing. It discusses Selenium's features, components including Selenium IDE, RC, and Grid. It also covers Selenium commands called Selenium and how to perform testing with Selenium by writing reusable scripts and validating applications with conditionals. Selenium allows testing across browsers and OS using different programming languages in a flexible and cost-effective manner compared to other testing tools.
Manual testing interview question by INFOTECHPravinsinh
油
The document provides answers to various questions related to manual software testing practices. It discusses key concepts like priority and severity levels of defects, examples of high severity low priority defects. It also covers the basis for test case review, contents of requirements documents, differences between web and client-server application testing, defect life cycle, and techniques for test plan preparation. The document is a guide for manual testers that aims to enhance their understanding of software testing concepts and best practices.
V箪voj na poli automatizace testov叩n鱈 web哲 otev鱈r叩 spousta mo転nost鱈, kter辿 by je邸t ped p叩r lety byly nere叩ln辿. Pod鱈v叩me se na nkter辿 aktu叩ln鱈 trendy a uk叩転i p叩r modern鱈ch technologi鱈 a slu転eb, kter辿 v叩m mohou pomoci automatizovat (a tedy urychlit, zlevnit nebo zlep邸it) r哲zn辿 叩sti QA procesu: visual testing, docker, web performance testing.
atoto.cz - jak na snadnou integraci Codeceptionatotocz
油
Jak jsme zintegrovali n叩stroj pro unit testy, integran鱈 testy a akceptan鱈 testy - v邸e v jednom.
Praktick叩 顎一叩噛一温 snadn辿 integrace codeception do va邸鱈 aplikace.
Selenium is an open source browser automation tool used for automating web application testing. It supports recording and playback of test cases in multiple programming languages like Java, Python and Ruby. Selenium has several components like Selenium IDE for recording and playing back tests without coding, Selenium RC for running tests on remote machines, and Selenium Webdriver which allows directly controlling browser behavior without relying on external servers. Selenium Grid enables parallel execution of tests on different machines for faster test runs. Selenium is used by many companies for testing web applications and is useful for both functional and regression testing of websites and web apps.
The document discusses exception handling in Java. It defines exceptions as errors encountered during program execution. Exception handling involves using try, catch, and finally blocks. The try block contains code that may throw exceptions. Catch blocks handle specific exception types, while finally blocks contain cleanup code that always executes. Common system-defined exceptions like NullPointerException and user-defined exceptions can be thrown using the throw keyword and handled using try-catch. Nested try-catch blocks and multiple catch blocks are also described.
Understanding Selenium/RC, Webdriver Architecture and developing the page obj...Atirek Gupta
油
A workshop on understanding how Selenium, Selenium/RC, Webdriver and browser works. Learning what is same origin policy with example. Hands on locating element using CSS and Xpath. Interacting with html with java script Finally developing a page object framework using java, webdriver from scratch.
This document provides an overview of the Java Collections Framework. It begins by explaining key concepts like sets, maps, and collections from a mathematical perspective. It then details the six main interfaces of the Collections Framework - List, Set, Queue, Deque, Map and SortedMap. The document provides examples of different collection implementations and discusses how to apply sorting and searching algorithms to collections. It also covers using thread-safe and immutable collections. Overall, the document gives a comprehensive introduction to the Collections Framework in Java.
This document provides an overview of exception handling in Java. It discusses what exceptions are, what happens when exceptions occur, benefits of Java's exception handling framework such as separating error handling code and propagating exceptions up the call stack. It also covers catching exceptions using try-catch and finally blocks, throwing custom exceptions, the exception class hierarchy, and differences between checked and unchecked exceptions. The document concludes with a discussion of assertions.
Exceptions indicate problems during program execution and can be handled to allow programs to continue running or notify users. There are different levels where exceptions can occur including hardware, operating systems, languages, and within programs. Exception handling uses try, catch, and throw blocks. A try block encloses code that could throw an exception. If an exception occurs, control transfers to the matching catch block. The catch block handles the exception to resolve it. Exceptions not caught will terminate the program.
The document discusses exception handling in Java. It defines exceptions as runtime errors that occur during program execution. It describes different types of exceptions like checked exceptions and unchecked exceptions. It explains how to use try, catch, throw, throws and finally keywords to handle exceptions. The try block contains code that might throw exceptions. The catch block catches and handles specific exceptions. The finally block contains cleanup code that always executes regardless of exceptions. The document provides examples of exception handling code in Java.
This presentation covers an introduction to Selenium, the Open Source, cross browser, cross platform functional testing tool. The talk emphasized the importance of applying the same principles to testing (abstraction, refactoring, DRY) that development teams apply to developing software. (This presentation was used for a talk at the Asian Testing Conference)
This document provides an overview of Selenium, an open source tool for automating web application testing. It discusses Selenium's features, components including Selenium IDE, RC, and Grid. It also covers Selenium commands called Selenium and how to perform testing with Selenium by writing reusable scripts and validating applications with conditionals. Selenium allows testing across browsers and OS using different programming languages in a flexible and cost-effective manner compared to other testing tools.
Manual testing interview question by INFOTECHPravinsinh
油
The document provides answers to various questions related to manual software testing practices. It discusses key concepts like priority and severity levels of defects, examples of high severity low priority defects. It also covers the basis for test case review, contents of requirements documents, differences between web and client-server application testing, defect life cycle, and techniques for test plan preparation. The document is a guide for manual testers that aims to enhance their understanding of software testing concepts and best practices.
V箪voj na poli automatizace testov叩n鱈 web哲 otev鱈r叩 spousta mo転nost鱈, kter辿 by je邸t ped p叩r lety byly nere叩ln辿. Pod鱈v叩me se na nkter辿 aktu叩ln鱈 trendy a uk叩転i p叩r modern鱈ch technologi鱈 a slu転eb, kter辿 v叩m mohou pomoci automatizovat (a tedy urychlit, zlevnit nebo zlep邸it) r哲zn辿 叩sti QA procesu: visual testing, docker, web performance testing.
atoto.cz - jak na snadnou integraci Codeceptionatotocz
油
Jak jsme zintegrovali n叩stroj pro unit testy, integran鱈 testy a akceptan鱈 testy - v邸e v jednom.
Praktick叩 顎一叩噛一温 snadn辿 integrace codeception do va邸鱈 aplikace.
Slajdy z pedn叩邸ky na UHK 1.listopadu 2011. Koment叩 a video z dema najdete na m辿m blogu: http://blog.kolman.cz/2011/11/jak-naprogramovat-blog-za-18-minut.html
Jak testovat va邸e aplikace, poznatky z praxe a tipy a triky pro ka転d辿ho kdo chce testovat.
Pedkrm ped pedn叩邸kou o Codeception a jeho snadn辿m nasazen鱈 v Atoto.cz
22. 22
Probl辿my
Stabilita
Kontrola pedpoklad哲 fail fast
DOM StaleElementException
Postrann鱈 info
P鱈prava prosted鱈
Testovac鱈 data
Paralelizace
Implementace WebDriver
Rozd鱈ly mezi prohl鱈転ei
Nkdy nutn辿 dlat o邸kliv辿 vci
Sv叩d鱈 ke zneu転it鱈
#6:
WebDriver driver = new HtmlUnitDriver();
WebDriver driver = new ChromeDriver();
WebDriver driver = new InternetExplorerDriver();
WebDriver driver = new FirefoxDriver();
// And now use this to visit Google
driver.get("http://www.google.com");
// Find the text input element by its name
WebElement element = driver.findElement(By.name("q"));
// Enter something to search for
element.sendKeys("Cheese!");
// Now submit the form. WebDriver will find the form for us from the element
element.submit();
// Check the title of the page
System.out.println("Page title is: " + driver.getTitle());
driver.quit();
#8: public WebElement waitUntilElementIsVisible(final By elementSpecifiedBy, final SearchContext ctx) { new WebDriverWait(driver,timeout) .ignoring(StaleElementReferenceException.class) .until( new ExpectedCondition<Boolean>() { public Boolean apply(WebDriver d) { return ctx.findElement(elementSpecifiedBy).isDisplayed(); } } ); return ctx.findElement(elementSpecifiedBy);}
#13: PageObject nutn辿 roz邸鱈it na komponenty, strom je komponenta, wysiwyg je komponenta, toolbar je komponenta .