Posts

Coding projects

  ·         Battery.py-- This will run in every 3 hrs and play music o    when battery level is below 50% when Power plugged in :   False o    when battery level is 90% when Power plugged in :   True # This will run in every 3 hrs and play music when battery level is below 50% # python script showing battery details import psutil from playsound import playsound import time while ( True ): # function returning time in hh:mm:ss def convertTime (seconds): minutes , seconds = divmod (seconds , 60 ) hours , minutes = divmod (minutes , 60 ) return "%d:%02d:%02d" % (hours , minutes , seconds) # returns a tuple battery = psutil.sensors_battery() print ( "Battery percentage : " , battery.percent) print ( "Power plugged in : " , battery.power_plugged) # converting seconds to hh:mm:ss print ( "Battery left : " , convertTime(battery.secsleft)) # import required modul...

Selenium with Python

Image
 Installing Python,Selenium & Pycharm IDE <Command Used >      where python                                         Command to : list all the libraries already available with python Install selenium How to Run Tests on Chrome, Firefox & IE Browsers Links https://www.selenium.dev/downloads/ https://github.com/mozilla/geckodriver/releases https://sites.google.com/a/chromium.org/chromedriver/ https://github.com/SeleniumHQ/selenium/wiki/InternetExplorerDriver#required-configuration https://selenium-release.storage.googleapis.com/index.html?path=3.9/ Code example: ...\SeleniumProject\MultiBrowser.py WebDriver Commands Code example: ...\SeleniumProject\basiccommands.py WebDriver Navigational Commands Code example: ...\SeleniumProject\navigationcommands.py WebDriver Conditional Commands Code example: ...\SeleniumProject\con...

Rest API Testing using Robot Framework +Python

Image
Part1- Environment Setup | Rest API Testing using Robot Framework +Python Part 2- GET Request | Rest API Testing using Robot Framework <Contd to ppt> Ref: https://www.youtube.com/playlist?list=PLUDwpEzHYYLvMLbma_Rp-6jrrpxkeH0VJ

JMeter

Image
  Ref:  https://www.youtube.com/playlist?list=PLUDwpEzHYYLs33uFHeIJo-6eU92IoiMZ7&disable_polymer=true