This guy is a genius. Great effort and very Neat and clean.
@RaghavPal3 жыл бұрын
Thanks Ravi
@devattri80628 ай бұрын
Thankyou bhai. Mahadev bless you with lots of happiness.
@RaghavPal8 ай бұрын
Thanks a lot Dev.. humbled
@antonmnykh87144 жыл бұрын
Thanks Raghav for great job and cool content! Your classes are very useful.
@RaghavPal4 жыл бұрын
Glad you like them Антон
@manasatweets39942 жыл бұрын
THank you so much sir for the videos,u r really doing a great job ,nice explanation from the starting for beginners
@RaghavPal2 жыл бұрын
Most welcome Manasa
@manasatweets39942 жыл бұрын
@@RaghavPal joined new project in New company and going through ur video's to learn protractor
@kalyansai54433 жыл бұрын
Amazing explanation bro.. You explanation is crystal clear for a beginner. Started learning Protractor with your videos
@RaghavPal3 жыл бұрын
Glad to hear that Kalyan
@kalyansai54433 жыл бұрын
@@RaghavPal Raghav, I started using ngwebdriver to locate ngelements and Im not sure how we can handle ngwebtables. Can you help me on this please
@RaghavPal3 жыл бұрын
I will check and plan a session on this Kalyan
@abhijitkambli29324 жыл бұрын
Hi Raghav thxs for video. Keep doing good work. We all appreciate your efforts to explain each topic
@RaghavPal4 жыл бұрын
Thanks a ton Abhijit
@tejkumarkempaiah49063 жыл бұрын
Thanks Raghav, DB Testing (MySQL) using Protractor would be a helpful playlist as there are no much information available in the web.
@RaghavPal3 жыл бұрын
I will check on this Tej
@RahulSharma-di4uh5 жыл бұрын
Thanks Raghav for sharing the knowledge. Very very detailed and useful session. Eagerly waiting for the remaining video to create full fledged framework.
@RaghavPal5 жыл бұрын
Sure Rahul, I will do
@leelamadhavi92774 жыл бұрын
Thank you so much Sir..Its very helpful..In between i faced unauthorized access while trying to run the commands in terminal,resolved it by changing the execution policy and by deleting the protractor.ps1 file and by clearing the cache ,and resolved '0' specs found issue while running the conf.js by giving the correct path of spec.js by following ur comments...happy to learn from your tutorials..small suggestion is to address the most common issues while configuration and access issues so that it will reduce our time and effort to stuck in that...but overall its so awesome..
@RaghavPal4 жыл бұрын
Hi Leela, thanks for the feedback and for adding this useful information
@quangvo3615 жыл бұрын
Thank you for sharing the video. The details made it easy to learn. Great work.
@RaghavPal5 жыл бұрын
You're welcome Quang
@sagarikav39893 жыл бұрын
Thank you Your vedios are of great help :)
@RaghavPal3 жыл бұрын
You are welcome Sagarika
@rangabharath42535 жыл бұрын
Awesome as always. Very detailed explanation. Thank u so much
@RaghavPal5 жыл бұрын
You're welcome Ranga
@parthoroy24305 жыл бұрын
Great Contribution Raghav. appreciate the passion
@RaghavPal5 жыл бұрын
Thanks Partho
@johnny5895674 жыл бұрын
Thank you for the content, Raghav!
@RaghavPal4 жыл бұрын
Most welcome Lonathan
@tharshiy4 жыл бұрын
Thank you sir for this wonderful video. It is very easy to follow :)
@RaghavPal3 жыл бұрын
You are most welcome
@bharatmalik47804 жыл бұрын
Hi Raghav, Thank you very much for creating these videos on Protractor. My question is that before moving on to the next video, do you recommend watching JavaScript videos. My background is automation tester but i don't experience with JS from development perspective. Do we really need to learn in order to master protractor. Thank you for all your support in this matter.
@RaghavPal4 жыл бұрын
Hi Bharat, I will suggest that you complete Protractor and then go for JavaScript and then try some more advanced things in Protractor. I have created the Protractor series so that you can complete it without good knowledge on JS
@lnmahapatra75302 жыл бұрын
I have run few commands in powershell and it is working fine
@RaghavPal2 жыл бұрын
Great to know
@hangochung87304 жыл бұрын
Thank you very much, I appreciate this a lot.
@RaghavPal4 жыл бұрын
You're very welcome!
@Mani-oq2bj5 жыл бұрын
Thanks Raghav ji,👏👏 We expecting more videos on protractor...
@RaghavPal5 жыл бұрын
Sure Manoj, keep watching
@ogg_gang4 жыл бұрын
thanks a lot, your courses are helpful
@RaghavPal4 жыл бұрын
You're welcome
@akshayjadhav69225 жыл бұрын
Thank you sir fir this amazing tutorial.
@RaghavPal5 жыл бұрын
Thanks Akshay
@sudeepbasak58705 жыл бұрын
Thank you for your great jobs...
@RaghavPal5 жыл бұрын
You're welcome Sudeep
@shiskeyoffles5 жыл бұрын
Just to point out to viewers, VSCode is an editor, while Visual Studio (huge) is an IDE... But VSCode has enough extensions which allows coders have most features of a fully fledged IDE.
@RaghavPal5 жыл бұрын
Thanks for adding.
@sahasra81734 жыл бұрын
Very nice tutorial Raghav. I started exploring Protractor and really liked your tutorial. Small videos very constructive and informative to the point. Keep up the good work buddy. Coming to this video, I encountered an issue in VSCode. When I try to execute protractor --version command it says protractor is not known command. Could be some setting related issue. Any suggestion on how to fix it?
@RaghavPal4 жыл бұрын
Hi Subrahmanyam, happy to know it is helping you. How did you install protractor, did you use -g flag. Also check if you have set environment variables for node js.
@mihirkumardash50354 жыл бұрын
Thanks for making very detailed videos. It helps a lot. Could you please also make some videos on Selenium with C#?
@RaghavPal4 жыл бұрын
I will definitely do it Mihir
@testingtrail5 жыл бұрын
This is great, thanks!
@RaghavPal5 жыл бұрын
You'r welcome Jorge
@MrBato19855 жыл бұрын
Thank you Raghav
@RaghavPal5 жыл бұрын
You're welcome Aqil
@pratibhakamdi47183 жыл бұрын
Thanks Raghav for such detailed explanation. Can we create protractor framework in eclipse as well or VS is mandatory to use?
@RaghavPal3 жыл бұрын
Hi Pratibha, you can do with Eclipse
@lalitwaful4 жыл бұрын
Hi Raghav, I am using protractor version as 5.4.3 , and on running protractor conf.js I am getting error that " session not created: This version of ChromeDriver only supports Chrome version 81" my current chrome driver version after doing webdriver-manager update is chromedriver_81.0.4044.69 , can you please help to fix this issue
@RaghavPal4 жыл бұрын
Hi Lalit, see what is the ver of Chrome browser installed on your system. Download the corresponding chrome driver exe.
Hi, I couldn't find the support for TypeScript in Welcome screen and there are many different TypeScript if search in extension. Which one should I install?
@RaghavPal4 жыл бұрын
Hi Peyton, I saw the link for TypeScript on the welcome screen. But anyways, check this - code.visualstudio.com/docs/languages/typescript
@shaikmumtaz27544 жыл бұрын
Hi Raghav total how many tutorials are there to complete protractor
@RaghavPal4 жыл бұрын
Hi Shaik, can check here - automationstepbystep.com/
@Arun-hg2uh5 жыл бұрын
@Raghav I am expecting that you will come up with the same series using Type Script
@RaghavPal5 жыл бұрын
I will Arun, in some time
@gopikrishnakilari235 жыл бұрын
Thanks for the video Raghav. When can we expect the next video on protractor?
@RaghavPal5 жыл бұрын
You're welcome Gopi. Next video coming Monday morning.
@tripathi51743 жыл бұрын
raghav sir you asked us to run this command Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass if we were unable to run the script on VS code, can you please explain what is it doing . thankyou sir.
@RaghavPal3 жыл бұрын
Hi, with this we can bypass execution policies that may hinder our execution process. I will need to check online for deeper analysis
@meghnabakshi76484 жыл бұрын
Hi Raghav, I have downloaded the project from git and try to run but getting below error- protractor : The term 'protractor' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + protractor --version + ~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (protractor:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException. Could you please help here
@RaghavPal4 жыл бұрын
Hi Meghna, install protractor globally using -g argument. e.g. npm install protractor -g
@Trading4Life3 жыл бұрын
Volume is low Raghav in many of the videos. Please do something about it.
@RaghavPal3 жыл бұрын
I will check, may not be able to change the existing videos, but will take care for future ones, For these pls try headphones will full volume
@vikramerlapalle26083 жыл бұрын
Hi Raghav I am not able to run protractor --version command on visual studio but its successfully running on win cmd, getting error 'protractor : The term 'protractor' is not recognized as the name of a cmdlet, function, script file, or operable program.'
@RaghavPal3 жыл бұрын
Hi Vikram install protractor globally using -g argument. e.g. npm install protractor -g
@prashantteotia72962 жыл бұрын
Hello Raghav I am facing problem while running the test it ends with the code - no specs found and the web driver exits as I have configured the conf file also tried giving out double .. to the relative path Also re tried everything from the beginning in starting the test was running smoothly please help.
@RaghavPal2 жыл бұрын
Hi Prashant, pls check if this helps - stackoverflow.com/questions/30616093/angular-protractor-no-specs-found stackoverflow.com/questions/46500133/angular-protractor-how-to-ensure-that-no-specs-found-error-does-not-happen/46515759#46515759
@ishmeetkaur10493 жыл бұрын
Hi, I am not getting "typescript" language in tools and language while launching Visual studio.
@RaghavPal3 жыл бұрын
Hi Ishmeet, check this code.visualstudio.com/docs/typescript/typescript-tutorial
@peytonliang16004 жыл бұрын
Hi, Sir. I keep getting the same error: Program 'protractor' failed to run: No application is associated with the specified file for this operationAt line:1 char:1 + protractor --version + ~~~~~~~~~~~~~~~~~~~~. At line:1 char:1 + protractor --version + ~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException + FullyQualifiedErrorId : NativeCommandFailed For your information, i have added the nodejs and also npm variable in path, the environment variable. I can get the protractor version when i run in cmd but not in vs code. I tried to update to latest npm as well. All not working and i still facing the same issue. Can you please assist? Thank you.
@RaghavPal4 жыл бұрын
Hi Peyton, did you install protractor with -g option and if the env variables
@shilpapai51714 жыл бұрын
Hi Raghav, Thanks for such an amazing video. I am getting "no specs found" error. How can I solve this? Can you please suggest?
@RaghavPal4 жыл бұрын
Hi Shilpa, pls check if this helps - stackoverflow.com/questions/30616093/angular-protractor-no-specs-found stackoverflow.com/questions/46500133/angular-protractor-how-to-ensure-that-no-specs-found-error-does-not-happen/46515759#46515759
@minivlogsofisra58832 жыл бұрын
Dear sir thanks for your videos. Facing error in visual studio code which entering protractor --version it's showing error c:users\hp\appdata oaming pm\protractor.ps1 cannot be loaded because running script is disabled on the system. How to solve the issue
@RaghavPal2 жыл бұрын
can try bypassing execution policy with this command Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass this will help stackoverflow.com/questions/41117421/ps1-cannot-be-loaded-because-running-scripts-is-disabled-on-this-system
@vITchallenge2 жыл бұрын
Hi. I have new version Visual Studio Code and I can't instal JavaScript and TypeScript from main page. There are no these buttons.
@RaghavPal2 жыл бұрын
You can get them separately
@vITchallenge2 жыл бұрын
@@RaghavPal Thank you. How?
@mounikasharma823 жыл бұрын
I am getting below error while trying to run my program [20:55:30] I/launcher - Running 1 instances of WebDriver [20:55:30] I/local - Starting selenium standalone server... [20:55:30] E/launcher - spawn java ENOENT [20:55:30] E/launcher - Error: spawn java ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19) at onErrorNT (internal/child_process.js:469:16) at processTicksAndRejections (internal/process/task_queues.js:84:21) [20:55:30] E/launcher - Process exited with error code 199 PS C:\ATHENA_Automation_1.0\OITC_Automation\e2e-tests> (this is the path where my program is present)
@RaghavPal3 жыл бұрын
Not sure, will need to check online
@misteek6634 жыл бұрын
hey raghav, thanks for the wonderful explanation. But I am getting O specs found when run the protractor .\conf\conf.js although i set the relative path as per ur explanation but it still shows the same result. :/
@RaghavPal4 жыл бұрын
Hi Mishal, pls check in your conf.js if the path to spec file is correct, You can also try to give absolute path and check
@cluelessarmy37674 жыл бұрын
Did you get the result? I am getting the same 0 specs found
@thangam95034 жыл бұрын
Hi Raghav....I couldn't not find typescript to install under tools and languages....only JavaScript php python are there..
@RaghavPal4 жыл бұрын
Hi Thangam, you can goto extensions section and install from there
@anshikagupta88444 жыл бұрын
which typescript we need to install from extensions? there are many like typescript toolbox, typescript react code snippets etc
@RaghavPal4 жыл бұрын
Just look at the description and see if it says TypeScript support, can add it
@techkeyss5 жыл бұрын
Hi Raghav, Videos are really good. I am facing with one issue Protractor Scripts configuration in Jenkins for daily job and should send the report to email. I configured the protractor scripts in Jenkins and allure report also generated. My issue here is : 1.1st job is running and report is generated. 2. 2nd job is running and 1st report and 2nd report consolidated and generating due to 1st script is not archived. 3. Unable to send the allure report to the email. Do you have knowledge on this, can you able to help here
@RaghavPal5 жыл бұрын
Not sure on this Kiran, will have to check
@techkeyss5 жыл бұрын
Automation Step by Step - Raghav Pal It’s ok Raghav, please let us know when you got any information on this concept
@emmaisongokon3 жыл бұрын
hello, I really enjoyed this class on protractors. however, when I got to the point I had to run the test on my terminal I got some error messages. it says " ps1 cannot be loaded because running scripts is disabled on this system" what does that mean?
@RaghavPal3 жыл бұрын
Hi Emmanuel, this error is due to current user having an undefined ExecutionPolicy. And this is resolved after executing the below command in TERMINAL: Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted
@emmaisongokon3 жыл бұрын
@@RaghavPal thanks, I'll try it out immediately and let you know the outcome
@emmaisongokon3 жыл бұрын
@@RaghavPal the error message I now get is: [09:35:59] E/launcher - Process exited with error code 1. Also, the browser launches alright but does not close at the end of the test
@RaghavPal3 жыл бұрын
Emmanuel, Pls check if this helps - stackoverflow.com/questions/40541974/launching-protractor-fails-and-exited-with-error-code-199
@priyankaharkare26902 жыл бұрын
Hello, Great video... I was wondering if you/someone here could help. I am ta 21:37 min and getting an error : `zsh: command not found: protractor` when i run the command: 'protractor --version'. I have installed it already, but not able to figure out why this night be happening
@RaghavPal2 жыл бұрын
Hi Priyanka, pls check if your env variables are updated
@aspp81374 жыл бұрын
HI Raghav, what i understood from this is we can run either through cmd prompt or visual code. Am i right
@RaghavPal4 жыл бұрын
Yes you can Archana
@aspp81374 жыл бұрын
@@RaghavPal Thank you.
@dhanashreesaraf20924 жыл бұрын
Thank you Sir for this well detailed tutorial. Though I always face one issue - when i run protractor conf.js , I get error as chrome crashed. process exited with error code 199. Can you please help me with this?
@RaghavPal4 жыл бұрын
Hi Dhanashree, pls check if this helps - stackoverflow.com/questions/40541974/launching-protractor-fails-and-exited-with-error-code-199
@arwaabdu10154 жыл бұрын
I have problem the protractor in VS in not recognized
@RaghavPal4 жыл бұрын
Pls restart VS or add the required plugins again
@saikirans98384 жыл бұрын
hi Raghav i am getting this error can you please solve this for me ([19:37:22] E/launcher - Process exited with error code 1)
@RaghavPal4 жыл бұрын
Hi Sai, Can you check by changing chromedriver ver. You can find some solutions here - github.com/angular/protractor/issues/4347
@chandanav129010 ай бұрын
Sir type Script not there to install is showing unstable, what to do
@RaghavPal10 ай бұрын
Chandana Protractor has reached end of life. Please check if you like to continue with it - www.protractortest.org/#/project-status
@anumanthe78715 жыл бұрын
Thanks much for the perfect and amazing tutorial, Raghav. But the terminal is very slow. I cannot able to view anything on that. Once I tried the protractor --version - Got the below error. Please help. "protractor: The term 'protractor' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1"
@RaghavPal5 жыл бұрын
Hi Anumanth, looks like protractor is not installed globally, You can uninstall and Install protractor globally using command pip install -g protractor
@anumanthe78715 жыл бұрын
@@RaghavPal Thanks Raghav. It Works
@krishanuchowdhury96984 жыл бұрын
@@RaghavPal Hey Raghav, I executed the command npm install -g protractor in cmd. Shouldn't that install protractor globally ? My Visual Studio is still showing the above mentioned error. Should I uninstall protractor and use the command pip install -g protractor in cmd ? And webdriver-manager update command in cmd after that ? Thanks in advance .
@narendranravi64304 жыл бұрын
Krishanu Chowdhury Same issue, it got resolved for you? Can you let me know what needs to be done. Thanks in advance
@mv81673 жыл бұрын
How to add JS and TypeScript in v19, or is it already?
@RaghavPal3 жыл бұрын
Hi Mike, VS Code has JS support in built, you can add more extensions for debugging, code running etc. For TypeScript you will just need to enable it from the main screen
@maheshpatil36563 жыл бұрын
Hi Raghav can u help to resolve the issue - I am getting error "the term protractor is not recognized'. Same conf.js I can run through command prompt successfully .Even protractor version command is not working in visual source code same error "protractor not recognized'
@RaghavPal3 жыл бұрын
Hi Mahesh, what is the ide you are using, Also check protractor installation, reinstall if required
@maheshpatil36563 жыл бұрын
@@RaghavPal- Thanks Raghav for reply I am using Visual studio code, i ran conf.js example from command prompt that's working fine, but when I came to visual studio code and follows exact all the steps from this session and terminal run the command protractor conf.js , showing error protractor not recognized, then I tried protactor --version same error protractor not recognized. but in cmd prompt shows version correctly
@RaghavPal3 жыл бұрын
may be your protractor is not installed globally on your system use npm install protractor -g OR npm i protractor -g
@AnjanPrasad2 жыл бұрын
Can we use eclipse in place of vs code
@RaghavPal2 жыл бұрын
Yes, there is a protractor plugin for eclipse, Can try Anjan
@mekalasuresh3344 жыл бұрын
Hi sir, I am getting error while checking protractor version in visual code... The term protractor is not recognised... Pls help me
@RaghavPal4 жыл бұрын
Hi Mekala, pls check if you have installed protractor globally using the -g argument npm install -g protractor
@swathiathuluri2464 жыл бұрын
Hi Raghav,i am getting this error when trying to execute conf.js E/launcher - session not created: This version of ChromeDriver only supports Chrome version 85
@RaghavPal4 жыл бұрын
Hi Swathi, Pls change your chrome driver as per the ver of Chrome browser on your system chromedriver.chromium.org/downloads
@mendietaaa4 жыл бұрын
hi Raghav. Thank you for your tutorials. I have a question please. I installed successfully Code Runner but the section "OUTPUT" is always empty when I execute a test. For example, "hello world"
@RaghavPal4 жыл бұрын
Hi El, are you printing something on the console. Pls check again, May be a re-install might work
@mendietaaa4 жыл бұрын
@@RaghavPal I write a simple test : console.log(hello the world) but nothing in the Output section. The message is written in the Terminal section only
@RaghavPal4 жыл бұрын
Hi El, not sure why is this the case. You may try re-installing
@sravanbhuma82144 жыл бұрын
Hi El, It may be the case that you ran the script without saving the file. I encountered the same and later realized that I didn't save the file
@bishnupriyapatra95673 жыл бұрын
Hii raghav, when I tried to to execute example.js getting error.
@bishnupriyapatra95673 жыл бұрын
In terminal it's showing it cannot be. Loaded running scripts is disabled on this system. For more information, see about_Execution_policies
@RaghavPal3 жыл бұрын
Hi Bishnupriya, can try bypassing execution policy with this command Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
giving me this error- "cannot be loaded because running scripts is disabled on this system" while running on terminal.Please help!
@RaghavPal4 жыл бұрын
Hi Meghna, can try bypassing execution policy with this command Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
@ocsicnarf044 жыл бұрын
I can't run protractor in eclipse, tern plugin is outdated and I installed wild web driver plugin but can't find protractor/convert my project. can you give tutorial for eclipse?
@RaghavPal4 жыл бұрын
Hi Francis, I will check on this.
@shilpamittal25984 жыл бұрын
Hi Raghav, when I run the hello.js, it did not print the "hello world", terminal only print this : [Running] node "f:\ProtractorDemo\tests\hello.js" [Done] exited with code=0 in 0.121 seconds Also After hitting the command "protractor --version" I am getting the error : protractor : File C:\Users\Shilpa Mittal\AppData\Roaming pm\protractor.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.
@RaghavPal4 жыл бұрын
Hi Shilpa, can try bypassing execution policy with this command Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
@shilpamittal25984 жыл бұрын
@@RaghavPal Thanks Raghav, It works for me.
@zishukumar65334 жыл бұрын
I am getting Cannot find chrome binary error
@RaghavPal4 жыл бұрын
Hi Zishu, if the chrome browser binary file is not present on the default location on your system, you may have to provide its location. Check this - stackoverflow.com/questions/55826772/e2e-test-fail-error-cannot-find-chrome-binary-in-linux
@aspp81374 жыл бұрын
Hi Raghav, I am trying to run the website which is angular js and i have a code ng-click="sortType = 'lName'; sortReverse = !sortReverse" like this. I dont know how can i write the java script code for this to click on that link and also sort. Can you please suggest.I tried the below let sortLastName= element(by.css('[ng-click=sortType()]')); using link text also tried but not working. This is the website www.way2automation.com/angularjs-protractor/banking/#/manager/list where i will click on Customers tab and click on first name link
@RaghavPal4 жыл бұрын
Hi Archana, Let me check, will need to take some online help
@pratyushtripathy14634 жыл бұрын
sir it showing runtime error exports is undefine
@RaghavPal4 жыл бұрын
Hi Pratyush, just check if you are running the config file or spec file
@pratyushtripathy14634 жыл бұрын
@@RaghavPal config file sir
@RaghavPal4 жыл бұрын
Will have to see the file. Meanwhile pls check online
@venkatgeneralknowledge50644 жыл бұрын
every time we have to install java script or type script we have opened visual studio
@RaghavPal4 жыл бұрын
Hi, I did not get your question, you will have to do that in Visual Studio
@Manibhatt204 жыл бұрын
Hi Sir, Can i use Visual studio instead of Visual studio code?
@RaghavPal4 жыл бұрын
Yes, you can as long as the support for JavaScript/TypeScript is available
@Manibhatt204 жыл бұрын
@@RaghavPal Thanku so much for reply. i am facing issues related to the intellisense , i am not able to get it even after downloading the support for javascript.
@RaghavPal4 жыл бұрын
Hi Manisha, did you try to restart VS Code
@dearstomach4 жыл бұрын
While running the conf.js im getting a windows script host error: error is 'exports' is undefined, please help
@RaghavPal4 жыл бұрын
Hi Bijineshh, can you check which line is throwing this. will need more logs to troubleshoot
@manjumanagutti1353 жыл бұрын
It's saying running script is disabled on this system
@RaghavPal3 жыл бұрын
Hi Manju, can try bypassing execution policy with this command Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass Also check this stackoverflow.com/questions/41117421/ps1-cannot-be-loaded-because-running-scripts-is-disabled-on-this-system
@manjumanagutti1353 жыл бұрын
@@RaghavPal k thank you so much....
@aspp81374 жыл бұрын
do we need Visual code as well for protractor apart from this node.js
@RaghavPal4 жыл бұрын
Hi Archana, you will need some editor or IDE, I found VS code very useful. Just in case you need to get started with VS Code, Check this - kzbin.info/aero/PLhW3qG5bs-L_uGhe43hrzPBgNdHh141r3
@aspp81374 жыл бұрын
@@RaghavPal OK got it Thank you very much. I am practicisng some websites. Can you help in getting alert message code since if i go through website there is not javscript code for alert or pop up window. in that case how do we write the code to proceed further. Please suggest.
@vITchallenge2 жыл бұрын
The term 'protractor' is not recognized as the name of a cmdlet
@RaghavPal2 жыл бұрын
Pls check if protractor was added globally on your system
@vITchallenge2 жыл бұрын
@@RaghavPal Thank you for answer. I checked PATH, everything as in video.
@RaghavPal2 жыл бұрын
Can check the process again and try some online examples too
@kitttypie4 жыл бұрын
Can you please provide me link of notes
@RaghavPal4 жыл бұрын
Hi, notes are added in the description below the video
@sr26034 жыл бұрын
Is protractor good for React UI?
@RaghavPal4 жыл бұрын
Hi, I have personally not used protractor for React. I will suggest to explore on this online. Some pointers - www.quora.com/What-is-the-best-testing-framework-for-ReactJS
@Pigilili5 жыл бұрын
Hi, How did you resolve issue regarding: "session not created... Process exited with error code 199" from the previous video? Have u added another driver or u changed version of Chrome?
@RaghavPal5 жыл бұрын
Hi Nemanja, pls check you are using directConnect in config.js. Also try to get a newer ver of chromedriver and try. Also check your /etc/hosts file, 127.0.0.1 rule should not be commented.
@Pigilili5 жыл бұрын
@@RaghavPal Hi Raghav, Thanks for quick reply... Regarding newer version of chromedriver, triggering 'sudo webdriver-manager update' it automatically downloads newest webdriver, but the thing is that My Chrome version is 71 and I need older version of webdriver than the one I am getting over webdriver-manager. Is there any way that we can manually set which webdriver we want protractor to use? Thanks
@Pigilili5 жыл бұрын
Got it: So if someone can't or don't want to change his browser version, there is a way to adjust chromedriver version to it's browser version with following command: webdriver-manager update --versions.chrome=73.0.3683.86 So just specify exact version of ur browser (chrome://version) and it'll download the appropriate version of webdriver
@RaghavPal5 жыл бұрын
Glad to see you resolved it and thanks a lot for posting the solution, It will help many
@Karthickraj.pattabi5 жыл бұрын
make chrome version for 77V
@wasimakram-nz5gq4 жыл бұрын
Hi sir I had follow everystep what you did in my pc. In Visual studio in terminal if i type protractor -version its showing error message like cannot be loaded because running scripts is disabled on this system. Like its showing help me to over come this error. Waiting for your replay sir
@RaghavPal4 жыл бұрын
HI Wasim, looks like permission issue on your system. May be you can create project folder at a different location where you have all rights and try again.
@wasimakram-nz5gq4 жыл бұрын
Protractor : File C:\user\harsha\Appdata\Roaming pm\protractor.ps1 cannot be loaded because running scripts is dispabled on this system this is the error which i face during to check protractor version in Terminal.
@RaghavPal4 жыл бұрын
Okay, not sure, may be you can try installing protractor again on a diff drive
@wasimakram-nz5gq4 жыл бұрын
Ok sir . Thank you so much for your reply
@samiraalma3894 жыл бұрын
@@wasimakram-nz5gq Can you share what was the solution for this issue ?
@karthikramadurai50674 жыл бұрын
Please share the code of config.js and example_spec.js
@RaghavPal4 жыл бұрын
Hi Karthik, I have added the details/links in the description of relevant videos. Pls check
@karthikramadurai50674 жыл бұрын
@@RaghavPal Can you please share me the exact link where those codes are present?
@RaghavPal4 жыл бұрын
Hi Karthik, should find it here - github.com/Raghav-Pal/ProtractorFramework
@prasadhiwale50964 жыл бұрын
Hi Thank you for video. While i executing the script in Visual studio windows 10- facing error -> ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170. Could you please help me how should i fix it. Thank You.
@RaghavPal4 жыл бұрын
Hi Prasad, can try bypassing execution policy with this command Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
@prasadhiwale50964 жыл бұрын
Thank You for update...@Raghav@@RaghavPal
@dmitriipopov31895 жыл бұрын
90% of content is water :(
@RaghavPal5 жыл бұрын
Hi Dmitrii Popov, pls let me know your issue in detail. This is a video in a series, I will be making more soon.
@saarahskudil94323 жыл бұрын
Hi Raghav, I was trying to find elements and i cannot find ng-model or anyother locators. So i was trying to write the xpath and find the elements. My xpath is correct, but when i am running, i am getting error as 1 failed specs. Please help me on this issue
@RaghavPal3 жыл бұрын
Hi Priya, will need to check the error message and logs
@vITchallenge2 жыл бұрын
It cant run in VSC terminal :(
@RaghavPal2 жыл бұрын
what is the error
@vITchallenge2 жыл бұрын
@@RaghavPal If i run code in VSC terminal I see message "The term 'protractor' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again." When I run code in cmd everethink work good.