Автоматизация тестирования ios приложений: от идеи к...

27
Автоматизация тестирования iOS приложений: от идеи к готовому решению Денис Шамгин Виктор Короневич

Upload: sqalab

Post on 18-Jun-2015

1.626 views

Category:

Education


9 download

DESCRIPTION

SQA Days 11. День 2. Cекция B Денис Шамгин, Виктор КороневичEPAM SystemsМинск, Беларусь

TRANSCRIPT

  • 1. iOS :

2. - - IT: 3 IT: 3 3. Disclaimer 4. ? ? ? ? 5. - 6. UI Automation (Apple Tool) Apple GUI UI- API JavaScript 7. FoneMonkey. . iOS GUI 8. FoneMonkey. . 9. UI Spechttps://github.com/moredip/UISpec Objective-C 10. Github https://github.com/EPAM-Systems/EPAM-Mobile-TAF 11. Selenium 12. Native - - 13. 14. @Test(timeout = 60000)public void LogIn() throws Exception {NativeDriver driver = new iPhoneNativeDriver();driver.setServerHost("http://localhost:37265");driver.setElementValue("UITextField=placeholder:User", "username");driver.setElementValue("UITextField=placeholder:Password", "password");driver.touch("CustomButton=atIndex:1");String actualMessage = driver.getElementValue("UILabel=atIndex:1", "text");String expectedMessage = Welcome";Assert.assertEquals(expectedMessage, actualMessage);} 15. Driver-Server HTTP 16. Frank https://github.com/moredip/Frank 17. . . 18. . . 19. Visualizer. . 20. Visualizer. . 21. - *.app - 22. JS-Core JavaScript document.querySelector("a:nth-child(3)"); element.dispatchEvent(evt);jQuery Mobile $.mobile.activePage.find("p:contains(John)"); $("a[href=#]:eq(5)").click();Sencha Touch Ext.getCmp("elementID"); 23. target 24. 25. GNU GPL v3 Android BlackBerry 26. ? 27. Software Test Automation Engineer EPAM Systems, , [email protected] Software Test Automation Engineer EPAM Systems, , [email protected]