Understand and plan for user stories automation and support various levels of testing
Where we learn technology
Understand and plan for user stories automation and support various levels of testing
Challenges faced using selenium automation testing, and how to solve them
1. Image or text overlapping issue
2. No facility to deal with Captcha, Bar Code
3. Doesn’t support any non web based (Like Win 32, Java Applet, Java Swing, .Net Client Server etc) applications
4. When you compare selenium with QTP, Silk Test, Test Partner and RFT, there are many challenges in terms of maintainability of the test cases
5. Since Selenium is a freeware tool, there is no direct support if one is in trouble with the support of applications
6. Bitmap comparison is not supported by Selenium
7. Any reporting related capabilities, you need to depend on third party tools
8. You need to learn any one of the native language like (.Net, Java, Perl, Python, PHP, Ruby) to work efficiently
9. Difficult to identify dynamic objects
10. Working with frames
11. Selenium test playback is slow (IDE)
12. JavaScript sandbox, Flash, Applets, Silverlight, and HTML 5’s Canvas all present problems in Selenium
13. Dealing with pop-up windows: Selenium can sometimes fail to record common popups in web apps. The Alert interface brings with it the following commands: void dismiss(), void accept (), getText(), void sendKeys(String stringToSend). The first two basically click on the “cancel” and “OK” buttons respectively on a popup window.
14. Timeout resulting from synchronization problems: One should ideally use selenium.IsElementPresent(locator) to verify that the object is in a loop with Thread.Sleep
15. Testing Flash apps: To automate flash apps with Selenium, one can use Flex Monkium. The application source code must be compiled with the swc files generated by Flex Monkium. Then the app and the Selenium IDE are connected, and the tests can be recorded with IDE.
16. Unexpected error launching Internet Explorer. Browser zoom level should be set to 100% by default for the IE browser to overcome this error
17. Protected Mode must be set to the same valueerror occurs when trying to run Selenium WebDriver on a fresh Windows machine. This issue can be fixed by using capabilities when launching IE
18. Cross Browser Testing Issues
19. Ajax Components
Learn:
1. check the given number is Armstrong or not.
2. write different test cases for Armstrong Number
Code:
Learn:
1. check the given number is Palindrome or not.
2. write different test cases
Code:
Learn:
1. check the given number is prime or not.
2. print all the prime numbers upto a given a number
3. write different test cases
Code:
In this video, we will learn about recording of your test cases execution using Monte Screen Recorder API.
-How to record Selenium Test Execution Video.
This utility can be used to create AVI/Mp4 recording files for your test case execution, which can be shared to developers while logging the bugs.
Here is the GIT Repo:
https://github.com/naveenanimation20/ScreenRecorder
Here is the Monte Maven Dependency:
https://mvnrepository.com/artifact/com.github.stephenc.monte/monte-screen-recorder/0.7.7.0
~~~Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:
https://www.youtube.com/c/Naveen%20AutomationLabs?sub_confirmation=1
Follow me on my Facebook Page:
https://www.facebook.com/groups/naveenqtpexpert/
Let’s join our Automation community for some amazing knowledge sharing and group discussion on Telegram:
https://t.me/joinchat/COJqZUPB02rRd8wQsIQ9Cw
WebServices API Automation Tutorials:
https://vimeo.com/ondemand/webservicesapiautomation
© 2025 naveen automationlabs
Theme by Anders Norén — Up ↑