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?
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.
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!!
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
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
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?
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)
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)"
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 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
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
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
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
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?
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..
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.
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": "" } }
Thanks Naveen, This is One of the best chanel for Automation related tutorials.
This is one of the best course for testers to learn about AWS :)
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 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.
Excellent Naveen. Thanks a lot for the tutorials..You are helping many people..
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!!
Thanks Naveen ,Your all the video series is very helpful. i learn lots of new things.
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
Thanx Naveen for your videos your are helping a a lot of people. waiting for the new video about integration with Jenkins.
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?
Thank you Naveen. Really enjoyed and loved your videos. Thank you.
guaaoo Amazing! Thank you so much Naveen! Great content!!
really nice video, waiting for video "launch tests on aws instance via jenkins".
is the video released??? Do you have the link for it?
Perfect. But Can you please share the playlist of AWS for QA guys ? And do we have any link to use Docker in Window?
amazing tutorial and I think the easiest way you explained. Thanks a lot. Please upload the Jenkins part.
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.
Hi Naveen.. Thanks for the video..am getting nullpointer exception
Thank you Naveen Sir for the helpful video, pls upload running selenium test/api test using Jenkins on Aws video. Thank you.
Hi Naveen, nice video 👍. Can you please make videos on docker selenium grid with kubernetes cluster.
Looking forward to this...
Awesome i really enjoy it
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 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.
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...
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
Superb vedio naveen ,
Simply superb !!!
Hi Naveen, thanks for AWS series. When you are planning video to execute tests in AWS from Jenkins?
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..
Thank you Sooo much Naveen
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
Hi Naveen,
Do we have any video that demonstrate how we can store ExtenetReport into S3 bucket?
Thanks
Eagerly waiting!
Have you installed maven in your instance?? How maven commands worked there??
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
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
Thanks a lot for this video
Thank you Naveen
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?
Hello sir, Can I run my karate test cases as well using docker container ?
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.
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)
@naveen : any reason for getting connection timed out error ? while i run scripts in AWS ?
Hi Friend. Does it only work with selenium grid or with Selenium webdriver too? thanks.
Can please let us know about triggering same project from Jenkins..
@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, public ip with port number is not accessible for me after docker-compose up command. What can be an issue?
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
Countdown has begun.... 10,9,8,7,6,5....
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
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
Instead of running on terminal can we run through Eclipse? it will run test in the instances right?
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.
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?
It's hard to search your video about Run Selenium Test on AWS EC2 Machine using Docker + Jenkins, Could you share link?
Can you share the link to run test from Jenkins instead of local machine.
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
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.
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.
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?
Can anyone tell me about roles and responsibilities of 'cloud test specialist'
Is it similar to automation testing
can you please show the same using jenkins?
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..
can you please continue the sessions on AWS..About Lambda..
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.
Naveen, can we use putty instead of cmd prompt??
Yes u can
What if we need to run in multiple platform
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": ""
}
}
Can we have the recording of this session .
its on youtube now.
Hi, can you please share the github source code link? Many thanks :)
After 2-3 days it shows website refused to confused
Can you share me github source code link
simple things u've made sooo confusing ...
What’s the confusion here?