This video shows the code to open a video file (mp4 file) from the Download folder of the Android device directly from your Android App. It uses FileProvider to open the video file in the default application of the device to run the video file. In this video it demonstrates…
Tag: file
How to run Python code in Android App?
In this video it shows the steps to run a python code in Android App’s code. It calls the python script from the Java code. It uses chaquopy plugin, which is Python SDK for Android. Details are available at: https://chaquo.com/chaquopy/ The steps for setting the Gradle is taken from this…
Selenium – How to get rid of version mismatch b/w browserDriver and browser. We Need not to even save drivers locally?
In this video will see how to overcome the problem of version mismatch between browser driver(e.g chromedriver,firefoxdriver etc) and browsers(e.g chrome,firefox etc.). This we will solve it by using WebDriverManager Class in our maven project. If you are not using maven project you can add the jar file of WebDriverManager …
How to play HLS (HTTPs live stream) videos on your Android TV App?
In this video it shows the steps to develop your Android TV App to play HLS (HTTPs live stream) videos. It uses sample HLS video available at: https://ottverse.com/free-hls-m3u8-test-urls/ During the development of this App, below error was observed in debugging. “No suitable media source factory found for content type: 2”…
How to create FTP storage on your local network (WiFi router) and access it from your Windows explorer?
Steps to add FTP storage: 1. Connect the USB memory card (Pen drive/ Flash drive) to the WiFi router to enable it as FTP storage. 2. Login to the WiFi – router by entering the administrator username and password. Usually, it is http://192.168.1.1/ to login to the router 3. Goto:…
How to download a file from FTP server in your Android App?
In this video it shows the code to download a JPG file from FTP server and then display it over an ImageView in your Android App. It uses following dependency in the code:https://mvnrepository.com/artifact/commons-net/commons-net/3.10.0 I hope you like this video. For any questions, suggestions or appreciation please contact us at: https://programmerworld.co/contact/…
How to resolve error/exception “javascript error: $ is not a function” in Selenium?
In this video we will see how to fix below error: Above error we find mostly when we deal with Ashot() library for capturing the specific element screenshot. For Related videos or complete code please check below links. https://www.youtube.com/watch?v=oF4RoSsN0FE&t=2shttps://youtu.be/D17eYz8FVvghttps://youtu.be/4-Whn5BBV_chttps://youtu.be/aWgx76vA0qAhttps://youtu.be/D17eYz8FVvghttps://youtu.be/FoEexNif2Ashttps://youtu.be/jPrphm-8njo?si=BY0tuPtbcgFEDpO- I hope you like this video. For any questions, suggestions or…
How to compare two images/screenshot in Selenium?
In this video I have shown how to compare two screenshots(expected vs actual images) in selenium using Ashot() api. https://www.youtube.com/watch?v=oF4RoSsN0FE&t=2s https://youtu.be/D17eYz8FVvg https://youtu.be/4-Whn5BBV_c https://youtu.be/aWgx76vA0qA https://youtu.be/D17eYz8FVvg https://youtu.be/FoEexNif2As https://youtu.be/jPrphm-8njo?si=BY0tuPtbcgFEDpO-
How to take screenshot of particular element only in Selenium?
In this video I have shown how to take screenshot of specific element only. It will not capture complete webpage instead it will only take particular element image. This is very useful in validations. If element is not visible on screen at the very first load it will scroll down…
Selenium – How to take screenshot of complete web page even if full page is not visible on screen?
In this video I have shown how to take complete web page screenshot in selenium webdriver using Ashot API. Once application is loaded it is taking screenshot of complete web page by scrolling down the page till end. I hope you like this video. For any questions, suggestions or appreciation…