The best way to add WebdriverIO Project to Git and GitHub

Поделиться
HTML-код
  • Опубликовано: 13 фев 2023
  • Free Courses ► automationstepbystep.com/
    How to upload WebdriverIO project to GitHub
    Step 1 - Install git on your system git --version
    Step 2 - Goto github.com and create account and login
    Step 3 - Create a new repository
    Step 4 - Goto VS Code and open project/folder
    Step 5 - Create .gitignore file
    Step 6 - Goto source control section & click on git icon (note : check git is enabled from settings)
    Step 7 - Give commit message & Commit the changes
    Step 8 - Add remote repo (github repo)
    Step 9 - Push commited changes to github repo
    Step 10 - Check changes on github repo
    Ref - code.visualstudio.com/docs/so...
    How to clone project from GitHub to VS Code
    Step 1 - On VS Code check git is enabled
    Step 2 - Goto command palette - git clone - provide repository url and hit enter
    Step 3 - Select the location to save the project and open
    How to remove project from Git (version control)
    Step 1 - On VS Code check git is enabled
    Step 2 - Goto command palette - git close repository
    Step 3 - Delete the .git folder from project folder
    Ref:
    Git & GitHub - • Git and GitHub Hands-O...
    My GitHub Project - github.com/Raghav-Pal/Webdriv...
    ▬▬▬▬▬▬▬
    Every Like & Subscription gives me great motivation to keep working for you
    You can support my mission for education by sharing this knowledge and helping as many people as you can
    If my work has helped you, consider helping any animal near you, in any way you can
    Never Stop Learning
    Raghav Pal
    ▬▬▬▬▬▬▬▬ USEFUL LINKS ▬▬▬▬▬▬▬▬▬
    Ask Raghav - bit.ly/2CoJGWf
    GitHub Repositories - github.com/Raghav-Pal
    Udemy Discounts - automationstepbystep.com/udem...
    Stories - automationstepbystep.com/stor...
    ▬▬ CI | CD | DEVOPS ▬
    Jenkins Beginner - bit.ly/2MIn8EC
    Jenkins Tips & Trick - bit.ly/2LRt6xC
    Docker - bit.ly/2MInnzx
    Jenkinsfile - bit.ly/3JSMSZ7
    Kubernetes - bit.ly/2MJIlMK
    ▬▬ UI TESTING ▬
    Selenium Beginners - bit.ly/2MGRS8K
    Selenium Java Framework from Scratch - bit.ly/2N9xvR6
    Selenium Python - bit.ly/2oyMp5x
    Selenium 4 - bit.ly/3AiJOlP
    Selenium Tips - bit.ly/2owxc50
    Selenium Builder - bit.ly/2MKNtlq
    Katalon Studio - bit.ly/2wARFdi
    Robot Framework with RIDE- bit.ly/2Px6Ue9
    Robot Framework with Eclipse - bit.ly/2N8DZxb
    Protractor - bit.ly/2KtqVkU
    AccelQ - bit.ly/3PlsAsh
    Test Project - bit.ly/2DRNJYE
    Cucumber BDD - bit.ly/3Cnno4z
    Cypress - bit.ly/3PpEukM
    Playwright - bit.ly/3iuPByJ
    WebdriverIO - bit.ly/3IJyofA
    XPath & Web Locators - bit.ly/3PpEvoQ
    ▬▬ API TESTING ▬
    Web Services (API) - bit.ly/2MGafL7
    SoapUI - bit.ly/2MGahmd
    Postman - bit.ly/2wz8LrW
    Postman 2022 - bit.ly/3JWm4qX
    Rest Assured - bit.ly/3zUdhRD
    Karate API Testing - bit.ly/3w3H5Ku
    General - bit.ly/2PYdwmV
    JMeter API Testing - bit.ly/3AgVPar
    Katalon Studio API Testing - bit.ly/2BwuCTN
    API Mocking - bit.ly/3bYPsjS
    ▬▬ MOBILE TESTING ▬
    Appium - bit.ly/2ZHFSGX
    Mobile Playlist - bit.ly/2PxpeUv
    ▬▬ PERFORMANCE TESTING ▬
    JMeter Beginner - bit.ly/2oBbtIU
    JMeter Intermediate - bit.ly/2oziNVB
    JMeter Advanced - bit.ly/2Q22Y6a
    JMeter Tips & Tricks - bit.ly/2NOfWD2
    Gatling - bit.ly/3QrWfkV
    Performance Testing - bit.ly/2wEXbLS
    ▬▬ SOURCE CODE MANAGEMENT ▬
    Git & GitHub - bit.ly/2Q1pagY
    GITLAB - bit.ly/2kQPGyQ
    ▬▬ IDE ▬
    Eclipse - bit.ly/3AnRhQP
    IntelliJ IDEA - bit.ly/3AnyDZ8
    Visual Studio Code - bit.ly/2V15yvt
    ▬▬ PROGRAMMING ▬
    Java Beginners - bit.ly/2PVUcXs
    Java Tips & Tricks - bit.ly/2CdcDnJ
    Groovy - bit.ly/2FvWV5C
    JavaScript - bit.ly/2KJDZ8o
    TypeScript - bit.ly/3dvJBmz
    Python - bit.ly/2Z4iRye
    Ruby - bit.ly/3JRRmzf
    ▬▬ BUILD TOOLS ▬
    Maven - bit.ly/2NJdDRS
    Gradle - bit.ly/30l3h1B
    ▬▬ CLOUD SERVICES ▬
    Browserstack - bit.ly/3w7kxZn
    Saucelabs - bit.ly/3w7kAo1
    LambdaTest - bit.ly/3C6TBwM
    ▬▬ DATA FORMATS ▬
    JSON - bit.ly/3w450tq
    XML - bit.ly/3PqRneH
    ▬▬ OTHERS ▬
    Virtualization on Windows - bit.ly/2SItIL9
    Mock Interviews - bit.ly/3QGwwVJ
    Redis - bit.ly/2N9jyCG
    Misc - bit.ly/2Q2q5xQ
    Tools & Tips - bit.ly/2oBfwoR
    QnA Friday - bit.ly/2NgwGpw
    Sunday Special - bit.ly/2wB23BO
    -

