#4 - Run Selenium Test on AWS EC2 Machine using Docker

Поділитися
Вставка
  • Опубліковано 6 вер 2024

КОМЕНТАРІ • 101

  • @rm9125
    @rm9125 4 роки тому +6

    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.

  • @amuthansakthivel3648
    @amuthansakthivel3648 3 роки тому +4

    This is one of the best course for testers to learn about AWS :)

  • @SharayuRocks
    @SharayuRocks 4 роки тому +6

    Wow.. you make everything look so simple!
    Really enjoyed your AWS complete series. Thanks a ton :)

  • @trails_2
    @trails_2 4 роки тому +5

    Hi Naveen, nice video 👍. Can you please make videos on docker selenium grid with kubernetes cluster.

  • @sumittaver59
    @sumittaver59 Рік тому +1

    Thanks Naveen, This is One of the best chanel for Automation related tutorials.

  • @devsoftwareengg
    @devsoftwareengg 4 роки тому +8

    really nice video, waiting for video "launch tests on aws instance via jenkins".

  • @softwaretestingworld76
    @softwaretestingworld76 3 роки тому +2

    This is what i am was looking for. Really great video to learn the Architecture and configuration of selenium with AWS cloud. fantastic.

  • @arkaimps
    @arkaimps 4 роки тому +3

    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?

  • @bharatbayyavarapu244
    @bharatbayyavarapu244 4 роки тому +1

    Excellent Naveen. Thanks a lot for the tutorials..You are helping many people..

  • @sk54732
    @sk54732 2 роки тому

    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!!

  • @swapnildeshmukh6405
    @swapnildeshmukh6405 4 роки тому +1

    Thanks Naveen ,Your all the video series is very helpful. i learn lots of new things.

  • @abdelaziznassif3845
    @abdelaziznassif3845 4 роки тому +1

    Thanx Naveen for your videos your are helping a a lot of people. waiting for the new video about integration with Jenkins.

  • @sultan07
    @sultan07 4 роки тому +3

    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.

  • @suhasiniiraghuwansh
    @suhasiniiraghuwansh 3 роки тому +1

    Thank you Naveen Sir for the helpful video, pls upload running selenium test/api test using Jenkins on Aws video. Thank you.

  • @mohammedzakaria8783
    @mohammedzakaria8783 3 роки тому +1

    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.

  • @mizanur968
    @mizanur968 3 роки тому +1

    amazing tutorial and I think the easiest way you explained. Thanks a lot. Please upload the Jenkins part.

  • @santooveluri7128
    @santooveluri7128 4 роки тому +1

    Hi Naveen.. Thanks for the video..am getting nullpointer exception

  • @dheerajsingh6568
    @dheerajsingh6568 7 місяців тому

    Perfect. But Can you please share the playlist of AWS for QA guys ? And do we have any link to use Docker in Window?

  • @varunjain4102
    @varunjain4102 3 роки тому +1

    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

  • @prabodhghosh662
    @prabodhghosh662 4 роки тому +1

    Hi Naveen, thanks for AWS series. When you are planning video to execute tests in AWS from Jenkins?

  • @vijaykemi
    @vijaykemi 10 місяців тому

    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

  • @mallikarjun15
    @mallikarjun15 2 роки тому

    Superb vedio naveen ,

  • @Imran-M-
    @Imran-M- 4 роки тому +1

    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

  • @pranavmarathe4425
    @pranavmarathe4425 2 роки тому

    naveen sir...plz make a video for automation testing of AWS glue scripts using selenium

  • @saveme2000
    @saveme2000 3 роки тому +2

    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

  • @premkumarbhaskar1111
    @premkumarbhaskar1111 4 роки тому +1

    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

  • @girishnair546
    @girishnair546 4 роки тому +1

    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!!

  • @aathiabithap8184
    @aathiabithap8184 2 роки тому

    Thank you Naveen. Really enjoyed and loved your videos. Thank you.

  • @lerryalexanderortizsalazar6069
    @lerryalexanderortizsalazar6069 3 роки тому +1

    guaaoo Amazing! Thank you so much Naveen! Great content!!

  • @ShubhamPatil-nq6jh
    @ShubhamPatil-nq6jh 2 роки тому +1

    Awesome i really enjoy it

  • @santhoshveluri4200
    @santhoshveluri4200 4 роки тому +1

    Thank you Sooo much Naveen

  • @girishnair546
    @girishnair546 4 роки тому +1

    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..

  • @ranjeethnadella643
    @ranjeethnadella643 4 роки тому +1

    Eagerly waiting!

  • @pramodkajla
    @pramodkajla 3 роки тому

    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)

  • @heisarcharan2038
    @heisarcharan2038 4 роки тому +1

    @Naveen-Am not able to launch the grid console.
    can you please help me.

    • @sandeepnegi4939
      @sandeepnegi4939 4 роки тому

      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)"

  • @jeyhunaliyev1765
    @jeyhunaliyev1765 4 роки тому +1

    Great 👍 Thank You Naveen for this amazing concept

    • @naveenautomationlabs
      @naveenautomationlabs  4 роки тому +1

      Now you try this in our March pom framework!

    • @jeyhunaliyev1765
      @jeyhunaliyev1765 4 роки тому

      yes definitely
      I’m currently working on it
      Thank you for your time and effort
      its awesome

    • @mushfiquazaman9597
      @mushfiquazaman9597 3 роки тому

      @@naveenautomationlabs Hi Naveen, where are the following video, after this? Like, you are talking about running Tests from Jenkins?

  • @bharathkumar6008
    @bharathkumar6008 2 роки тому

    Simply superb !!!

  • @niranjanpandav8178
    @niranjanpandav8178 2 роки тому

    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

  • @nityaranjan6714
    @nityaranjan6714 3 роки тому

    Have you installed maven in your instance?? How maven commands worked there??

  • @kumyanski
    @kumyanski 2 роки тому

    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

  • @unlimited_automation
    @unlimited_automation Рік тому

    can you please show the same using jenkins?

  • @user-un3uc4jh8q
    @user-un3uc4jh8q Рік тому

    Hi, public ip with port number is not accessible for me after docker-compose up command. What can be an issue?

  • @parthasen507
    @parthasen507 2 роки тому

    Can you share the link to run test from Jenkins instead of local machine.

  • @somanianands
    @somanianands Рік тому

    It's hard to search your video about Run Selenium Test on AWS EC2 Machine using Docker + Jenkins, Could you share link?

  • @miliraj11
    @miliraj11 3 роки тому

    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.

  • @anushavangala3975
    @anushavangala3975 4 роки тому +1

    Thank you Naveen

  • @anandkerur2930
    @anandkerur2930 4 роки тому +1

    Thanks a lot for this video

  • @anil5717
    @anil5717 3 роки тому

    Hey Naveen, I have seen you are creating very useful videos and thats great!! But you are not focusing on doubt clearance.

  • @swathims9495
    @swathims9495 3 роки тому

    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?

  • @zeck9265
    @zeck9265 2 роки тому

    Instead of running on terminal can we run through Eclipse? it will run test in the instances right?

  • @heisarcharan2038
    @heisarcharan2038 4 роки тому

    Can please let us know about triggering same project from Jenkins..

  • @shahrukhshaikh9313
    @shahrukhshaikh9313 2 роки тому

    Can anyone tell me about roles and responsibilities of 'cloud test specialist'
    Is it similar to automation testing

  • @kanakrajbharti5078
    @kanakrajbharti5078 3 роки тому

    Hello sir, Can I run my karate test cases as well using docker container ?

  • @ashuiet
    @ashuiet 4 роки тому +2

    Countdown has begun.... 10,9,8,7,6,5....

  • @sandeepnegi4939
    @sandeepnegi4939 4 роки тому

    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

  • @meghnashekhar262
    @meghnashekhar262 3 роки тому

    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?

  • @anishjain3663
    @anishjain3663 3 роки тому

    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

  • @julianpatino6622
    @julianpatino6622 3 роки тому

    Hi Friend. Does it only work with selenium grid or with Selenium webdriver too? thanks.

  • @supriyobiswas4414
    @supriyobiswas4414 4 роки тому

    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 UA-cam and other sites, but didn't get any help.

    • @ravikumar3452
      @ravikumar3452 3 роки тому

      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..

  • @shettyraj225
    @shettyraj225 3 роки тому

    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"

  • @neelakantaraj2209
    @neelakantaraj2209 2 роки тому

    @naveen : any reason for getting connection timed out error ? while i run scripts in AWS ?

  • @rmt0858
    @rmt0858 Рік тому

    What if we need to run in multiple platform

  • @siminazhar4178
    @siminazhar4178 2 роки тому

    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

  • @PoojaNavdeti
    @PoojaNavdeti 4 роки тому

    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.

  • @manjunathayr9348
    @manjunathayr9348 3 роки тому

    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?

  • @heisarcharan2038
    @heisarcharan2038 4 роки тому

    can you please continue the sessions on AWS..About Lambda..

  • @charubrotaroy5140
    @charubrotaroy5140 3 роки тому

    Where do you check in code ? In repo where I can configure it in aws

  • @timtom3403
    @timtom3403 4 роки тому

    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

  • @thavamanimurugan8442
    @thavamanimurugan8442 4 роки тому +1

    Can we have the recording of this session .

  • @somanianands
    @somanianands Рік тому

    Is any updates video coming on this topic? is this still valid?

  • @pavankumar5419
    @pavankumar5419 4 роки тому

    Naveen, can we use putty instead of cmd prompt??

  • @adnana2351
    @adnana2351 4 роки тому

    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?

    • @sheenashoby5236
      @sheenashoby5236 4 роки тому

      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.

  • @thereseambagan3199
    @thereseambagan3199 4 роки тому +1

    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": ""
    }
    }

    • @saptogether
      @saptogether 4 роки тому

      same problem. did you decide it?

    • @saptogether
      @saptogether 4 роки тому

      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)"

  • @mansikulkarni1
    @mansikulkarni1 3 роки тому

    Hi Naveen, Can we execute webdriverIO test script on AWS EC2 instance? I wanted to execute on emulator on EC2.

  • @anmolmishra7709
    @anmolmishra7709 Рік тому

    After 2-3 days it shows website refused to confused

  • @francyrus2546
    @francyrus2546 3 роки тому

    Hi, can you please share the github source code link? Many thanks :)

  • @karthikchidambaram86
    @karthikchidambaram86 3 роки тому

    Can you share me github source code link

  • @saptogether
    @saptogether 4 роки тому

    during move to webpage IP:4444
    {
    "value": {
    "error": "unknown command",
    "message": "Unable to find handler for (GET) \u002f",
    "stacktrace": ""
    }
    }

    • @hbanwar
      @hbanwar 4 роки тому +1

      Hi Yury.. did you find the solution. i am also facing the same issue?

    • @sandeepnegi4939
      @sandeepnegi4939 4 роки тому

      @@hbanwar github.com/sandeepnegi1996/til_sandy
      checkout my github repository and copy the docker file from there this is a working solution

    • @shettyraj225
      @shettyraj225 3 роки тому

      @@sandeepnegi4939 Hi Sandeep..even though we followed same steps and seeing This site can’t be reached issue. can suggest me any firewall issue?

  • @siddhamishra3590
    @siddhamishra3590 2 роки тому

    simple things u've made sooo confusing ...