Session 28 - Selenium with Java | WebDriver Methods | Browser & Navigation Commands |2024 New series

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 พ.ย. 2024

ความคิดเห็น • 90

  • @sreelathatharigonda8306
    @sreelathatharigonda8306 7 หลายเดือนก่อน +4

    I wanted to take a moment to express my gratitude for the insightful and informative TH-cam videos you've been uploading. They have been incredibly helpful in enhancing my understanding of API testing, Selenium and Java.Your dedication to sharing your knowledge is truly commendable, and it's made a positive impact on my learning journey. I greatly appreciate the time and effort you invest in creating such valuable content. Thank you once again for your invaluable contributions to the community. I look forward to continuing to learn from your expertise.

  • @numeshialmapiyasiri
    @numeshialmapiyasiri 7 หลายเดือนก่อน +7

    Thank you so much sir. I am addicted to your sessions. Your teaching style is really amazing. All doubts are cleared clearly. You always provide details for 'why'.

    • @sdetpavan
      @sdetpavan  7 หลายเดือนก่อน +1

      Welcome

    • @hemantjadhav1176
      @hemantjadhav1176 2 หลายเดือนก่อน

      Me too
      Thank You sir

  • @OverdoseGaming-18m
    @OverdoseGaming-18m 7 หลายเดือนก่อน +6

    00:08 WebDriver navigational commands
    03:56 Difference between driver.get() and driver.navigate().to() methods
    11:48 Difference between passing URL in string format and URL object format
    14:50 Difference between navigate.to method and get method in Selenium with Java
    21:13 WebDriver browser navigation commands
    24:53 Browser navigation commands
    31:40 Capturing and switching between browser windows in Selenium with Java
    35:14 Converting Set collection to List collection for easy ID extraction
    42:02 Capturing window IDs for switching between browser windows
    45:18 Identifying and switching between multiple browser windows
    51:43 Managing browser windows in Selenium with Java
    55:33 Automating closing specific browser windows based on conditions
    1:01:41 Understanding how to switch between multiple browser windows and capture the title.
    1:04:44 Assignment on WebDriver Methods and Browser & Navigation Commands

    • @adityabhagat7074
      @adityabhagat7074 หลายเดือนก่อน

      Hey how do you capture this timestamp

  • @Kavyahb-jl2gs
    @Kavyahb-jl2gs 7 หลายเดือนก่อน +1

    Sir thank you so much for your valuable teaching .......

    • @sdetpavan
      @sdetpavan  7 หลายเดือนก่อน

      It's my pleasure

    • @shubhamlavekar6886
      @shubhamlavekar6886 4 หลายเดือนก่อน

      @@sdetpavan Hi, can i get link for assignment solution please please sir how could i get that i want it eagerly want to learn and switch please reply sir

  • @Vaibhav-z6o
    @Vaibhav-z6o 4 หลายเดือนก่อน +1

    Great session, thank you sir!

    • @sdetpavan
      @sdetpavan  4 หลายเดือนก่อน

      Very welcome

  • @karthiksundaram544
    @karthiksundaram544 6 หลายเดือนก่อน +2

    You made subject interesting

  • @babuseth4308
    @babuseth4308 7 หลายเดือนก่อน +2

    Sir please make project also it will be very helpful for us

  • @Cherry_Art_World
    @Cherry_Art_World 7 หลายเดือนก่อน +2

    Very nice sir....deep concepts

    • @sdetpavan
      @sdetpavan  7 หลายเดือนก่อน

      Thanks

  • @avuladiwakarreddy3374
    @avuladiwakarreddy3374 7 หลายเดือนก่อน +1

    Hi sir, i want to learn automation testing (selenium Java), please share when you are going to start new batch

  • @montukumar5670
    @montukumar5670 7 หลายเดือนก่อน +4

    Sir , please give the solution of the assignment u gave this time mostly taking all the links including more and closing the tabs. Thanks in advance sir

    • @saurabhkendre7285
      @saurabhkendre7285 4 หลายเดือนก่อน

      can you get this assignment solution???

    • @montukumar5670
      @montukumar5670 4 หลายเดือนก่อน

      @@saurabhkendre7285 sure , I will paste the solution

    • @saurabhkendre7285
      @saurabhkendre7285 4 หลายเดือนก่อน

      ​@@montukumar5670yes please paste ASAP

    • @prathameshkanthale6796
      @prathameshkanthale6796 3 หลายเดือนก่อน

      ​@@montukumar5670please paste brother ..

    • @ajinkyakedar1636
      @ajinkyakedar1636 3 หลายเดือนก่อน

      If you got the answer for the assignment,please share it

  • @deepanjanadatta7395
    @deepanjanadatta7395 4 หลายเดือนก่อน +1

    Where can I find the solutions for this video's assignment?

  • @akvines6836
    @akvines6836 7 หลายเดือนก่อน

    Thank you for this series
    🙏🏻...
    Sir when this series complete?how many month it will continue?

  • @soumyadeepmondal7432
    @soumyadeepmondal7432 7 หลายเดือนก่อน +1

    Sir, can you please help me to get the knowledge on Data driven framework and keyword driven framework in selenium, java??

  • @learningtutorials4128
    @learningtutorials4128 7 หลายเดือนก่อน

    Hi sir,can you explain how to read yes or no flags by using excel reader in selenium cucumber java framework or testng framework

  • @rushikeshgavhane4795
    @rushikeshgavhane4795 7 หลายเดือนก่อน +1

    Sir this is out of java we actually learn.. for example :-- fundelement, elements, by.( locator).
    Is this imp to learn or we can learn after joining any job in it field also

    • @numeshialmapiyasiri
      @numeshialmapiyasiri 7 หลายเดือนก่อน

      those are from selenium. you can learn by this previous video session.

    • @dhanashreeize
      @dhanashreeize 2 หลายเดือนก่อน

      If you want to go for automation tester interview with selenium -java…knowing these things is must..without this u cannot crack the interview buddy!locators are the heart of selenium…no locators or find element method,….no webelement finding….

  • @nallasatish311
    @nallasatish311 3 หลายเดือนก่อน

    Hi sir,
    I am facing issue while handling multiple windows. In my case the second and third window having same title name. It is travelling to third window but unable to click on the elements. Here I validates that whether is it travelling to third window or not. I used (getCurrentUrl) . But it's printing second window url. Where as in automation process it is travelling to third window. Any one could you please help me out of this.

  • @jansivasudeva2590
    @jansivasudeva2590 7 หลายเดือนก่อน

    We want online course Sir....when u r going to start ..
    .

  • @arpita3891
    @arpita3891 7 หลายเดือนก่อน

    If possible please upload Tosca testing tool tutorial

  • @sumansambit7016
    @sumansambit7016 2 หลายเดือนก่อน

    Hi sir , may I know where is the assignment answer posted?

  • @suriyapraba-vw2cn
    @suriyapraba-vw2cn 7 หลายเดือนก่อน +2

    Thanks sir

    • @sdetpavan
      @sdetpavan  7 หลายเดือนก่อน

      Welcome

  • @imdeepu9695
    @imdeepu9695 7 หลายเดือนก่อน

    Sir I am waiting for the next video please post the next session.

  • @khadheermahmud
    @khadheermahmud 7 หลายเดือนก่อน +1

    Sir while launching the browser of democart it showing as verification sir

  • @deepaktdk3637
    @deepaktdk3637 4 หลายเดือนก่อน

    Everyone paste the assignment solution. So that we can see the different approaches.

  • @Karthik-sk07
    @Karthik-sk07 7 หลายเดือนก่อน +1

    Thank you sir

    • @sdetpavan
      @sdetpavan  7 หลายเดือนก่อน

      Welcome

  • @savinagowda4503
    @savinagowda4503 5 หลายเดือนก่อน

    But sir in my webpage inspet window search by string, selector or xpath searching bar it's not showing...can you please help me with this

  • @rameshrongala922
    @rameshrongala922 7 หลายเดือนก่อน +1

    Thanks sir.

    • @sdetpavan
      @sdetpavan  7 หลายเดือนก่อน +1

      Welcome!

    • @MyVlog902
      @MyVlog902 7 หลายเดือนก่อน

      ​@@sdetpavansir
      Quality assurance analyst is tester r different is there future for qaa

  • @VRL2024INDIA
    @VRL2024INDIA 7 หลายเดือนก่อน +1

    Good Evening

  • @prathameshkanthale6796
    @prathameshkanthale6796 3 หลายเดือนก่อน

    Can anyone tell me where is the link of assignment solutions?

  • @nakalalu
    @nakalalu 7 หลายเดือนก่อน

    Sir can u please upload 2024 selenium with java interview questions

  • @JyotirmayeeRath-u6e
    @JyotirmayeeRath-u6e 3 หลายเดือนก่อน

    Where can I get the Assignemnt answers ?

  • @30_akshaysalunkedbda90
    @30_akshaysalunkedbda90 3 หลายเดือนก่อน

    sir where i can get the assignment solution???

  • @Asimkhan-os1hd
    @Asimkhan-os1hd 6 หลายเดือนก่อน

    hello sir, how are you. sir i have a question about automation testing that when I run my test of coding it will take very time I see your videos your website does not take a time to run. please also discuss this topics. and sometime in loading website their is also show human verification captcha is also show. what we do for that please also make this type of videos

  • @hemantjadhav1176
    @hemantjadhav1176 2 หลายเดือนก่อน

    Hi Sir,
    How to get window ID? pls suggest.

    • @gokulr9363
      @gokulr9363 หลายเดือนก่อน

      getwindowhandle or if multiple use getwindow handles and print using set

  • @kalaiselvikalai9454
    @kalaiselvikalai9454 7 หลายเดือนก่อน

    Hi sir cypress api testing 9 videos you posted you will continue that are you finished that.

  • @deeptisharma9154
    @deeptisharma9154 7 หลายเดือนก่อน

    Sir One interview question 'You found a bug but developer told you that its not a bug and after scrutiny I found it was really not a bug' any scenario?

  • @chetanamhalsekar1886
    @chetanamhalsekar1886 6 หลายเดือนก่อน

    Can you provide us a solution for assignemet.I am having a doubt in loops.Please sir will you help me providing a assignment solutions as early as possible.

  • @rohiths-hx9ts
    @rohiths-hx9ts 7 หลายเดือนก่อน

    Sir can you please put a video every day

  • @BinduKL-r2c
    @BinduKL-r2c 7 หลายเดือนก่อน

    Sir ,Can I get solution for assignment question???

  • @harishchandaluri628
    @harishchandaluri628 6 หลายเดือนก่อน

    Here List can accept duplicate values where as set collection does not accept duplicate values for this reason for browser id's we are using set collection by iterator class can you please cover that too in this class thanks

    • @syedarshad9028
      @syedarshad9028 6 หลายเดือนก่อน +1

      actually indexing strategy is not there in Set and in array list indexing is there so for that we are converting set to arraylist

  • @sakalabhaktulaharika9381
    @sakalabhaktulaharika9381 6 หลายเดือนก่อน

    Hi sir,
    can you please upload the answer for the assignment, i am not able to write the code for 3rd point mentioned in assignment, please help me out to solve this point

    • @lk4426
      @lk4426 5 หลายเดือนก่อน

      public static void main(String[] args) throws InterruptedException {

      int count_links = 0;

      WebDriver driver = new ChromeDriver();
      driver.manage().window().maximize();

      //1) search for some phrase

      driver.get("testautomationpractice.blogspot.com/");
      driver.findElement(By.id("Wikipedia1_wikipedia-search-input")).sendKeys("selenium");
      driver.findElement(By.xpath("//input[@type='submit']")).click();

      Thread.sleep(3000); //need it becasue website need to load some stuff
      //2) Count how many links are there with this specific name ("selenium")

      Listlinks=driver.findElements(By.tagName("a"));
      for(WebElement link:links)
      {
      String linkText = link.getText();
      if(linkText.contains("Selenium"))
      {
      link.click(); //3) click on each using for loop
      count_links++;
      }
      }

      System.out.println("Total number of links with a (selenium) phrase : "+count_links);

      SetwindowIDs = driver.getWindowHandles();
      for(String winID:windowIDs)
      {
      String title = driver.switchTo().window(winID).getTitle();
      System.out.println(title+" "+winID); //4) Get windows ID's for every broser window

      if(!title.equals("Selenium (software) - Wikipedia")) //5) close everything expect selenium software
      {
      driver.close();
      }

      }

      }

    • @lk4426
      @lk4426 5 หลายเดือนก่อน

      This is my private solution, there might be some mistakes

    • @vishalchandar4311
      @vishalchandar4311 3 หลายเดือนก่อน

      @@lk4426 Hi, bro can u share me the assignment

  • @rohiths-hx9ts
    @rohiths-hx9ts 7 หลายเดือนก่อน

    Sir can please you put a video everyday

  • @vemulakarimullareddy4024
    @vemulakarimullareddy4024 2 หลายเดือนก่อน

    id's will changing but how id's return same id's

  • @malikbilalawan89
    @malikbilalawan89 3 หลายเดือนก่อน

    respect for pakistan you are doing great work it will be helpfull if you give the assignment link

  • @abinayawilson2552
    @abinayawilson2552 6 หลายเดือนก่อน

    Plz provide assignment link..

  • @Peakprospr420
    @Peakprospr420 5 หลายเดือนก่อน

    Hi, can i get link for assignment solution please

  • @abinayawilson2552
    @abinayawilson2552 6 หลายเดือนก่อน

    Kindly let me know where i can find the solution for the assigment ......can someone help??

    • @lk4426
      @lk4426 5 หลายเดือนก่อน

      package day28;
      import java.util.List;
      import java.util.Set;
      import org.openqa.selenium.By;
      import org.openqa.selenium.WebDriver;
      import org.openqa.selenium.WebElement;
      import org.openqa.selenium.chrome.ChromeDriver;
      public class Assigment {
      public static void main(String[] args) throws InterruptedException {

      int count_links = 0;

      WebDriver driver = new ChromeDriver();
      driver.manage().window().maximize();

      //1) search for some phrase

      driver.get("testautomationpractice.blogspot.com/");
      driver.findElement(By.id("Wikipedia1_wikipedia-search-input")).sendKeys("selenium");
      driver.findElement(By.xpath("//input[@type='submit']")).click();

      Thread.sleep(3000); //need it becasue website need to load some stuff
      //2) Count how many links are there with this specific name ("selenium")

      Listlinks=driver.findElements(By.tagName("a"));
      for(WebElement link:links)
      {
      String linkText = link.getText();
      if(linkText.contains("Selenium"))
      {
      link.click(); //3) click on each using for loop
      count_links++;
      }
      }

      System.out.println("Total number of links with a (selenium) phrase : "+count_links);

      SetwindowIDs = driver.getWindowHandles();
      for(String winID:windowIDs)
      {
      String title = driver.switchTo().window(winID).getTitle();
      System.out.println(title+" "+winID); //4) Get windows ID's for every broser window

      if(!title.equals("Selenium (software) - Wikipedia")) //5) close everything expect selenium software
      {
      driver.close();
      }

      }

      }
      }

    • @dhanashreeize
      @dhanashreeize 2 หลายเดือนก่อน +1

      Hi…u have to first capture the xpath for search button and then enter the text u want to search inside that search box using sendkeys and then click on button…as the output 6 link will be displayed!
      U have to then write common xpath for all those 6 link and capture them into list of webelement..then iterate the list and apply gettext method and use loop to click on the links…which open new tabs..now using getwindowhandles capture the id’s of opened window…and store them into set of string and then iterate them.then switch to tabs using swaitch to window method and close them by writing a logic….
      Phew

    • @abinayawilson2552
      @abinayawilson2552 2 หลายเดือนก่อน

      Thanks

  • @manneharshitha4465
    @manneharshitha4465 3 หลายเดือนก่อน

    sir could please send the assignment solutions

  • @karthiksundaram544
    @karthiksundaram544 7 หลายเดือนก่อน

  • @khadheermahmud
    @khadheermahmud 7 หลายเดือนก่อน +1

    Any help sir

  • @Username13410
    @Username13410 6 หลายเดือนก่อน

    Sir please provide the solution of the assignment

  • @montukumar5670
    @montukumar5670 7 หลายเดือนก่อน

    Next video please sir

  • @cookwithriba
    @cookwithriba หลายเดือนก่อน

    Anyone has assignments solution pls paste here.appreciate your help.

  • @lonelysoul6462
    @lonelysoul6462 2 หลายเดือนก่อน

    Sir no disrespect towards but you sometimes you take a lot of time to make us understand the concept which you itself said it's not important it is for developers so sir just leave that topic with few minutes only because there are few students including me who is not aware of automation at all and after listening that part it will get more confusing and boring ..

  • @MANOJKUMAR-cc6dn
    @MANOJKUMAR-cc6dn 5 หลายเดือนก่อน

    diver.findElements(By.xpath("//*[@id='wikipedia-search-result-link']/a")); its correct or not showing output 5

  • @Skt915
    @Skt915 7 หลายเดือนก่อน

    Sir we want selenium project

  • @srinithiraja444
    @srinithiraja444 7 หลายเดือนก่อน

    Sir how to get connect with you? Can I get your email id please

  • @Silent-kq2cz
    @Silent-kq2cz 7 หลายเดือนก่อน

    Sir how to connect with you? Kindly provide your email id

  • @nallasatish311
    @nallasatish311 3 หลายเดือนก่อน

    Hi sir,
    I am facing issue while handling multiple windows. In my case the second and third window having same title name. It is travelling to third window but unable to click on the elements. Here I validates that whether is it travelling to third window or not. I used (getCurrentUrl) . But it's printing second window url. Where as in automation process it is travelling to third window. Any one could you please help me out of this.