Комментарии • 6

  • @xXMrThomasXx
    @xXMrThomasXx Месяц назад

    I know git but this is very usefull video for all programmers , so wach it and learning.

  • @TheSuperkreeper
    @TheSuperkreeper 8 месяцев назад

    Thank you

    • @RaghavPal
      @RaghavPal  8 месяцев назад

      You're welcome

  • @constantindimitrenco9551
    @constantindimitrenco9551 5 месяцев назад

    I wanted to ask why you use classes in Javascript? Is it necessary and why? maybe it is cucumber specific or other webdriver specific? as classes in javascript are usually used to only mimic other languages in some cases

    • @RaghavPal
      @RaghavPal  5 месяцев назад

      You're right, in some cases using classes in Javascript might seem unnecessary, especially if you're coming from a language with strong object-oriented principles. However, using classes in Javascript for certain tasks, including Cucumber and WebDriver tests, offers several benefits. Here's why:
      1. Organization and Code Reusability:
      * Breaking down large scripts: Classes help structure your code by grouping related functions and variables under a single entity. This makes large scripts easier to read, maintain, and understand.
      * Reusing functionality: You can define functions and properties within a class, making them reusable throughout your codebase. This reduces code duplication and promotes easier updates.
      * Inheritance: Classes allow inheritance, letting you create new classes that inherit properties and methods from existing ones. This is particularly useful for creating test scenarios with common steps or building reusable components.
      2. Encapsulation and Data Hiding:
      * Private properties and methods: Classes allow you to define private properties and methods, restricting access from outside the class. This improves modularity and protects sensitive data.
      * Controlled access: You can control how data is accessed and modified by providing public methods within the class, ensuring proper data manipulation and avoiding unwanted changes.
      3. Mocking and Stubbing:
      * Test isolation: In testing frameworks like Cucumber and WebDriver, classes help create mock objects and stubs. These mimic real objects and isolate specific parts of your code during testing, leading to more reliable and independent tests.
      * Flexibility: You can define different behaviors for mocks and stubs within their respective classes, allowing you to tailor test scenarios to specific needs.
      4. Object-Oriented Design Paradigm:
      * Standardized approach: Using classes aligns with the object-oriented programming paradigm, making your code more familiar to developers with experience in other object-oriented languages.
      * Collaboration: If you're working with a team on a large project, using classes promotes consistency and facilitates collaboration as everyone adopts the same coding style.
      Remember:
      * Not all Javascript code requires classes. Use them strategically for organization, reusability, encapsulation, and when working with testing frameworks like Cucumber and WebDriver.
      * Consider your project's needs and your team's familiarity with object-oriented programming when deciding whether to use classes.
      I hope this explanation clarifies why classes can be valuable in Javascript, even beyond mimicking other languages
      ..