Selenium WebDriver Tutorial #25 - How to Handle Multiple Windows in Selenium

Selenium WebDriver Tutorial #25 - How to Handle Multiple Windows in Selenium

Software Testing Mentor

3 года назад

52,603 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@Abhifashionininteriors
@Abhifashionininteriors - 25.10.2023 16:28

Thank you sir

Ответить
@akiyi3671
@akiyi3671 - 25.08.2023 21:03

You are amazing

Ответить
@xyzabc-lk3mj
@xyzabc-lk3mj - 08.06.2023 11:06

Most of the website given by you is not working any more

Ответить
@reenasingh6521
@reenasingh6521 - 07.06.2023 08:57

It was very boaring explanation, pls try to improve, i didn't understand even single statement also

Ответить
@muthupriyan-tv1nz
@muthupriyan-tv1nz - 13.04.2023 16:55

where is the code man how can can i get the code?

Ответить
@vishnuvlog8030
@vishnuvlog8030 - 13.04.2023 06:30

Dont know why you used long xpath to locate element? Use simple xpath methods it will be easy to understand for users.

Ответить
@deepanshibindal3206
@deepanshibindal3206 - 23.02.2023 12:59

Please do the automation of Salesforce sign up page
Fill all the details

Ответить
@ishakeshri4849
@ishakeshri4849 - 14.01.2023 13:24

Nice explain 👍

Ответить
@karnataka8863
@karnataka8863 - 26.12.2022 08:30

Can we passing the control from child to child window or I came back to parent window from child then go for next child ? Correct me

Ответить
@arunsinghal2977
@arunsinghal2977 - 03.11.2022 14:24

thanks sir , can you provide assert and screen shot video in framework.

Ответить
@laksmintasasti1507
@laksmintasasti1507 - 21.09.2022 01:37

Thank you, its very helpful :)

Ответить
@rampagerisu5848
@rampagerisu5848 - 25.08.2022 10:00

That's not a window that's new tab

Ответить
@huayang2467
@huayang2467 - 25.07.2022 12:25

Sir, thank you for these super clear and easy to follow tutorials. If you could help me with one question, since a set has no index numbers or particular order for its elements, how come window handle iterator is able to iterate through all window handles in a set order of parent to child, and so on? Thank you very much.

Ответить
@nouranwaled3825
@nouranwaled3825 - 22.06.2022 16:14

the best instructor and the best content ever

Ответить
@harshadjadhav1480
@harshadjadhav1480 - 05.06.2022 09:35

Nicely Explained thank you

Ответить
@yogeshsam92
@yogeshsam92 - 04.06.2022 20:51

Excellent. Very well explained.

Ответить
@sandeepdash3297
@sandeepdash3297 - 29.04.2022 11:07

Thank you so much for these detailed information, i was finding this concept bit difficult but you made it so simple for me to understand.

Ответить
@TheAllanazarpour
@TheAllanazarpour - 23.11.2021 01:41

Very helpful and well explained, thank you, worked for me!

Ответить
@TheSoleNemesis
@TheSoleNemesis - 28.10.2021 23:38

Amazing explanation. Worked each of the steps. You are indeed one of the best. Are you based in New Zealand by any chance?

Ответить
@ab9634
@ab9634 - 24.10.2021 18:59

Again Thank You !

Ответить
@ab9634
@ab9634 - 24.10.2021 18:34

Thank you sir.

Ответить
@ADD-ol9eb
@ADD-ol9eb - 07.10.2021 12:53

Hello thank you for sharing this video. Sorry but i found this title as misleading, I was looking for automation handling between 2 window browsers but here you referred to new windows as 'TABS'. Your video is showing switching between TABS not windows as per my understanding. Do you have any content on using multiple windows please? Many thanks.

Ответить
@venkatt2784
@venkatt2784 - 24.09.2021 17:32

Thank you sir

Ответить
@priyasai935
@priyasai935 - 22.09.2021 23:00

Thank you very much Sir. I'm your new subscriber.
your teaching is awesome. Thanks

Ответить
@adityanetalkar2649
@adityanetalkar2649 - 06.09.2021 16:43

Thank you so much for these detailed information, i was finding this concept bit difficult but you made it so simple for me to understand.

Ответить
@nagadhanyamraju6506
@nagadhanyamraju6506 - 13.07.2021 20:59

I have parent and child window. I switch to child window, do the needed operations and do driver.close. In this case do we have to write switch to parent window code?

Ответить
@radhabandari7470
@radhabandari7470 - 10.07.2021 22:40

Easy to understand

Ответить
@alihadi9846
@alihadi9846 - 02.07.2021 05:55

Simply the best!!

Ответить
@nukulkadam718
@nukulkadam718 - 25.06.2021 12:21

I loved the way u explained inthis.. , now it looks easy. other videos created chaos in mind.
note- A beginner

Ответить
@rajendranavale8613
@rajendranavale8613 - 13.06.2021 13:16

Very good explanation Sirji....I m your big fan sir...

Ответить
@simpleton7758
@simpleton7758 - 22.05.2021 16:10

I'm new in testing from Taiwan.
Really love this Selenium WebDriver Tutorial.
Very helpful and thank you so much~~

Ответить
@askatahn5633
@askatahn5633 - 19.05.2021 19:49

You are the best...really in love with the way you explain.
I had went through lot of tutorials on window handling, but never got clarity.

Ответить
@ganeshswami4759
@ganeshswami4759 - 30.03.2021 20:19

Thank You so much sir..!!! Simple & Superb Explanation..!!

Ответить
@gilsonsouza8159
@gilsonsouza8159 - 29.01.2021 22:50

Hi, I have a question regarding Selenium.

let's say that I am using selenium to create a routine automation instead of an test automation.

And this routine will help not just me but others colleagues also. These colleagues don't know anything about programming. So I wish I could create some "desktop application".


like an icon that they just click on it and the script will run. Without need of the Eclipse IDE or anything else.



The point is that the webdriver follow a path, and this path is from my computer. also, there is a file, and the path if from my user. so I not sure on how to do it

Can you help with that? I appreciate, thank you so much.



If you know some other way, it is not necessary to be a desk app, could be online, on a server, I don't know.

Ответить
@lawrencechandrasekar9488
@lawrencechandrasekar9488 - 10.11.2020 03:48

Simply superb! Well explained

Ответить
@adityagupta-yw4kr
@adityagupta-yw4kr - 23.10.2020 16:56

if we don't want to use iterator method, we can use loop also to switch window:
String parentWindow = driver.getWindowHandle();
driver.findElement(By.xpath("//span[contains(text(),'Start my free trial')]")).click();
Set<String> WH = driver.getWindowHandles();
for (String S1 : WH) {
if (!S1.equals(parentWindow)) {
driver.switchTo().window(S1);
}
}
Thread.sleep(3000);

driver.findElement(By.name("UserFirstName")).sendKeys("Admin");

Ответить
@suhasiniraj2374
@suhasiniraj2374 - 03.09.2020 09:27

hi,,,
your videos amazing, they are so neatly explained.T hank You!

Ответить
@srivallisharma1791
@srivallisharma1791 - 28.06.2020 15:36

Hi Software Testing Mentor
Your videos content is very helpful.Thank you !
i have small doubt, If we want to handle more than 3 windows, then how we need to automate?.Please make small video!!Its my request

Ответить