Protractor Beginner Tutorial 14 | How to run Protractor tests from Jenkins

preview_player
Показать описание
Today we will learn:
1. How to setup Jenkins
2. How to create jobs in Jenkins
3. How to run Protractor tests

Step 2: Start jenkins

Step 3: Create a new job

Step 4: Add commands in Jenkins Job

Step 5: Run and check

------------ UI TESTING ------------

------------ API TESTING ------------

------------ MOBILE TESTING ------------

------------ CI | CD | DEVOPS ------------

------------ VERSION CONTROL SYSTEM ------------

------------ PERFORMANCE TESTING ------------

------------ PROGRAMMING ------------

------------ IDE ------------

------------ MAVEN ------------

------------ OTHERS ------------

Keep Learning,
Raghav

You can support my mission for education by sharing this knowledge and helping as many people as you can.
Рекомендации по теме
Комментарии
Автор

Thank you for your attention to details in your video. I was able to follow along and had successful hand-on practice. I appreciate it.

quangvo
Автор

Hi, can you make
a tutorial for mac, I've been seen that is different and I'm not been able to configure correctly nor with github. thanks in advance.

teodorogar
Автор

Thanks for your channel.
@2:56 : this is only for Win10 or also older versions ?
I never used this useful trick.
In Win7 and/or WinXP, I used the context menu for same action.

undefinedperson
Автор

Can you please tell me what command to ty in the Execute Shell. I have a Mac and I am missing some details because I keep getting errors. You use C: cd I am not sure how to do it with a mac.

TheEsteban
Автор

Hi Raghav, . If it's our local machine this will work but when it come corporate office they will install Jenkins in server. That time this build path won't work.. could please help how to do this If Jenkins installed in server.

shwethabj
Автор

Every Tutorial is great learning going forward please add Protractor with Typescript tutorial along with Cucumber framework on the same..Thanks ! in Advance :)

mohamedhazeeb
Автор

If I am not wrong you are running in headlessbrowser mode? Is their way to run in browser mode? plus in my package.json i have added command which brings up selenium server and run tests and have devDepenedices and I run my test using npm test...
does this mean in my command line section


cd c:/path to folder
npm install
npm test


npm install to install devdevepnedices and npm test to run tests correct?
in package.json
"scripts": {
"webdriver-start": "webdriver-manager update && webdriver-manager start",
"protractor": "wait-on http-get://127.0.0.1:4444/ && protractor conf.js",
"test": "npm-run-all -p -r webdriver-start protractor"
},

waheedahmed
Автор

Please let me know if DB testing using Protractor is in your todo list, As there is hardly content which covers the same.

tejkumarkempaiah
Автор

How to run the protractor in jenkins(In server). Do we need to make any changes or add any plugins

prashanth.m.nprashanth
Автор

Hi, Raghav when I am trying to run Jenkins file in my command prompt it's displaying.
59.0
at
at Main.main(Main.java:142)

yasashreeakula
Автор

Thanks Raghav, we have jenkins access but DevOps team. what all should we require to send them to create such job for us? How can i achieve this if i have no access to jenkins?

BidyasagarKapaliQA
Автор

`My local machine keeps on telling me that PKIX path building failed`. this is when I run `java -jar jenkins.war`. At the end of the console it says jenkins is running fine, but I don't see the password. The html page for local host says Jenkins is offline. Please help.

christmasvillage
Автор

Hey, thanks for the great video, do you have any idea if its possible to download files while running the tests using Protractor? Because I can download files using protratcor when I run the tests on my machine but on Jenkins its not seems to be Working.

mohammado
Автор

Hi Raghav,

Your course content is too good for beginners. It has helped me a lot to understand Protractor in a short time. (Not boasting you to get quick reply from you :) )
The problem I'm facing is that when I run the Protractor test through Jenkins, it doesn't launch the browser but still sometimes the test is passed while sometimes failed. I'm not using xvfb at all right now. Any idea why this could be happening?

malpanisiddhesh
Автор

Hi, Can you explain how can i pass choice parameter to command protractor conf.js --cucumberOpts.tags="$Choice" in order to choose between smoke or regression tests?

johnnathandawson
Автор

Hi, In real time scenario, does company use git and jenkins while doing automation. is it mandatory to use these. what kind of questions they ask during interview for protractor.

aspp
Автор

Hi Raghav, First of all, thank you so much for your efforts in educating people.

Need your help!! I followed the same steps in this video and getting an error .\conf\conf.js
'protractor' is not recognized as an internal or external command,
operable program or batch file." in Jenkins.
Can Raghav or someone help?

PS: I have installed protractor globally and also the command "protractor .\conf\conf.js" runs perfectly fine when I run it in VS Code and Command prompt.

pavankustagi
Автор

Hi Raghav,
I am getting 'protractor' is not recognized as an internal or external command,
operable program or batch file error when i am running through jenkins but same command working fine for me when i am running it manually from my system

gauravgaud
Автор

Hi Raghav,
I am not getting initialAdminPassword file in my System.
please help

zishukumar
Автор

Hi,
I am facing some issues, I am not able run file in jenkins using protractor cucumber framework.
Issue:
Error: EACCES: permission denied, open 'file path'
Could you please help me?
Thanks in advance!

sayalichaudhri