Thank you. for the series. Really helpful. I would suggest to create an image before terminating an instance. That way there will be no need to do all setup (changing java version, creating yml etc.) again. Just we can start an instance from our image.
wow..you made it look so simple and infuse confidence in me ...till now i was thinking how to work on cloud and create instances-,docker,container --all in one ---Thanks Naveen!!
Really liked the new style of you talking while demonstrating the session... It feels more interactive. No rehearsals one take one video.. Great work Naveen. Another quick question, everytime, I will terminate or stop my instance and relaunch, the public DNS or IP will be changing. Is there any way, that I can get that instance or address as a variable, so that I can dynamically pass on to my RemoteWebdriver URL or into my Jenkins?
Finally!! Thanks for the wonderful video series on AWS..very helpful..thanks..wanted to know if you are planning to start a series on Codeceptjs since you have covered most js tools like Taiko, webdriverio, cypress..Codeceptjs is also an awesome js based testing tool, would be great to have you cover that as well...keep up the great work!!
Hello Naveen. I do follow you quite a bit. Nice video on AWS/selenium grid/ docker. Boss, if you have the knowledge , can you please do video on contract testing on micro services. That would be highly appreciated. Keep up your good work.
Thank you for the awesome tutorial. Did you make any video on Jenkins with AWS, and how can we run multiple test cases parallel on AWS with Jenkins? Please let us know. Thank you in advance.
Thanks for the video Naveen. Could you please create a detailed video on "Cucumber -BDD Interview questions" just like you did for Agile interview & Selenium + Java in many parts
Wow really amazing video Naveen, thank you so much for this series...wanted to know if there is any way to view tests running in AWS instance can it be done via vnc viewer..
Hi Naveen - Can you also share the video how to execute file upload scenario on docker. As when i am running my scenario from local as you did, all the scenarios are working fine except File upload. So if you could share that one, its really help
Short Notes of above lecture + some additional information: For accessing Linux instance on local machine via cmd or powershell: ssh -i "C:\Users\Files\Path\final-key.pem" ec2-user@ For install jdk 1.8: sudo yum install java-1.8.0-openjdk For update all packages: sudo yum update For removing existing java version: sudo yum remove java -y Note: -y is added to display logs. For installing docker: sudo amazon-linux-extras install docker For starting docker: sudo service docker start For installing git: sudo yum install -y git For installing docker compose (3 commands in total): sudo curl -L github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose docker-compose version For checking running docker containers: docker ps -a For checking docker images: docker images For creating/touching docker-compose yml file: touch docker-compose.yml docker-compose version 3 for selenium url: github.com/SeleniumHQ/docker-selenium/blob/trunk/docker-compose-v3.yml for executing docker-compose.yml file: docker-compose up for closing all opened containers and images: docker-compose down for increasing firefox browser count: docker-compose scale firefox=5 for removing a file in linux machine: rm for listing down all the files present in the directory: ls VI editor commands: 1. command mode is used for save file, insert some data, delete file etc. 2. insert mode is used for editing file content like writing some text into it. 3. for writing some content into file: vi 4. for changing mode to insert mode press: i 5. for changing insert mode to command mode first press escape key 6. for saving the file and quit to VI, firstly go to command mode and double click ZZ (capital Z, double click) 7. for cut a line and paste it: go to command mode press dd for cutting a line and p for pasting it. use 5dd for cutting 5 lines 8. for undo: press u (in command mode) 9. for redeo: ctrl + r (in command mode) 10. for saving file but quiting the file: press :w (in command mode) 11. for forceful quit without saving: press :q! (in command mode)
Hi Naveen , Could you please provide link of video which you mentioned in above video . It is of running tests from Jenkins by creating/terminating EC2 Linux instance and with Docker
you should replace docker-compose file on v3. I get response from developer. "Grid 4 is in alpha stages right now, perhaps you are looking for Grid 3? If so, please check the readme on github.com/SeleniumHQ/docker-selenium/tree/selenium-3 (Updates to the docs and readme are work in progress)"
Hi Naveen, thank you for this aws videos. Its really helpful. I tried, and it is working. In this video, you told that you are going to upload a new video where you configure Jenkins and create ec2 instance automatically and running tests and after completion of execution, it will automatically terminate the instance. Actually I am looking for that video. Can you please create and upload the same? I searched in Google and RUclips and other sites, but didn't get any help.
Hi Supriyo, I was trying to Perform the same steps. but i was unable to get the containers created when i ran docker-compose up command.. help in this will be appreciated..
How to reuse this configuration after terminating the instance. I understand that if we use elastic IP I don't have to change the public IP but how about the configuration that we already set it up. Say i want to run my scripts every morning and shut it down in the evening. How can i do it
Hi, is there any way I could display the web browser on my ec2 instance itself? My test is running but in headless mode but I want the browser displayed. Can you suggest any way to do that?
hi naveen when I am runnning in my local using selenium server standalone it is showing the blur in the grid console but at the same time it is opening the browser
Hello Sir, i am new to these concepts, so i have a doubt. I see you used only one EC2 machine for setting up entire grid instead of using individual machines for hub and Nodes. So since you created multiple docker containers within the same EC2 machine, how many Containers can be created and how many Test cases can be executed at once, can you plz provide some explanation on this?
Sir i am try to scrape justdial with taking vps from digitalocean with banglaur server and using same selenium remote grid conf but when i get just dial it gives access denied in title and no scraping is happening for justdial i try same with browser stack and it works but i need to make my own infra please guide me on this
Hi @Naveen AutomationLabs Getting below error when trying to launch grid from console.can you help me to resolve this issue "This site can’t be reached"
Hi Naveen, While pasting in docker.compose.yml file, its being pasted in indented format This is causing error while running it Any suggestion how auto indent can be off
I have seen the browser being invoke(displaying browser in a window in ec2 instance) without the docker; does the implementation of the docker has resulted in not invoking the browsers?
im facing this isuue for 3 days: i provisioned free aws windows vm ,idk why chromedriver or gecko doesn't work on it,it says some issue with Bluetooth port,firefox unexpectedly exited,can u help me out here? im tring to run my python selenium project
Has anyone encountered the below error/issue when trying to open the selenium grid/console? { "value": { "error": "unknown command", "message": "Unable to find handler for (GET) \u002f", "stacktrace": "" } }
you should replace docker-compose file on v3. I get response from developer. "Grid 4 is in alpha stages right now, perhaps you are looking for Grid 3? If so, please check the readme on github.com/SeleniumHQ/docker-selenium/tree/selenium-3 (Updates to the docs and readme are work in progress)"
Did anyone try to paste the grid information in the windows terminal? I have press 'i' but after pasting did not see anything and it seems like esc+ctrl+w+q worked either. Any suggestions?
www.tjmaher.com/2018/03/starting-selenium-grid-using-aws.html - Maybe you can try from 'Let's edit the file in the nano text editor: nano docker-compose.yml' . This worked for me.
Thank you. for the series. Really helpful. I would suggest to create an image before terminating an instance. That way there will be no need to do all setup (changing java version, creating yml etc.) again. Just we can start an instance from our image.
This is one of the best course for testers to learn about AWS :)
Thanks Naveen, This is One of the best chanel for Automation related tutorials.
Wow.. you make everything look so simple!
Really enjoyed your AWS complete series. Thanks a ton :)
This is what i am was looking for. Really great video to learn the Architecture and configuration of selenium with AWS cloud. fantastic.
wow..you made it look so simple and infuse confidence in me ...till now i was thinking how to work on cloud and create instances-,docker,container --all in one ---Thanks Naveen!!
really nice video, waiting for video "launch tests on aws instance via jenkins".
is the video released??? Do you have the link for it?
Excellent Naveen. Thanks a lot for the tutorials..You are helping many people..
Thanks Naveen ,Your all the video series is very helpful. i learn lots of new things.
Thanx Naveen for your videos your are helping a a lot of people. waiting for the new video about integration with Jenkins.
Hi Naveen, nice video 👍. Can you please make videos on docker selenium grid with kubernetes cluster.
Looking forward to this...
Really liked the new style of you talking while demonstrating the session... It feels more interactive. No rehearsals one take one video.. Great work Naveen.
Another quick question, everytime, I will terminate or stop my instance and relaunch, the public DNS or IP will be changing. Is there any way, that I can get that instance or address as a variable, so that I can dynamically pass on to my RemoteWebdriver URL or into my Jenkins?
amazing tutorial and I think the easiest way you explained. Thanks a lot. Please upload the Jenkins part.
Thank you Naveen Sir for the helpful video, pls upload running selenium test/api test using Jenkins on Aws video. Thank you.
Finally!! Thanks for the wonderful video series on AWS..very helpful..thanks..wanted to know if you are planning to start a series on Codeceptjs since you have covered most js tools like Taiko, webdriverio, cypress..Codeceptjs is also an awesome js based testing tool, would be great to have you cover that as well...keep up the great work!!
Instablaster...
Hello Naveen. I do follow you quite a bit. Nice video on AWS/selenium grid/ docker. Boss, if you have the knowledge , can you please do video on contract testing on micro services. That would be highly appreciated. Keep up your good work.
Thank you Naveen. Really enjoyed and loved your videos. Thank you.
guaaoo Amazing! Thank you so much Naveen! Great content!!
Hi Naveen.. Thanks for the video..am getting nullpointer exception
Great 👍 Thank You Naveen for this amazing concept
Now you try this in our March pom framework!
yes definitely
I’m currently working on it
Thank you for your time and effort
its awesome
@@naveenautomationlabs Hi Naveen, where are the following video, after this? Like, you are talking about running Tests from Jenkins?
Thank you Sooo much Naveen
Thank you for the awesome tutorial. Did you make any video on Jenkins with AWS, and how can we run multiple test cases parallel on AWS with Jenkins?
Please let us know. Thank you in advance.
Awesome i really enjoy it
Thanks for the video Naveen. Could you please create a detailed video on "Cucumber -BDD Interview questions" just like you did for Agile interview & Selenium + Java in many parts
Perfect. But Can you please share the playlist of AWS for QA guys ? And do we have any link to use Docker in Window?
Simply superb !!!
Hi Naveen, thanks for AWS series. When you are planning video to execute tests in AWS from Jenkins?
Wow really amazing video Naveen, thank you so much for this series...wanted to know if there is any way to view tests running in AWS instance can it be done via vnc viewer..
Superb vedio naveen ,
Eagerly waiting!
Hi Naveen - Can you also share the video how to execute file upload scenario on docker. As when i am running my scenario from local as you did, all the scenarios are working fine except File upload. So if you could share that one, its really help
Thank you Naveen
im Stuck at 16:58 i keep trying to edit and copy paste from github but its not letting me and then im just stuck there i dont know what to do after
Hi Naveen,
Is their any command to auto start and auto stop for the docker compose file when the Machine is in log on and log off state
Thanks a lot for this video
Hi Naveen, Thanks for the video but there is no continuation video on how have the code in git in aws and how to run through Jenkins in aws
naveen sir...plz make a video for automation testing of AWS glue scripts using selenium
Hey Naveen, I have seen you are creating very useful videos and thats great!! But you are not focusing on doubt clearance.
Short Notes of above lecture + some additional information:
For accessing Linux instance on local machine via cmd or powershell:
ssh -i "C:\Users\Files\Path\final-key.pem" ec2-user@
For install jdk 1.8:
sudo yum install java-1.8.0-openjdk
For update all packages:
sudo yum update
For removing existing java version:
sudo yum remove java -y
Note: -y is added to display logs.
For installing docker:
sudo amazon-linux-extras install docker
For starting docker:
sudo service docker start
For installing git:
sudo yum install -y git
For installing docker compose (3 commands in total):
sudo curl -L github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker-compose version
For checking running docker containers:
docker ps -a
For checking docker images:
docker images
For creating/touching docker-compose yml file:
touch docker-compose.yml
docker-compose version 3 for selenium url:
github.com/SeleniumHQ/docker-selenium/blob/trunk/docker-compose-v3.yml
for executing docker-compose.yml file:
docker-compose up
for closing all opened containers and images:
docker-compose down
for increasing firefox browser count:
docker-compose scale firefox=5
for removing a file in linux machine:
rm
for listing down all the files present in the directory:
ls
VI editor commands:
1. command mode is used for save file, insert some data, delete file etc.
2. insert mode is used for editing file content like writing some text into it.
3. for writing some content into file: vi
4. for changing mode to insert mode press: i
5. for changing insert mode to command mode first press escape key
6. for saving the file and quit to VI, firstly go to command mode and double click ZZ (capital Z, double click)
7. for cut a line and paste it: go to command mode press dd for cutting a line and p for pasting it. use 5dd for cutting 5 lines
8. for undo: press u (in command mode)
9. for redeo: ctrl + r (in command mode)
10. for saving file but quiting the file: press :w (in command mode)
11. for forceful quit without saving: press :q! (in command mode)
Hi Naveen , Could you please provide link of video which you mentioned in above video . It is of running tests from Jenkins by creating/terminating EC2 Linux instance and with Docker
Have you installed maven in your instance?? How maven commands worked there??
can you share link for next video same setup but with Jenkins(launch tests on aws instance via jenkins) as you mentioned in #4 one. thanks.
@Naveen-Am not able to launch the grid console.
can you please help me.
you should replace docker-compose file on v3. I get response from developer. "Grid 4 is in alpha stages right now, perhaps you are looking for Grid 3?
If so, please check the readme on github.com/SeleniumHQ/docker-selenium/tree/selenium-3
(Updates to the docs and readme are work in progress)"
Hi Naveen, thank you for this aws videos. Its really helpful. I tried, and it is working. In this video, you told that you are going to upload a new video where you configure Jenkins and create ec2 instance automatically and running tests and after completion of execution, it will automatically terminate the instance. Actually I am looking for that video. Can you please create and upload the same? I searched in Google and RUclips and other sites, but didn't get any help.
Hi Supriyo, I was trying to Perform the same steps. but i was unable to get the containers created when i ran docker-compose up command.. help in this will be appreciated..
Countdown has begun.... 10,9,8,7,6,5....
Can please let us know about triggering same project from Jenkins..
How to reuse this configuration after terminating the instance. I understand that if we use elastic IP I don't have to change the public IP but how about the configuration that we already set it up. Say i want to run my scripts every morning and shut it down in the evening. How can i do it
Hello sir, Can I run my karate test cases as well using docker container ?
Instead of running on terminal can we run through Eclipse? it will run test in the instances right?
Hi Friend. Does it only work with selenium grid or with Selenium webdriver too? thanks.
Can you share the link to run test from Jenkins instead of local machine.
Can anyone tell me about roles and responsibilities of 'cloud test specialist'
Is it similar to automation testing
Hi, public ip with port number is not accessible for me after docker-compose up command. What can be an issue?
can you please show the same using jenkins?
Hi, is there any way I could display the web browser on my ec2 instance itself? My test is running but in headless mode but I want the browser displayed. Can you suggest any way to do that?
It's hard to search your video about Run Selenium Test on AWS EC2 Machine using Docker + Jenkins, Could you share link?
hi naveen when I am runnning in my local using selenium server standalone it is showing the blur in the grid console but at the same time it is opening the browser
@naveen : any reason for getting connection timed out error ? while i run scripts in AWS ?
Hello Sir, i am new to these concepts, so i have a doubt. I see you used only one EC2 machine for setting up entire grid instead of using individual machines for hub and Nodes. So since you created multiple docker containers within the same EC2 machine, how many Containers can be created and how many Test cases can be executed at once, can you plz provide some explanation on this?
can you please continue the sessions on AWS..About Lambda..
Sir i am try to scrape justdial with taking vps from digitalocean with banglaur server and using same selenium remote grid conf but when i get just dial it gives access denied in title and no scraping is happening for justdial i try same with browser stack and it works but i need to make my own infra please guide me on this
What if we need to run in multiple platform
Hi @Naveen AutomationLabs
Getting below error when trying to launch grid from console.can you help me to resolve this issue
"This site can’t be reached"
Hi Naveen,
While pasting in docker.compose.yml file, its being pasted in indented format
This is causing error while running it
Any suggestion how auto indent can be off
While navigating to the browser. getting this site cannot be reached. Any idea how to resolve this. I have turned off the firewall as well.
Where do you check in code ? In repo where I can configure it in aws
I have seen the browser being invoke(displaying browser in a window in ec2 instance) without the docker; does the implementation of the docker has resulted in not invoking the browsers?
ok, it's because of RAM u say?
im facing this isuue for 3 days: i provisioned free aws windows vm ,idk why chromedriver or gecko doesn't work on it,it says some issue with Bluetooth port,firefox unexpectedly exited,can u help me out here?
im tring to run my python selenium project
Hi Naveen, Can we execute webdriverIO test script on AWS EC2 instance? I wanted to execute on emulator on EC2.
Can we have the recording of this session .
its on youtube now.
Naveen, can we use putty instead of cmd prompt??
Yes u can
Is any updates video coming on this topic? is this still valid?
Has anyone encountered the below error/issue when trying to open the selenium grid/console?
{
"value": {
"error": "unknown command",
"message": "Unable to find handler for (GET) \u002f",
"stacktrace": ""
}
}
same problem. did you decide it?
you should replace docker-compose file on v3. I get response from developer. "Grid 4 is in alpha stages right now, perhaps you are looking for Grid 3?
If so, please check the readme on github.com/SeleniumHQ/docker-selenium/tree/selenium-3
(Updates to the docs and readme are work in progress)"
Did anyone try to paste the grid information in the windows terminal? I have press 'i' but after pasting did not see anything and it seems like esc+ctrl+w+q worked either. Any suggestions?
www.tjmaher.com/2018/03/starting-selenium-grid-using-aws.html - Maybe you can try from 'Let's edit the file in the nano text editor: nano docker-compose.yml' . This worked for me.
After 2-3 days it shows website refused to confused
Can you share me github source code link
Hi, can you please share the github source code link? Many thanks :)
during move to webpage IP:4444
{
"value": {
"error": "unknown command",
"message": "Unable to find handler for (GET) \u002f",
"stacktrace": ""
}
}
Hi Yury.. did you find the solution. i am also facing the same issue?
@@hbanwar github.com/sandeepnegi1996/til_sandy
checkout my github repository and copy the docker file from there this is a working solution
@@sandeepnegi4939 Hi Sandeep..even though we followed same steps and seeing This site can’t be reached issue. can suggest me any firewall issue?
simple things u've made sooo confusing ...
What’s the confusion here?