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

Sdílet
Vložit
  • čas přidán 11. 09. 2024

Komentáře • 101

  • @rm9125
    @rm9125 Před 4 lety +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 Před 3 lety +4

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

  • @sumittaver59
    @sumittaver59 Před rokem +1

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

  • @SharayuRocks
    @SharayuRocks Před 4 lety +6

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

  • @softwaretestingworld76
    @softwaretestingworld76 Před 3 lety +2

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

  • @sk54732
    @sk54732 Před 2 lety

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

  • @bharatbayyavarapu244
    @bharatbayyavarapu244 Před 4 lety +1

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

  • @arkaimps
    @arkaimps Před 4 lety +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?

  • @swapnildeshmukh6405
    @swapnildeshmukh6405 Před 4 lety +1

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

  • @devsoftwareengg
    @devsoftwareengg Před 4 lety +8

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

  • @abdelaziznassif3845
    @abdelaziznassif3845 Před 4 lety +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 Před 4 lety +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.

  • @girishnair546
    @girishnair546 Před 4 lety +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!!

  • @trails_2
    @trails_2 Před 4 lety +5

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

  • @lerryalexanderortizsalazar6069

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

  • @mizanur968
    @mizanur968 Před 3 lety +1

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

  • @suhasiniiraghuwansh
    @suhasiniiraghuwansh Před 3 lety +1

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

  • @aathiabithap8184
    @aathiabithap8184 Před 2 lety

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

  • @saveme2000
    @saveme2000 Před 3 lety +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

  • @ranjeethnadella643
    @ranjeethnadella643 Před 4 lety +1

    Eagerly waiting!

  • @ShubhamPatil-nq6jh
    @ShubhamPatil-nq6jh Před 2 lety +1

    Awesome i really enjoy it

  • @prabodhghosh662
    @prabodhghosh662 Před 4 lety +1

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

  • @santhoshveluri4200
    @santhoshveluri4200 Před 4 lety +1

    Thank you Sooo much Naveen

  • @mohammedzakaria8783
    @mohammedzakaria8783 Před 3 lety +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.

  • @jeyhunaliyev1765
    @jeyhunaliyev1765 Před 4 lety +1

    Great 👍 Thank You Naveen for this amazing concept

    • @naveenautomationlabs
      @naveenautomationlabs  Před 4 lety +1

      Now you try this in our March pom framework!

    • @jeyhunaliyev1765
      @jeyhunaliyev1765 Před 4 lety

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

    • @mushfiquazaman9597
      @mushfiquazaman9597 Před 3 lety

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

  • @santooveluri7128
    @santooveluri7128 Před 4 lety +1

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

  • @Imran-M-
    @Imran-M- Před 4 lety +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

  • @bharathkumar6008
    @bharathkumar6008 Před 3 lety

    Simply superb !!!

  • @girishnair546
    @girishnair546 Před 4 lety +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..

  • @dheerajsingh6568
    @dheerajsingh6568 Před 7 měsíci

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

  • @premkumarbhaskar1111
    @premkumarbhaskar1111 Před 4 lety +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

  • @varunjain4102
    @varunjain4102 Před 3 lety +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

  • @anushavangala3975
    @anushavangala3975 Před 4 lety +1

    Thank you Naveen

  • @mallikarjun15
    @mallikarjun15 Před 2 lety

    Superb vedio naveen ,

  • @anandkerur2930
    @anandkerur2930 Před 4 lety +1

    Thanks a lot for this video

  • @anil5717
    @anil5717 Před 3 lety

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

  • @vijaykemi
    @vijaykemi Před 11 měsíci

    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

  • @ashuiet
    @ashuiet Před 4 lety +2

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

  • @PoojaNavdeti
    @PoojaNavdeti Před 4 lety

    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.

  • @pranavmarathe4425
    @pranavmarathe4425 Před 2 lety

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

  • @user-un3uc4jh8q
    @user-un3uc4jh8q Před rokem

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

  • @heisarcharan2038
    @heisarcharan2038 Před 4 lety +1

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

    • @sandeepnegi4939
      @sandeepnegi4939 Před 4 lety

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

  • @niranjanpandav8178
    @niranjanpandav8178 Před 2 lety

    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 Před 3 lety

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

  • @zeck9265
    @zeck9265 Před 2 lety

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

  • @kumyanski
    @kumyanski Před 2 lety

    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

  • @somanianands
    @somanianands Před rokem

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

  • @julianpatino6622
    @julianpatino6622 Před 3 lety

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

  • @meghnashekhar262
    @meghnashekhar262 Před 3 lety

    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?

  • @swathims9495
    @swathims9495 Před 3 lety

    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?

  • @siminazhar4178
    @siminazhar4178 Před 2 lety

    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

  • @parthasen507
    @parthasen507 Před 2 lety

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

  • @pramodkajla
    @pramodkajla Před 3 lety

    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)

  • @sandeepnegi4939
    @sandeepnegi4939 Před 4 lety

    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

  • @neelakantaraj2209
    @neelakantaraj2209 Před 2 lety

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

  • @kanakrajbharti5078
    @kanakrajbharti5078 Před 3 lety

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

  • @miliraj11
    @miliraj11 Před 3 lety

    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.

  • @supriyobiswas4414
    @supriyobiswas4414 Před 4 lety

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

    • @ravikumar3452
      @ravikumar3452 Před 3 lety

      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 Před 3 lety

    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"

  • @anishjain3663
    @anishjain3663 Před 3 lety

    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

  • @charubrotaroy5140
    @charubrotaroy5140 Před 3 lety

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

  • @timtom3403
    @timtom3403 Před 4 lety

    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

  • @unlimited_automation
    @unlimited_automation Před rokem

    can you please show the same using jenkins?

  • @somanianands
    @somanianands Před rokem

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

  • @rmt0858
    @rmt0858 Před rokem

    What if we need to run in multiple platform

  • @shahrukhshaikh9313
    @shahrukhshaikh9313 Před 2 lety

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

  • @heisarcharan2038
    @heisarcharan2038 Před 4 lety

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

  • @manjunathayr9348
    @manjunathayr9348 Před 3 lety

    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?

  • @mansikulkarni1
    @mansikulkarni1 Před 3 lety

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

  • @heisarcharan2038
    @heisarcharan2038 Před 4 lety

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

  • @pavankumar5419
    @pavankumar5419 Před 4 lety

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

  • @thavamanimurugan8442
    @thavamanimurugan8442 Před 4 lety +1

    Can we have the recording of this session .

  • @anmolmishra7709
    @anmolmishra7709 Před 2 lety

    After 2-3 days it shows website refused to confused

  • @thereseambagan3199
    @thereseambagan3199 Před 4 lety +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 Před 4 lety

      same problem. did you decide it?

    • @saptogether
      @saptogether Před 4 lety

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

  • @adnana2351
    @adnana2351 Před 4 lety

    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 Před 4 lety

      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.

  • @francyrus2546
    @francyrus2546 Před 3 lety

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

  • @karthikchidambaram86
    @karthikchidambaram86 Před 3 lety

    Can you share me github source code link

  • @saptogether
    @saptogether Před 4 lety

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

    • @hbanwar
      @hbanwar Před 4 lety +1

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

    • @sandeepnegi4939
      @sandeepnegi4939 Před 4 lety

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

    • @shettyraj225
      @shettyraj225 Před 3 lety

      @@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 Před 2 lety

    simple things u've made sooo confusing ...