beach parasol
play

Beach Parasol Don't get burned at the Seaside Kris Gybels 2Rivers - PowerPoint PPT Presentation

Beach Parasol Don't get burned at the Seaside Kris Gybels 2Rivers maandag 9 september 13 maandag 9 september 13 maandag 9 september 13 maandag 9 september 13 GUI-Testing Smalltalk-AJAX/SJAX web applications with Selenium Carsten Hrle @


  1. Beach Parasol Don't get burned at the Seaside Kris Gybels 2Rivers maandag 9 september 13

  2. maandag 9 september 13

  3. maandag 9 september 13

  4. maandag 9 september 13

  5. GUI-Testing Smalltalk-AJAX/SJAX web applications with Selenium Carsten Härle @ ESUG 2012 maandag 9 september 13

  6. Selenium Remote Control Proxy server + Javascript injection Selenium WebDriver Native browser automation support (plugin, ...) ✔ ✘ maandag 9 september 13

  7. <a id="the_link" style="display: none" href="http://www.wikipedia.org"> Invisible Link to Wikipedia</a> Selenium Remote Control selenium.click("id=the_link"); Selenium WebDriver WebElement element = driver.findElement(By.id("the_link")); element.click(); maandag 9 september 13

  8. Selenium Remote Control Selenium selenium = new DefaultSelenium("localhost", 4444, "*firefox", "http://localhost/"); selenium.start(); selenium.open("/page.html"); selenium.click("id=the_link"); Selenium WebDriver More Object-Oriented API WebDriver driver = new FirefoxDriver(); driver.get("http://localhost/page.html"); WebElement element = driver.findElement(By.id("the_link")); element.click(); maandag 9 september 13

  9. WebDriver driver = new FirefoxDriver(); ChromeDriver IPhoneDriver AndroidWebDriver HtmlUnitDriver ... RemoteWebDriver Network connection WebDriver remoteDriver = ... selenium-server-standalone-2.31.0.jar driver := BPRemoteWebDriver new. maandag 9 september 13

  10. maandag 9 september 13

  11. RemoteWebDriver BPRemoteWebDriver WebElement findElementById(String using) findElementByID: idString List<WebElement> findElementsByXPath(String using) findElementsByXPath: xpathString String getPageSource() getPageSource Keyboard getKeyboard() getKeyboard WebElement BPWebElement String getAttribute(String name) getAttribute: nameString void click() click Keyboard BPKeyboard void sendKeys(CharSequence... keysToSend) sendKeys: Actions BPActions Actions doubleClick() doubleClick Actions doubleClick(WebElement onElement) doubleClick: maandag 9 september 13

  12. maandag 9 september 13

  13. maandag 9 september 13

  14. maandag 9 september 13

  15. Join! Porting: VisualWorks, Stephan Eggermont Squeak, Tobias Pape Your favorite Smalltalk, You Completing maandag 9 september 13

  16. Demo Explicit & Implicit Waiting maandag 9 september 13

  17. kris@yesplan.be maandag 9 september 13

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend