Lalitha Padubidri – Lead QA Engineer (UI)                                                                      Leena Anant...
     Introduction              Challenges              Goals              Approaches              Building blocks    ...
     Riverbed Technology is the IT performance          company. (http://www.riverbed.com/us/)         ~10 primary softw...
    Network appliance, not a web site         ◦ Web based user interface and Command Line interface       100+ pages wit...
© 2011 Riverbed Technology. Confidential. IMPORTANT NOTE: The roadmap is for information purposes only and is not a commit...
    Our automation goals:            ◦    Reusable            ◦    Scalable            ◦    Easy to learn            ◦   ...
Test and data set                                      Test                                                               ...
Test and data set                           Test                                                                          ...
    Abstracts HTML element’s selenium locators and its           selenium methods into a single class            ◦ Exampl...
    Allows us to customize widget operations           ◦ Setter and getter methods to HTML element classes           To c...
    Container for HTML element locators          Built upon Elements library           cb = elements.CheckBox(id=“locato...
    Run time instantiation of classes (PageAction,           PageVerification and Widgets)          Versioning through i...
    Instantiates the appropriate PageAction and           PageVerification class using factory methods            ◦ PageA...
    Some page are common among products          Automated around 50 test cases            ◦ Low development cost      ...
    Performance issues on IE          No screenshot capture support for IE          Selenium ignores generic JavaScript...
Contact       arun.mandhania@riverbed.com (manager)       lalitha.padubidri@riverbed.com (team lead)       leena.ananthayy...
Upcoming SlideShare
Loading in …5
×

Riverbed's presentation at SFSE Meetup 2/22

1,515 views
1,415 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,515
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
27
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Riverbed's presentation at SFSE Meetup 2/22

  1. 1. Lalitha Padubidri – Lead QA Engineer (UI) Leena Ananthayya – QA Engineer (UI)© 2011 Riverbed Technology. Confidential. IMPORTANT NOTE: The roadmap is for information purposes only and is not a commitment, promise or legal obligation to deliverany new products, features or functionality. The development, release, and timing of any features or functionality described remains at Riverbeds sole discretion.
  2. 2.  Introduction  Challenges  Goals  Approaches  Building blocks  Results  Gotchas© 2011 Riverbed Technology. Confidential. IMPORTANT NOTE: The roadmap is for information purposes only and is not a commitment, promise or legal obligation to deliverany new products, features or functionality. The development, release, and timing of any features or functionality described remains at Riverbeds sole discretion.
  3. 3.  Riverbed Technology is the IT performance company. (http://www.riverbed.com/us/)  ~10 primary software products, including Wireshark packet sniffer  Public company with $600mil annual revenue, 9000 customers  Flagship product: Steelhead ◦ wide area network accelerator based on Linux OS and Intel hardware  Engineering offices in San Francisco, Sunnyvale and other sites© 2011 Riverbed Technology. Confidential. IMPORTANT NOTE: The roadmap is for information purposes only and is not a commitment, promise or legal obligation to deliverany new products, features or functionality. The development, release, and timing of any features or functionality described remains at Riverbeds sole discretion.
  4. 4.  Network appliance, not a web site ◦ Web based user interface and Command Line interface  100+ pages with complex AJAX ◦ Network configurations, monitoring, security, reports etc.  Diverse install base  Multiple independent releases for each product  Multiple browsers  Consistent user experience© 2011 Riverbed Technology. Confidential. IMPORTANT NOTE: The roadmap is for information purposes only and is not a commitment, promise or legal obligation to deliverany new products, features or functionality. The development, release, and timing of any features or functionality described remains at Riverbeds sole discretion.
  5. 5. © 2011 Riverbed Technology. Confidential. IMPORTANT NOTE: The roadmap is for information purposes only and is not a commitment, promise or legal obligation to deliverany new products, features or functionality. The development, release, and timing of any features or functionality described remains at Riverbeds sole discretion.
  6. 6.  Our automation goals: ◦ Reusable ◦ Scalable ◦ Easy to learn ◦ Low development and maintenance cost  Our automation approach: ◦ Multiple layers of abstraction for writing tests ◦ Making the test data driven ◦ Factory methods© 2011 Riverbed Technology. Confidential. IMPORTANT NOTE: The roadmap is for information purposes only and is not a commitment, promise or legal obligation to deliverany new products, features or functionality. The development, release, and timing of any features or functionality described remains at Riverbeds sole discretion.
  7. 7. Test and data set Test DUT Automation Services Test Environment Target Browser, OS, Grid Selenium Grid1 Selenium Grid2 RC RC RC RC FF36 IE8 IE7 FF2© 2011 Riverbed Technology. Confidential. IMPORTANT NOTE: The roadmap is for information purposes only and is not a commitment, promise or legal obligation to deliverany new products, features or functionality. The development, release, and timing of any features or functionality described remains at Riverbeds sole discretion.
  8. 8. Test and data set Test DUTPageAction PageVerificaton Automation Services Test Environment Widgets Target Browser, OS, Grid Elements Selenium Grid1 Selenium Grid2 Selenium API RC RC RC RC FF36 IE8 IE7 FF2© 2011 Riverbed Technology. Confidential. IMPORTANT NOTE: The roadmap is for information purposes only and is not a commitment, promise or legal obligation to deliverany new products, features or functionality. The development, release, and timing of any features or functionality described remains at Riverbeds sole discretion.
  9. 9.  Abstracts HTML element’s selenium locators and its selenium methods into a single class ◦ Example: Radio, Checkbox, Textbox classes etc. ◦ Uses Selenium locators in the constructor class CheckBox(): def check(self): //call to selenium method def un_check(self): //call to selenium method def is_check(self): //call to selenium method  Added benefit: improves code readability© 2011 Riverbed Technology. Confidential. IMPORTANT NOTE: The roadmap is for information purposes only and is not a commitment, promise or legal obligation to deliverany new products, features or functionality. The development, release, and timing of any features or functionality described remains at Riverbeds sole discretion.
  10. 10.  Allows us to customize widget operations ◦ Setter and getter methods to HTML element classes To check a checkbox cb1, use cb1.set_value(true) To enter text into a textbox tb2, use tb2.set_value(“testing”)  Allows us to expand the types of elements ◦ Form class that can perform user operations such as filling a web form ◦ Table class that has methods to handle complex, heterogeneous and dynamic tables© 2011 Riverbed Technology. Confidential. IMPORTANT NOTE: The roadmap is for information purposes only and is not a commitment, promise or legal obligation to deliverany new products, features or functionality. The development, release, and timing of any features or functionality described remains at Riverbeds sole discretion.
  11. 11.  Container for HTML element locators  Built upon Elements library cb = elements.CheckBox(id=“locator1”) tb = elements.TextBox(name=“locator2”)  Automatically generate widget file from HTML page© 2011 Riverbed Technology. Confidential. IMPORTANT NOTE: The roadmap is for information purposes only and is not a commitment, promise or legal obligation to deliverany new products, features or functionality. The development, release, and timing of any features or functionality described remains at Riverbeds sole discretion.
  12. 12.  Run time instantiation of classes (PageAction, PageVerification and Widgets)  Versioning through inheritance  Handles releases, branches, products© 2011 Riverbed Technology. Confidential. IMPORTANT NOTE: The roadmap is for information purposes only and is not a commitment, promise or legal obligation to deliverany new products, features or functionality. The development, release, and timing of any features or functionality described remains at Riverbeds sole discretion.
  13. 13.  Instantiates the appropriate PageAction and PageVerification class using factory methods ◦ PageAction: Logical user action on the web page ◦ PageVerification: Verifying widgets against golden results  Contains generic calls to methods in PageAction and PageVerification class  Data-driven© 2011 Riverbed Technology. Confidential. IMPORTANT NOTE: The roadmap is for information purposes only and is not a commitment, promise or legal obligation to deliverany new products, features or functionality. The development, release, and timing of any features or functionality described remains at Riverbeds sole discretion.
  14. 14.  Some page are common among products  Automated around 50 test cases ◦ Low development cost  Data-driven tests: 50tests =>90 tests  Target three products: 50 tests => 90*3 = 270 tests  Target three browsers: 50 tests => 270*3 = 810 tests  Net ROI: 50 tests => 810 tests© 2011 Riverbed Technology. Confidential. IMPORTANT NOTE: The roadmap is for information purposes only and is not a commitment, promise or legal obligation to deliverany new products, features or functionality. The development, release, and timing of any features or functionality described remains at Riverbeds sole discretion.
  15. 15.  Performance issues on IE  No screenshot capture support for IE  Selenium ignores generic JavaScript errors  Operating on OS level popups  Selenium Grid reliability issues on VMs© 2011 Riverbed Technology. Confidential. IMPORTANT NOTE: The roadmap is for information purposes only and is not a commitment, promise or legal obligation to deliverany new products, features or functionality. The development, release, and timing of any features or functionality described remains at Riverbeds sole discretion.
  16. 16. Contact arun.mandhania@riverbed.com (manager) lalitha.padubidri@riverbed.com (team lead) leena.ananthayya@riverbed.com (QA engineer)© 2011 Riverbed Technology. Confidential. IMPORTANT NOTE: The roadmap is for information purposes only and is not a commitment, promise or legal obligation to deliverany new products, features or functionality. The development, release, and timing of any features or functionality described remains at Riverbeds sole discretion.

×