How to Handle BootStrap Login or Popup window in Selenium Webdriver

Поділитися
Вставка
  • Опубліковано 5 січ 2025

КОМЕНТАРІ • 125

  • @pranavkarode7636
    @pranavkarode7636 7 років тому +1

    Hello Mukesh,
    I have gone through all the videos on Selenium webdriver, I must say, The range of topics you have covered is quite awesome! kudos! to you. These videos have boosted confidence in me about automation!. Thanks a lot. Keep up the good Work!!

    • @Mukeshotwani
      @Mukeshotwani  7 років тому

      Hi Pranav,
      Thanks a ton. Keep watching.

  • @anandhikeetukeerthi520
    @anandhikeetukeerthi520 8 років тому +2

    Hi Mukesh, Thanks for your videos. Though I have some knowledge in Selenium Webdriver I was not having confident to do automation. On seeing your videos its boosting my confident. Thanks a lot for your knowledge sharing.

    • @Mukeshotwani
      @Mukeshotwani  8 років тому

      anandhikeetu keerthi Hi Keerthi glad to hear that.. Keep visiting..

    • @anandhikeetukeerthi520
      @anandhikeetukeerthi520 8 років тому

      Dear Mukesh, Your Service to Testing world is awesome. Can I expect Selenium Webdriver using Ruby in your blog soon?

  • @pankajsaxena466
    @pankajsaxena466 8 років тому +2

    Hi, Mukesh ...
    Very useful for everyone and very informative .Thnx

    • @Mukeshotwani
      @Mukeshotwani  8 років тому

      Thanks Pankaj I am glad you liked it. Keep visiting.

  • @santoshmohanty8135
    @santoshmohanty8135 8 років тому +1

    Thanks Mukesh.......Its very helpful to selenium people

  • @jameelrahman4725
    @jameelrahman4725 8 років тому +1

    thanks mukesh bhai.. :) your videos really helped me to become a PRO from a beginner.. really appreciate your work..

  • @neetugupta8019
    @neetugupta8019 8 років тому +2

    Hi Mukesh Sir, First of all i wanna say u thank u so much for ur all videos....thats all awesome and helped me a lot....ur the best ....i always watch ur automation video for my all doubt , all all problems just solved ...thank u thank u so much.....i m v happy and loved ur all videos a lot....all are v v helpful for us...:):):):):)

    • @Mukeshotwani
      @Mukeshotwani  7 років тому

      Hi Neetu I am very glad to see this comment. Thanks a ton. Keep learning.

  • @gopisrinivasan9752
    @gopisrinivasan9752 8 років тому

    Thanks Mukesh! I am waiting for your video more than one month... Happy to see you back! Once again thanks alot

    • @Mukeshotwani
      @Mukeshotwani  8 років тому

      +Gopi Srinivasan thanks Gopi yes so many videos on pipeline will upload soon..
      I was on leave so uploaded very late..

  • @VivekTiwari-xq9pk
    @VivekTiwari-xq9pk 8 років тому

    great work mukesh.....watching your video from the last 2 month and learned so many things.......:)

    • @Mukeshotwani
      @Mukeshotwani  8 років тому

      +Vivek Tiwari thanks Vivek bhai keep visiting and keep learning.. Learn cucumber and appium as well because they are in demand

    • @VivekTiwari-xq9pk
      @VivekTiwari-xq9pk 8 років тому

      yes mukesh buddy ... will learn appium as well one by one....your videos are easy to understand.....:)

  • @sangeetakumari-mp5sk
    @sangeetakumari-mp5sk 8 років тому +1

    hi mukesh
    i am quit inspired your videos because it provide me enough knowledge.

    • @Mukeshotwani
      @Mukeshotwani  8 років тому

      +sangeeta kumari Thank you Sangeetha

  • @prashantmanyar2157
    @prashantmanyar2157 8 років тому +1

    It's really nice video and easy to understand

  • @dhavalshah3102
    @dhavalshah3102 8 років тому

    Nice Video Mukesh. Really helpful.

  • @anujjain693
    @anujjain693 8 років тому

    Nice....Its really very helpful for my application

    • @Mukeshotwani
      @Mukeshotwani  8 років тому

      Thanks Anuj and I am glad you liked it.

  • @suryatj43
    @suryatj43 8 років тому +1

    Hi Mukesh..
    i have watched your selenium tutorial videos and they are really good and easily to understand. could you please help me in going through the videos in order as i didn't see any numbering for tutorials.

  • @abhishekgummalla6088
    @abhishekgummalla6088 7 років тому

    Hi Mukesh,
    First of all I'd like to thank u for the kind of effort you have put to educate people,it's really commendable.
    Secondly I have a scenario wherein a timeout pop up window appears at a random instance of time stating that you have reached maximum duration with a few clickable buttons asking the user if he wishes to continue or logout. As this is a random event and it's exact encounter time can't be predicted, I am unable to automate the scenario. What I wish to check is if the user is able to click on continue and move ahead. I can obviously wait for the popup to appear and then handle it but it would be great if there is provision to handle this while the user is inputting some content like filling a form on the webpage and the popup suddenly appears(Like while a Test case is running and the pop up appeared then the already running script goes on hold and switches frame to handle the pop up post which the original TC get's resumed.).Please let me know if there is any way to handle this.

  • @kumarsk4363
    @kumarsk4363 8 років тому +1

    Hi Mukesh thank you so much for the videos you are posted... could you please post a video on "how to find a element/xpath in image mapping with coordinates" ex.

  • @suryakantchavan7061
    @suryakantchavan7061 8 років тому

    Good one Mukesh !!

  • @shreyanshjain2347
    @shreyanshjain2347 8 років тому

    Hi Mukesh, Thanks for the video. one questions u have not set any System property then how google chrome is launching.?

    • @Mukeshotwani
      @Mukeshotwani  8 років тому

      learn-automation.com/chrome-browser-on-mac-using-selenium/ Follow this guide to start chrome in mAC

  • @saurabhgupta5686
    @saurabhgupta5686 7 років тому

    Hi Mukesh,
    I have a doubt. i have worked on some of the scenario where we click on some button , a new window open on same page and then to handle that window , I used the concept of window handling (switch to child window , perform operations on it . then moved back to parent window. ). But here in this video why we were are not switching to child window ?

  • @ankitshrivastava9061
    @ankitshrivastava9061 8 років тому +1

    hi
    hope u r doing good i am facing one problem can u give solution
    problem "This element neither has attached source nor attached Javadoc and hence no Javadoc could be found"
    when i make object of driver class and try to use any method like driver.get so eclipse is showing error.

    • @Mukeshotwani
      @Mukeshotwani  8 років тому

      ANKIT SHRIVASTAVA do you want to attach src code?

  • @13ahireshruti
    @13ahireshruti 2 роки тому

    Hi Mukesh,
    Could you please tell how to retrieved the text from bootstrap Alert that disappears after 3 to 5 seconds on click of any button?

  • @PoonamSingh-tf5db
    @PoonamSingh-tf5db 3 роки тому

    Hi Mukesh ,
    Could you please help me to resolve the below issue.
    I have a homepage . On home page perform some action and click on save .this is opening a Modal dialog box with huge contents and the continue button on modal dialog is visible only when zooming in browser window with 65 % else it's not visible. I need to click on continue button to proceed further.

  • @virendrapatil9006
    @virendrapatil9006 8 років тому +1

    Hi Mukesh,
    I have just started learning Java and Selenium. However, I was not confident about it....I was afraid of JAVA. One of my friend suggested your videos and your site. I found it to be very helpful....in fact the best Java and selenium material I have found on the internet.
    I have just one doubt regarding the videos. I am following the playlist that has 78 videos...is this playlist covering all the selenium and java concepts(also the sequence).
    And thanks again for the AWESOME content!!!

    • @Mukeshotwani
      @Mukeshotwani  7 років тому

      Hi Virendra I am glad you liked all my video. Keep visiting.

  • @KishanKumar-kn7ri
    @KishanKumar-kn7ri 5 років тому +1

    Hello sir
    while using redbus app i am getting these two properties,so how to write the script using these 2 properties it doesnot have id.

    • @Mukeshotwani
      @Mukeshotwani  5 років тому

      Contains src and contains class as frame

  • @actekraheem
    @actekraheem 8 років тому +1

    Hi Mukesh. thanks first!! how can we handle the unexpected advertisements? we even encountered on this video tutorial(say at duration 9.25).

    • @Mukeshotwani
      @Mukeshotwani  8 років тому

      +Abdul Raheem Abdul Ajeem Hi Abdul I will make video on this soon.

  • @sundayjeremiah4711
    @sundayjeremiah4711 7 років тому +1

    I need your help Mukesh. I am working with IE an I have this page that comes up like a pop up or new window, I can maximize it but can't do any operation on that webpage in selenium webdriver. It keep saying cannot click on element . What can I do about this please

    • @Mukeshotwani
      @Mukeshotwani  7 років тому

      Hi Sunday, You need to switch to the new window and then do the operation.
      By default, Selenium will keep the focus on the current window only.
      learn-automation.com/handle-multiple-windows-in-selenium-webdriver/

    • @sundayjeremiah4711
      @sundayjeremiah4711 7 років тому

      Mukesh otwani , I am trying to switch but I am only having one window available. The page is not using Iframe nor frame. The closest I can see is Form. On the page I can inspect element on the field but can't do any operation on that page. Saying element not visible exception.
      Thanks for your help

    • @rajuspi
      @rajuspi 6 років тому

      Hi Mukesh & Sunday, even am facing the same problem at my end, I have one page when I click on a link button I get a knockout js pop-up, selenium unable to enter any text or click on buttons on pop-up modal. Please let me know if you have any solution for this. Thanks in advance

    • @rajuspi
      @rajuspi 6 років тому

      My code works fine on chrome and Mozilla but it fails to identify on IE :(

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

    Sir when we hit the url of make my trip one modal show on screen and having problem to handle it pls help

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

      Hi Ankur, you can use findELements method and check list size. If list size is > 0 then click on cancel popup else continue.

  • @dharmenderpatel9769
    @dharmenderpatel9769 8 років тому

    I like your video they are short and very easy to understand. another good video. did you work on ZAP security testing with selenium?

    • @Mukeshotwani
      @Mukeshotwani  8 років тому

      +dharmender patel zap security no it's new word for me

    • @dharmenderpatel9769
      @dharmenderpatel9769 8 років тому +1

      Mukesh otwani I am new to selenium and was finding difficult to integrate ZAP with selenium,so thought would get some help from you. anyway thanks, will keep trying until it works☺

    • @Mukeshotwani
      @Mukeshotwani  8 років тому +1

      +dharmender patel I will check from my end and will let u know..

    • @dharmenderpatel9769
      @dharmenderpatel9769 8 років тому

      Mukesh otwani Thank you☺

  • @swarytamberker
    @swarytamberker 5 років тому +1

    Hi Mukesh,
    My scenario is, the bootstrap popup is present in a frame however i don't want to perform any action on the popup rather i want to continue by closing the popup. How to handle this?

    • @Mukeshotwani
      @Mukeshotwani  5 років тому +1

      Hi Swaryt to close popup either close that using close button or press keyboard event using Selenium.

    • @shaiksharif2442
      @shaiksharif2442 5 років тому

      @@Mukeshotwani can you please show that code.since i have trying the same for flipkart and i am not able to close that popup.

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

      @@shaiksharif2442I have same issue even though i can’t sendkey to user name and password and it have no frame. If any one can done then please share the code.

  • @dharmenderpatel9769
    @dharmenderpatel9769 8 років тому

    Thanks for new video...!!

    • @Mukeshotwani
      @Mukeshotwani  8 років тому

      +dharmender patel welcome dharmender please share the feedback after the video

  • @shreyanshjain2347
    @shreyanshjain2347 8 років тому +1

    Hi Mukesh,
    Please post videos on how to run only skipped test cases in Selenium web driver?
    Thanks,
    Shreyansh

  • @siddharthnikam3122
    @siddharthnikam3122 8 років тому +1

    Hello Mukesh,
    Can you please help me out with Paytm bootstrap login?
    i checked that the username of paytm is inside , but there is no locator as id, the only locator present at the pop up is "src", then how to switch to the bootstrap login for paytm?

    • @Mukeshotwani
      @Mukeshotwani  8 років тому

      Hi Sid, I have explained the solution in below video ua-cam.com/video/o_S5Bhh_aSc/v-deo.html

  • @vishnupandey3585
    @vishnupandey3585 7 років тому +1

    Hi Mukesh , One more solution which you can suggest from your end .
    When we navigate to , there will default drop down of My account at run time (showing singup & login options). Hence , we cant access any other Webelement . Please post a video or solution for such scenarios . The run time drop down is neither alert nor window or frame.

    • @Mukeshotwani
      @Mukeshotwani  7 років тому

      Nice Idea Vishnu.. Sure I will make video on this...Thank

  • @ankitanamdeo232
    @ankitanamdeo232 8 років тому +1

    waiting for ur new uploads Mukesh......could u do a video in selenium interview questions

    • @Mukeshotwani
      @Mukeshotwani  7 років тому

      Hi Ankita, here we go ua-cam.com/video/_D9qkEUKQdE/v-deo.html

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

    Hi
    What if I want to select second signup how to proceed with that

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

      Hi Gowtham what issues you are getting?

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

      @@MukeshotwaniHi mukesh, I have three popups with same class and I have to go the second one and check popup elements

  • @prajaktahinge8474
    @prajaktahinge8474 7 років тому

    hello sir... i am not anle to close pop up window using htmlunitdriver in selenium please help ,e

  • @deepakdeepak-ck6fo
    @deepakdeepak-ck6fo 7 років тому +1

    sir am not able to interact with calendar in red bus website, am not able to click on number on calendar.

    • @Mukeshotwani
      @Mukeshotwani  7 років тому

      Hi Deepak,
      FOllow below guide learn-automation.com/handle-calender-in-selenium-webdriver/

  • @manohar4157
    @manohar4157 8 років тому +1

    Helpful.....! :)

  • @sumiranmajgaonkar841
    @sumiranmajgaonkar841 5 років тому +1

    then for flipkart how to handle that modal window as its not a frame...please help me out !!

    • @Mukeshotwani
      @Mukeshotwani  5 років тому

      Hi Sumiran, you can directly perform actions on that.

  • @sangeetham971
    @sangeetham971 6 років тому

    Hi Mukesh,i am facing problem while closing pop up window.There is no close button or close icon to close ,then how can i close .

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

    Thanks a Lot!!!! thanks thanks thanks...You Rules!!

  • @kumarnamit2446
    @kumarnamit2446 7 років тому

    Hi Mukesh,
    How to handle unwanted pop-up on page-load in selenium webdriver in java, pop-up have no HTML page and need to read info available in pop-up window.

    • @Mukeshotwani
      @Mukeshotwani  7 років тому

      Hi Namit, if it is chrome then we have so many options to handle them.
      Below post will guide you
      learn-automation.com/disable-developer-mode-extension-in-chrome-selenium/

  • @pavankumar-os3op
    @pavankumar-os3op 8 років тому +1

    can you make vidoes on jira ??

  • @anoognyareddy4094
    @anoognyareddy4094 7 років тому

    Hi Mukesh,I am facing issue with sendkeys() Could you please help?

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

    How to Handle Permission Pop-ups which is Browser Notification. It says site wants to send notification.

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

      Yes Anjali just add below code for Chrome
      ChromeOptions options = new ChromeOptions();
      options.addArguments("--disable-notifications");
      WebDriver driver=new ChromeDriver(options);

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

      Anjali, I have detailed video on this ua-cam.com/video/Z3u6EfZKTFM/v-deo.html

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

      @@Mukeshotwani thanks a lot

  • @392565577781
    @392565577781 7 років тому

    Hello sir, I have been watching your videos.
    And I have a query regarding selenium
    The question is that HOW DO WE HANDLE POP IN EDGE BROWSER IN SELENIUM...LIKE WHEN WE CLICK ON A LINK..ON THE NEW PAGE..THE POP UP COMES..SO HOW TO HANDLE THAT...CAN YOU PLEASE TELL ME

  • @venkibabu83
    @venkibabu83 6 років тому +1

    Video quality is not good as we can't see the code that you type. Explanation is very nicely done with live example

    • @Mukeshotwani
      @Mukeshotwani  6 років тому

      Hi Venki, It seems you are watching video on 144 p. You can watch video in HD then you can see the code.

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

    Nice Video

  • @prachijain4408
    @prachijain4408 8 років тому +1

    Hi Mukesh,
    I tried the above concept but It is sending "NULL" value to the email. Could you please help me out.
    Below is the code:
    package Experi;
    import java.util.List;
    import java.util.concurrent.TimeUnit;
    import org.junit.Assert;
    import org.openqa.selenium.By;
    import org.openqa.selenium.WebDriver;
    import org.openqa.selenium.WebElement;
    import org.openqa.selenium.firefox.FirefoxDriver;
    import org.openqa.selenium.support.ui.Select;
    public class TC002 {
    public static void main(String[] args)
    {
    WebDriver driver = new FirefoxDriver();
    driver.get("www.goibibo.com/");
    driver.manage().window().maximize();
    driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);
    driver.findElement(By.xpath(".//*[@id='hdr_user_signin']/span/a[2]")).click();
    driver.findElement(By.xpath(".//*[@id='id_email']")).sendKeys("prachijainatwork@gmail.com");
    driver.close();
    }
    }

    • @Mukeshotwani
      @Mukeshotwani  7 років тому +1

      Hi Prachi, try to apply some explicit wait or thread.sleep to fix this.
      learn-automation.com/explicit-wait-in-selenium-webdriver/

  • @lokeshchitturi9678
    @lokeshchitturi9678 7 років тому

    how to handle dialog box where its elements cannot be inspected by F12

    • @Mukeshotwani
      @Mukeshotwani  7 років тому

      Hi Lokesh,
      This can be done using AutoIT
      ua-cam.com/video/51iuVOHGUHs/v-deo.html
      ua-cam.com/video/civzNtKTCD0/v-deo.html

  • @kirannikam4695
    @kirannikam4695 5 років тому +1

    I am unable to get any DOM structure... For the popup... Also it disables parent window, until i close.. Iam using IE browser,and client do not want to use other than IE

    • @Mukeshotwani
      @Mukeshotwani  5 років тому

      Hi Kiran, unfortunately we don't have good support in IE browser.

    • @kirannikam4695
      @kirannikam4695 5 років тому

      @@Mukeshotwani Thanks Mukesh... I am very glad you replied.
      Below is my scenario.
      I am working on Web Based application for insurance domain. Insurance based apps are usually popup based. In the application the pop that has been used is Modal pop up(where dom is disabled).
      So fortunately I had unique URL for each pop up , using this URL i am switching to that Particular window.. then using Robot class I am navigating to elements on that pop up.
      Well it was tedious and terrific approach but it worked.

  • @saikrishna-or1ip
    @saikrishna-or1ip 7 років тому +1

    this is not mukesh voice is so different from other viedos