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

Поделиться
HTML-код
  • Опубликовано: 8 сен 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 :)

  • @sumittaver59
    @sumittaver59 Год назад +1

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

  • @SharayuRocks
    @SharayuRocks 4 года назад +6

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

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

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

  • @devsoftwareengg
    @devsoftwareengg 4 года назад +8

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

    • @souvikdasgupta8119
      @souvikdasgupta8119 3 года назад

      is the video released??? Do you have the link for it?

  • @bharatbayyavarapu244
    @bharatbayyavarapu244 4 года назад +1

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

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

  • @trails_2
    @trails_2 4 года назад +5

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

  • @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?

  • @mizanur968
    @mizanur968 3 года назад +1

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

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

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

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

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

  • @santooveluri7128
    @santooveluri7128 4 года назад +1

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

  • @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?

  • @santhoshveluri4200
    @santhoshveluri4200 4 года назад +1

    Thank you Sooo much Naveen

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

  • @ShubhamPatil-nq6jh
    @ShubhamPatil-nq6jh 2 года назад +1

    Awesome i really enjoy it

  • @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

  • @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?

  • @bharathkumar6008
    @bharathkumar6008 2 года назад

    Simply superb !!!

  • @prabodhghosh662
    @prabodhghosh662 4 года назад +1

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

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

  • @mallikarjun15
    @mallikarjun15 2 года назад

    Superb vedio naveen ,

  • @ranjeethnadella643
    @ranjeethnadella643 4 года назад +1

    Eagerly waiting!

  • @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

  • @anushavangala3975
    @anushavangala3975 4 года назад +1

    Thank you Naveen

  • @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

  • @anandkerur2930
    @anandkerur2930 4 года назад +1

    Thanks a lot for this video

  • @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

  • @pranavmarathe4425
    @pranavmarathe4425 2 года назад

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

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

  • @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)

  • @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??

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

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

  • @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 RUclips 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..

  • @ashuiet
    @ashuiet 4 года назад +2

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

  • @heisarcharan2038
    @heisarcharan2038 4 года назад

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

  • @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

  • @kanakrajbharti5078
    @kanakrajbharti5078 3 года назад

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

  • @zeck9265
    @zeck9265 2 года назад

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

  • @julianpatino6622
    @julianpatino6622 3 года назад

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

  • @parthasen507
    @parthasen507 2 года назад

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

  • @shahrukhshaikh9313
    @shahrukhshaikh9313 2 года назад

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

  • @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?

  • @unlimited_automation
    @unlimited_automation Год назад

    can you please show the same using jenkins?

  • @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?

  • @somanianands
    @somanianands Год назад

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

  • @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

  • @neelakantaraj2209
    @neelakantaraj2209 2 года назад

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

  • @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?

  • @heisarcharan2038
    @heisarcharan2038 4 года назад

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

  • @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

  • @rmt0858
    @rmt0858 Год назад

    What if we need to run in multiple platform

  • @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"

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

  • @charubrotaroy5140
    @charubrotaroy5140 3 года назад

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

  • @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?

  • @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

  • @mansikulkarni1
    @mansikulkarni1 3 года назад

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

  • @thavamanimurugan8442
    @thavamanimurugan8442 4 года назад +1

    Can we have the recording of this session .

  • @pavankumar5419
    @pavankumar5419 4 года назад

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

  • @somanianands
    @somanianands Год назад

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

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

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

  • @anmolmishra7709
    @anmolmishra7709 Год назад

    After 2-3 days it shows website refused to confused

  • @karthikchidambaram86
    @karthikchidambaram86 3 года назад

    Can you share me github source code link

  • @francyrus2546
    @francyrus2546 3 года назад

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

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