Common Web UI Problems Transforming Manual to Automation
-
Upload
ho-chi-minh-city-software-testing-club -
Category
Technology
-
view
115 -
download
0
Transcript of Common Web UI Problems Transforming Manual to Automation
![Page 1: Common Web UI Problems Transforming Manual to Automation](https://reader030.fdocuments.net/reader030/viewer/2022020314/58f08ea51a28abf7258b462d/html5/thumbnails/1.jpg)
Common Web UI Problems Transforming
Manual to Automation
Hieu Phan – KMS Technology
STC Meetup
![Page 2: Common Web UI Problems Transforming Manual to Automation](https://reader030.fdocuments.net/reader030/viewer/2022020314/58f08ea51a28abf7258b462d/html5/thumbnails/2.jpg)
Introduction
• Software engineer focusing on testing frameworks• Experienced with desktop, web and mobile apps
• Develop test frameworks using open sources: Selenium, Appium, Watir, …
• Automation engineer• Provide technical solutions for automation projects
• Automation approach, strategy consulting
• Senior Software Engineer at Katalon Studio project
![Page 3: Common Web UI Problems Transforming Manual to Automation](https://reader030.fdocuments.net/reader030/viewer/2022020314/58f08ea51a28abf7258b462d/html5/thumbnails/3.jpg)
Agenda
•Why Automation Testing?
•Available Solutions?
•How Does It Work?
•What IS The Challenge?
![Page 4: Common Web UI Problems Transforming Manual to Automation](https://reader030.fdocuments.net/reader030/viewer/2022020314/58f08ea51a28abf7258b462d/html5/thumbnails/4.jpg)
Why Automation Testing ?
![Page 5: Common Web UI Problems Transforming Manual to Automation](https://reader030.fdocuments.net/reader030/viewer/2022020314/58f08ea51a28abf7258b462d/html5/thumbnails/5.jpg)
Advanced Software Development & Testing Methodologies
Why Automation Testing
![Page 6: Common Web UI Problems Transforming Manual to Automation](https://reader030.fdocuments.net/reader030/viewer/2022020314/58f08ea51a28abf7258b462d/html5/thumbnails/6.jpg)
Rapid Hardware Transformation and Modernization
Why Automation Testing
![Page 7: Common Web UI Problems Transforming Manual to Automation](https://reader030.fdocuments.net/reader030/viewer/2022020314/58f08ea51a28abf7258b462d/html5/thumbnails/7.jpg)
• Commercial tools: QTP, TestComplete, Telerik, eggPlant… Pros: Feature-rich, supported technologies, good customer
support Cons: High cost
• Open source technologies: Selenium, Appium, OCR, AutoIt… Pros: Free Cons: Inconvenient to use, required technical skill
• Free – Community tools: Katalon, Robot framework, Sahi… Pros: Free, customer support Cons:
Available Solutions
![Page 8: Common Web UI Problems Transforming Manual to Automation](https://reader030.fdocuments.net/reader030/viewer/2022020314/58f08ea51a28abf7258b462d/html5/thumbnails/8.jpg)
Automation
Object Repository
Execution engine
Test Data
Test Script
How Automation Tool works
Tester
Dev
AUT
CI
SVC
![Page 9: Common Web UI Problems Transforming Manual to Automation](https://reader030.fdocuments.net/reader030/viewer/2022020314/58f08ea51a28abf7258b462d/html5/thumbnails/9.jpg)
What is the Challenge?
![Page 10: Common Web UI Problems Transforming Manual to Automation](https://reader030.fdocuments.net/reader030/viewer/2022020314/58f08ea51a28abf7258b462d/html5/thumbnails/10.jpg)
The Evolution of Web Interface
CNN 10/23/2006 CNN 10/21/2016
![Page 11: Common Web UI Problems Transforming Manual to Automation](https://reader030.fdocuments.net/reader030/viewer/2022020314/58f08ea51a28abf7258b462d/html5/thumbnails/11.jpg)
The Evolution of Web Processing
![Page 12: Common Web UI Problems Transforming Manual to Automation](https://reader030.fdocuments.net/reader030/viewer/2022020314/58f08ea51a28abf7258b462d/html5/thumbnails/12.jpg)
Asynchronous loading content: IFRAME, AJAX…
![Page 13: Common Web UI Problems Transforming Manual to Automation](https://reader030.fdocuments.net/reader030/viewer/2022020314/58f08ea51a28abf7258b462d/html5/thumbnails/13.jpg)
Common UI Problems
![Page 14: Common Web UI Problems Transforming Manual to Automation](https://reader030.fdocuments.net/reader030/viewer/2022020314/58f08ea51a28abf7258b462d/html5/thumbnails/14.jpg)
• IFrame
• Intelligent Wait
• Popups
• XPath handling
Common Problems
![Page 15: Common Web UI Problems Transforming Manual to Automation](https://reader030.fdocuments.net/reader030/viewer/2022020314/58f08ea51a28abf7258b462d/html5/thumbnails/15.jpg)
IFrame
![Page 16: Common Web UI Problems Transforming Manual to Automation](https://reader030.fdocuments.net/reader030/viewer/2022020314/58f08ea51a28abf7258b462d/html5/thumbnails/16.jpg)
Popup
Pop-up
![Page 17: Common Web UI Problems Transforming Manual to Automation](https://reader030.fdocuments.net/reader030/viewer/2022020314/58f08ea51a28abf7258b462d/html5/thumbnails/17.jpg)
waitForPageLoaded
waitForElementPresent
waitForElementVisible
….
Intelligent Wait
![Page 18: Common Web UI Problems Transforming Manual to Automation](https://reader030.fdocuments.net/reader030/viewer/2022020314/58f08ea51a28abf7258b462d/html5/thumbnails/18.jpg)
/html/body/div[7]/div[3]/div/div[2]/div[1]/div[2]/div/div/div/div[2]/div[1]/div[1]/div/div/div[7]/div/div[1]/div[2]/div/table/tbody/tr/td[6]/div/div/div/span[1]/b
XPath Handling
![Page 19: Common Web UI Problems Transforming Manual to Automation](https://reader030.fdocuments.net/reader030/viewer/2022020314/58f08ea51a28abf7258b462d/html5/thumbnails/19.jpg)
Demo
![Page 20: Common Web UI Problems Transforming Manual to Automation](https://reader030.fdocuments.net/reader030/viewer/2022020314/58f08ea51a28abf7258b462d/html5/thumbnails/20.jpg)
Q & A