Skip to content

Instantly share code, notes, and snippets.

View adiralashiva8's full-sized avatar

Shiva Prasad Adirala adiralashiva8

  • Hyderabad
  • 18:56 (UTC +05:30)
View GitHub Profile
@adiralashiva8
adiralashiva8 / 1.srp.py
Created February 12, 2024 10:19 — forked from dmmeteo/1.srp.py
SOLID Principles explained in Python with examples.
"""
Single Responsibility Principle
“…You had one job” — Loki to Skurge in Thor: Ragnarok
A class should have only one job.
If a class has more than one responsibility, it becomes coupled.
A change to one responsibility results to modification of the other responsibility.
"""
class Animal:
def __init__(self, name: str):
@adiralashiva8
adiralashiva8 / ReadMe.md
Created July 30, 2023 06:57 — forked from leeuwe/ReadMe.md
Base file to speed up your migration from Robot Framework® SeleniumLibrary to Browser

This is a base file to speed up your migration from Robot Framework® SeleniumLibrary to Browser library. The file contains over 40 SeleniumLibrary keywords and may require adjustment to your specific situation.

You should import this resource file INSTEAD of the SeleniumLibrary, NOT in combination with the SeleniumLibrary.

@adiralashiva8
adiralashiva8 / #selenium-chrome-authentication-extension
Created March 15, 2023 06:24 — forked from florentbr/#selenium-chrome-authentication-extension
Chrome extension to automatically set the credentials.
To build the extension, update the username/password and zip `background.js` and `manifest.json` in a single archive.
@adiralashiva8
adiralashiva8 / JenkinsPipelineForRobotTestRuns
Created December 21, 2022 03:09 — forked from gvasanka/JenkinsPipelineForRobotTestRuns
Jenkins pipeline script run robot test cases, re-run test cases, merge report and pass the test report
pipeline {
agent {
label 'qatest'
}
environment {
QA_SERVER = 'https://qa.application.com/'
CT_SERVER = 'http://ct.application.com/'
}
stages {