Selenium Framework for Beginners 34 | How to add project to GitHUB

  Рет қаралды 33,428

Automation Step by Step

Automation Step by Step

Күн бұрын

Пікірлер: 70
@madhanprakash6184
@madhanprakash6184 2 жыл бұрын
very clear cut and easy to learn this new method
@RaghavPal
@RaghavPal 2 жыл бұрын
Thanks for liking
@faisalsakib9586
@faisalsakib9586 6 жыл бұрын
Hello sir, thanks for your such awesome videos. I really appretiate that. If possible please make any single real time testing site. Like from start to end using testng,maven what we will do in working place.it will be very helpful for us.
@RaghavPal
@RaghavPal 6 жыл бұрын
Sure Faisal, I will do that
@3VAudioVideo
@3VAudioVideo 11 ай бұрын
This is a very good beginners video! But can you please answer a few questions I have about the general process. 1. When changes are made to the Github Master repository, and I need to have those changes made onto my local PCs to run the new code, do I delete the local master or do I only pull the new file/changes from gitHub to my existing local master? 2. If I have an automation team, instead of having each members code pushed to the master in GitHub, should they all push it to something like a Pre-Master github repository, so that it can be pulled down to local PCs to executed and tested to make sure it all works, and then if it works with out bugs pull the pre branch to the master?
@RaghavPal
@RaghavPal 10 ай бұрын
Here are the answers to your questions: 1. Updating Local Master Repository: You do not need to delete your local master branch to incorporate changes from the GitHub Master repository. Instead, you should use the `git pull` command to fetch and merge those changes into your local branch. Here's the process: 1. Open a terminal in your local repository. 2. Run the command: ```bash git pull origin master ``` - This command retrieves updates from the remote `origin` repository (usually GitHub) and merges them into your local `master` branch. 2. Branching Workflow for Automation Teams: Yes, using a separate "pre-master" branch for testing and integration is a recommended practice for automation teams. This workflow helps maintain code quality and prevent issues from reaching the main production branch. Here's a visual representation of the process: Steps: 1. Developers create branches: Each developer creates a new branch from the `pre-master` branch for their work. 2. Work on branches: Developers work on their individual branches, committing changes locally. 3. Push to pre-master: When ready, developers push their changes to the `pre-master` branch on GitHub. 4. Pull for testing: Other team members pull the `pre-master` branch to their local machines to test and review the code. 5. Merge into master: If the code passes testing and review, it's merged into the `master` branch, typically through a pull request process. Benefits of this workflow: - Isolation: Prevents untested code from directly affecting the main branch. - Collaboration: Facilitates code reviews and feedback before merging. - Version control: Maintains a clear history of changes and allows for easy rollbacks if needed. - Organization: Helps manage multiple contributions and track progress.
@3VAudioVideo
@3VAudioVideo 10 ай бұрын
@@RaghavPal Awesome!!! Thanks so much. You Rock!!
@PawanMankar-t6m
@PawanMankar-t6m 9 ай бұрын
excellent explination sir
@RaghavPal
@RaghavPal 9 ай бұрын
Thanks and welcome Pawan
@amrramadan2583
@amrramadan2583 2 жыл бұрын
Thanks Man From Egypt
@RaghavPal
@RaghavPal 2 жыл бұрын
You're welcome!
@3VAudioVideo
@3VAudioVideo Жыл бұрын
5:55 what did you do to work around this issue? The Config window had the same settings that caused the issue but later you got it to work with the same settings. So what was the fix?
@RaghavPal
@RaghavPal Жыл бұрын
All that I have done is in the video, Have not edited anything, pls check
@3VAudioVideo
@3VAudioVideo Жыл бұрын
@@RaghavPal I'm sorry but I only saw you dismiss the Problem Occurred popup, uncheck and recheck the listed project's check box, and then hit Finish and all was ok. The first time you clicked Finish you got the popup. It is unclear to me why it was an issue the 1st time and not the second time you clicked Finish. Both times you had the same exact settings before clicking the Finish button. You said something about deleting something, but unclear if you also did that or not because I did not see you do anything else. Can you please watch it and explain what happened there?
@RaghavPal
@RaghavPal Жыл бұрын
ok, I will check again, as far as I remember, I did not edit any part, but will check, Meanwhile pls take online help
@3VAudioVideo
@3VAudioVideo Жыл бұрын
@@RaghavPal Can you check it now. I've been waiting 6 days. I put the time stamp there for you to easily get to the spot being questioned.
@RaghavPal
@RaghavPal Жыл бұрын
The error message "failed to initialize git team provider The process cannot access the file because it is being used by another process" means that Eclipse was unable to initialize the Git team provider because the file that Eclipse needs to access is being used by another process. This can happen if you are trying to initialize the Git team provider while you are also running another application that is using the same file. To fix this error, you can try the following steps: 1. Close any applications that are using the file that Eclipse needs to access. 2. Restart Eclipse. 3. Try again to initialize the Git team provider. If you are still having trouble, you can try the following: 1. Check the permissions on the file that Eclipse needs to access. Make sure that you have read and write permissions to the file. 2. Try using a different file to initialize the Git team provider. 3. Contact Eclipse support for help. I hope this helps
@orlandodelacruz4027
@orlandodelacruz4027 4 жыл бұрын
Really nice thanks Raghav
@RaghavPal
@RaghavPal 4 жыл бұрын
You're welcome Orlando
@JRYES
@JRYES 4 жыл бұрын
Thank you Raghav !
@RaghavPal
@RaghavPal 4 жыл бұрын
You're welcome Jerome
@sneharathod5476
@sneharathod5476 4 жыл бұрын
Really very nice n helpful video...thank u sir.
@RaghavPal
@RaghavPal 4 жыл бұрын
Most welcome Sneha
@pratikshak987
@pratikshak987 4 жыл бұрын
This is very useful and easy to understand video. Perhaps could you also explain how to chnage it from master branch to develop (any name) branch ? As directly committing code on master branch is not a good practice. Also, please do a video on selenium - git - azure setup that will be a great help to everyone.
@RaghavPal
@RaghavPal 4 жыл бұрын
Noted Pratiksha, I will create sessions on this
@alext1311
@alext1311 5 жыл бұрын
Thanks , really helpful can u also make same BDD video if u can . Also Appium IOS automation
@RaghavPal
@RaghavPal 5 жыл бұрын
Sure Alex, I will plan for that
@alext1311
@alext1311 5 жыл бұрын
Automation Step by Step - Raghav Pal Thank you :)
@poornachander5464
@poornachander5464 5 жыл бұрын
Thanks raghav
@RaghavPal
@RaghavPal 5 жыл бұрын
You're welcome Poorna
@shreyasms6786
@shreyasms6786 6 жыл бұрын
Happy teachers day Raghav
@RaghavPal
@RaghavPal 6 жыл бұрын
Thanks Shreyas
@dhananjay677
@dhananjay677 4 жыл бұрын
Sir you are just amazing. Sir I have one question. In interview, interviewer asked me how do you do continues integration by CI, CD. I have dedicated team for the same . How do answer this question
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi Dhananjay, so here you can say that in my current organisation, there is a dedicated team for CI and I help in automating the testing part of the process by making sure the tests can be executed from command line and in remote systems if required. Here you can get some knowledge on basics of the CI process.
@dhananjay677
@dhananjay677 4 жыл бұрын
@@RaghavPal I mean to say that I haven't worked on CI CD so how to convince to interviewer. I have just created test cases and push my changes through git
@RaghavPal
@RaghavPal 4 жыл бұрын
I will suggest to get some basic knowledge and then in interviews you can say that in the organisation your job was.....(tell your work and responsibilities) and then you can mention that you have taken initiative to learn some basic ci cd on your own and what is your understanding. Also mention you are keenly looking forward to learn more and implement your learning
@kasunishankayapa8823
@kasunishankayapa8823 3 жыл бұрын
I'm new to test automation.I have done development before. Can I know why we Testers need GitHub?For what tasks?
@RaghavPal
@RaghavPal 3 жыл бұрын
Hi Kasun, this will help - kzbin.info/www/bejne/eqLXi4isorWgpZY kzbin.info/www/bejne/Y4aQloh-fpuYq68
@shreyasms6786
@shreyasms6786 6 жыл бұрын
Hello Raghav, very useful video ,Can you make video to run test cases through jenkins.
@RaghavPal
@RaghavPal 6 жыл бұрын
Sure Shreyas, will be coming soon.
@matiastartara65
@matiastartara65 5 жыл бұрын
Hello , If I create a project using Intellij Idea, I need to create a git ignore file to ignore workspace.xml file if i want to push that code on github? I have to ignore any other file?
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi Matias, you can put all the resources (relative path) that you want to ignore (or do not want to upload on repository) in the .gitignore file. Usually ./settings ./lib etc are not required and are put in .gitignore. This will help you zellwk.com/blog/gitignore/ www.atlassian.com/git/tutorials/saving-changes/gitignore help.github.com/en/github/using-git/ignoring-files
@rajeshrao5099
@rajeshrao5099 2 жыл бұрын
Hai raghav I am using GitHub in my laptop for both my office and personal things.When I try to push the code to newly created repo in my personal GitHub account it's asking for authentication and if I enter credentials also it's not taking me to next screen also in my other office GitHub account sometimes I am getting redirected to test project which I created in other credentials how can we handle this?pls share your experiences.I am your great fan 😊
@RaghavPal
@RaghavPal 2 жыл бұрын
Hi Rajesh, UPDATE**** While connecting/pushing to github from any external platform/tool, you will NOW need to provide ACCESS TOKEN in place of password To generate Access Token 1. Login to your GitHub account 2. Verify your email address, if it hasn't been verified yet. 3. In the upper-right corner of any page, click your profile photo, then click Settings. 4. In the left sidebar, click Developer settings. 5. In the left sidebar, click Personal access tokens. 6. Click Generate new token. 7. Give your token a descriptive name. 8. To give your token an expiration, select the Expiration drop-down menu, then click a default or use the calendar picker 9. Select the scopes, or permissions, you'd like to grant this token. To use your token to access repositories from the command line, select repo. 10. Click Generate token
@sagarsjdjfn
@sagarsjdjfn 3 жыл бұрын
mast
@RaghavPal
@RaghavPal 3 жыл бұрын
thanks for watching
@DasthagirammaNadendla
@DasthagirammaNadendla 8 ай бұрын
Sir I click in commit after that push is not working sir can you ans for it .its very need sir
@RaghavPal
@RaghavPal 8 ай бұрын
I will need more details on this
@sonali420
@sonali420 2 жыл бұрын
Hello sir,nice video but my password is not taking any way to get master branch password??
@RaghavPal
@RaghavPal 2 жыл бұрын
Try to use Token as password UPDATE**** While connecting/pushing to github from any external platform/tool, you will NOW need to provide ACCESS TOKEN in place of password To generate Access Token 1. Login to your GitHub account 2. Verify your email address, if it hasn't been verified yet. 3. In the upper-right corner of any page, click your profile photo, then click Settings. 4. In the left sidebar, click Developer settings. 5. In the left sidebar, click Personal access tokens. 6. Click Generate new token. 7. Give your token a descriptive name. 8. To give your token an expiration, select the Expiration drop-down menu, then click a default or use the calendar picker 9. Select the scopes, or permissions, you'd like to grant this token. To use your token to access repositories from the command line, select repo. 10. Click Generate token
@wertiaaudit5746
@wertiaaudit5746 3 жыл бұрын
🤔
@RaghavPal
@RaghavPal 3 жыл бұрын
Hope everything is fine with this session
@Riya-fe5jc
@Riya-fe5jc Жыл бұрын
Amazing Video as always Sir! Very well explained! Sir, I'm facing issue while i'm trying to push the Eclipse Project to GIT, it is asking for the user name and password, I do not know where to find username, for login it ask for username or email id and pwd , when I provide email id and pwd i'm able to login successfully, however at many places it ask for username , if I provide email id in the username text-box with right password i'm getting err consistently, "dsripriya" I see this name at the top right corner of my profile, even when I provide this "dsripriya" at username field I'm getting err, so I'm confused what's exactly is my username here, Password is correct and I'm sure of it. Plz guide where can I find my exact username, once I provide correct creds I should be able to successfully push the code to Git repo, Kindly help.
@Riya-fe5jc
@Riya-fe5jc Жыл бұрын
" git config --list " this resolved the issue sir! Found the username :)
@RaghavPal
@RaghavPal Жыл бұрын
Great, all the best Riya
@Deniz-ss1sv
@Deniz-ss1sv 3 жыл бұрын
:)
Selenium Framework for Beginners 35 | How to run Selenium tests on SauceLabs
20:25
Automation Step by Step
Рет қаралды 35 М.
GitHub Actions Step by Step DEMO for Beginners
23:17
Automation Step by Step
Рет қаралды 95 М.
Чистка воды совком от денег
00:32
FD Vasya
Рет қаралды 5 МЛН
Don't underestimate anyone
00:47
奇軒Tricking
Рет қаралды 29 МЛН
How to Push Eclipse Project into GitHub | Eclipse + Git errors not authorized
12:00
Selenium Framework for Beginners 39 | How to run Selenium tests on Jenkins
10:33
Automation Step by Step
Рет қаралды 81 М.
Selenium Framework for Beginners 23 | TestNG Grouping | How to group tests
15:00
Automation Step by Step
Рет қаралды 33 М.
Git and GitHub Tutorial for Beginners
46:19
Kevin Stratvert
Рет қаралды 1,4 МЛН