Your SlideShare is downloading. ×
Development of automated tests for ext js based web sites
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Development of automated tests for ext js based web sites

413
views

Published on

Published in: Software, Technology

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
413
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
8
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. The tool set selection
  • 2.  BadBoy  Selenium  CodedUI ◦ Uses Selenium behind the scene  Siesta ◦ Uses Selenium behind the scene  HP Unified Functional Testing ◦ Too expensive  TestComplete ◦ Too expensive
  • 3. WebDriver Browser adapters Appium, Selendroid, IOSdriver JSON Wire Protocol JSON Wire Protocol becomes the standard… to work with various browsers in the same way
  • 4.  All popular browsers support WebDriver protocol so cross-browser compatibility is provided for free  Cross-platform code - the same code works on multiple platforms without changes
  • 5.  OS supported  Browsers supported  Automation type  Documentation and Support  License  Solution Development and Maintenance  Testing types supported
  • 6. WebDriver Badboy • Windows • Linux • Mac OS • Solaris • UNIX family • Android • iOS • Windows
  • 7. WebDriver Badboy • Firefox • IE • Safari • Opera • Chrome • Mobile Safari • Mobile Android • IE 8
  • 8. WebDriver Badboy • Operates with any browser with variety of configurations • Code based automation • Languages: Java, C#, Perl, PHP, Python, Ruby, and many others • Operates with IE engine on the local machine • Browser configurations are not available. • Step based recording and playing solution with JavaScript customization
  • 9. WebDriver Badboy • Regular new builds and bug fixes available • Public issues tracker • Complete documentation • Tutorials and best practices • Many forums and articles • Code examples • Open source • 4 years old build • Support is declared • Complete documentation • Discussion forum on the official site
  • 10. WebDriver Badboy • Open source, licensed under Apache 2.0 License • Free for non- commercial use • Pricing (more that 5 users) – Individual license – $45 – 10 licenses pack – $300 – Wave test manager – $89
  • 11. WebDriver Badboy • Various solution architectures • Typical source code management approach • No architecture, just recorded trace and customization JavaScript snippets • Number of tool- specific XMLs
  • 12. Project Structure Page Object Pattern Test Method
  • 13. Test Method Variables values Compiled into xml file
  • 14. WebDriver Badboy • Functional testing • Performance testing • Stress testing • Cross-browser compatibility testing • Functional testing
  • 15. Браузе р Node Node Node Client Client Client Браузе р Hub Execution of tests can be distributes across multiple machines (physical and/or virtual) Tests are executed in parallel to either reduce the testing time or create the appropriate load
  • 16.  Using CSS locators (default straightforward way) input[id*=datefield] div[id*=manageentry].x-window div[id*=filegrid].x-panel-body  Using ExtJS custom classes with front-end devs help (in case first variant could not help): div[cls=someCls]  Using ExtJS API (reserved way – for any other case): WebElement element = (WebElement) executeJavaScript("return Ext.getBody().dom.children[2].getElementsByTagName('table')[0];");

×