I'm new in testing from Taiwan. Really love this Selenium WebDriver Tutorial. Very helpful and thank you so much~~
@navneetmittal6022 Жыл бұрын
Awesome explanation. I have to see 3-4 different video on youtube to understand this concept. Your video clear all the confusion.
@askatahn56333 жыл бұрын
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.
@Eye_on_india9 ай бұрын
After 2 yrs I am recommenting your comment he really taught good,,,,, I am beginer in selenium web driver,, what's the growth?
@nouranwaled38252 жыл бұрын
the best instructor and the best content ever
@agnihotrimanoj6 ай бұрын
Thank you sooo much sir for the clear and awesome explanation. Thanks again.
@nukulkadam7183 жыл бұрын
I loved the way u explained inthis.. , now it looks easy. other videos created chaos in mind. note- A beginner
@softwaretestingmentor3 жыл бұрын
Hi Nukul. I am glad my work is helpful, keep learning and sharing. Regards, Manish
@nukulkadam7183 жыл бұрын
keep making these videos. i want to switch in automation. i will comment once i get selected somewhere. i wish you a happy life with tons of followers and respect.
@adityanetalkar26493 жыл бұрын
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.
@srivallisharma17914 жыл бұрын
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
@TheAllanazarpour3 жыл бұрын
Very helpful and well explained, thank you, worked for me!
@rajendranavale86133 жыл бұрын
Very good explanation Sirji....I m your big fan sir...
@priyasai9353 жыл бұрын
Thank you very much Sir. I'm your new subscriber. your teaching is awesome. Thanks
@lawrencechandrasekar94884 жыл бұрын
Simply superb! Well explained
@softwaretestingmentor4 жыл бұрын
Glad it was helpful! Regards,Manish
@adityagupta-yw4kr4 жыл бұрын
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 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");
@sahailgupta20882 жыл бұрын
bro how to do this in pyhton?
@TheSoleNemesis3 жыл бұрын
Amazing explanation. Worked each of the steps. You are indeed one of the best. Are you based in New Zealand by any chance?
@ganeshswami47593 жыл бұрын
Thank You so much sir..!!! Simple & Superb Explanation..!!
@huayang24672 жыл бұрын
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.
@alihadi98463 жыл бұрын
Simply the best!!
@yogeshsam922 жыл бұрын
Excellent. Very well explained.
@suhasiniraj23744 жыл бұрын
hi,,, your videos amazing, they are so neatly explained.T hank You!
@softwaretestingmentor4 жыл бұрын
Glad you like them! Keep watching.
@LawyerAB3 жыл бұрын
Again Thank You !
@radhabandari74703 жыл бұрын
Easy to understand
@T-Wali5 күн бұрын
Overview : The tutorial focuses on handling multiple browser windows in Selenium WebDriver, a crucial skill for automating applications that open new windows or tabs. Importance: Switching between windows is necessary when dealing with web applications that open new windows, and it's essential in automation testing. Example Website: The example used is Salesforce, where clicking on the "Start My Free Trial" button opens a new window for further input. Manual vs Selenium Control: In manual testing, you switch to a new window to fill out forms, but Selenium requires explicit instructions to switch between windows. Window Switching Issue: Selenium doesn’t automatically switch to the new window, so the script must be instructed to switch focus between the parent and child windows. Using getWindowHandles Method: Selenium provides the getWindowHandles method to get window handles, which returns a set of handles for all open windows. Window Handle Iteration: The set of window handles can be iterated over using Java’s Iterator class to switch between different windows. Practical Implementation: The script uses the switchTo().window() method with the window handle to switch to the child window and perform actions. Switching Back to Parent Window: After interacting with the child window, the script switches back to the parent window to continue testing. Final Testing and Output: The script successfully fills out fields in the child window, switches back to the parent, and prints out the window handles for verification. This tutorial demonstrates the steps required to handle multiple windows in Selenium WebDriver, including switching between windows and interacting with elements on each window.
@harshadjadhav14802 жыл бұрын
Nicely Explained thank you
@arunsinghal29772 жыл бұрын
thanks sir , can you provide assert and screen shot video in framework.
@deepanshibindal3206 Жыл бұрын
Please do the automation of Salesforce sign up page Fill all the details
@laksmintasasti15072 жыл бұрын
Thank you, its very helpful :)
@xyzabc-lk3mj Жыл бұрын
Most of the website given by you is not working any more
@ADD-ol9eb3 жыл бұрын
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.
@iPranav0072 жыл бұрын
True that.. also he could’ve directly traversed with set but instead showed long way
@sivaramsathiamoorthi72572 жыл бұрын
@@iPranav007 Yeah for a new tab we can simply use, driver.switchTo().newWindow(WindowType.TAB).get("URL")
@Eye_on_india9 ай бұрын
Very informative❤🎉
@LawyerAB3 жыл бұрын
Thank you sir.
@ishakeshri4849 Жыл бұрын
Nice explain 👍
@vishnuvlog8030 Жыл бұрын
Dont know why you used long xpath to locate element? Use simple xpath methods it will be easy to understand for users.
@venkatt27843 жыл бұрын
Thank you sir
@nagadhanyamraju65063 жыл бұрын
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?
@dmitryneve11407 ай бұрын
xpath does not work. don't know why. copy as " /html/body/div[1]/hgf-c360nav//header/div[1]/div[1]/div[1]/div[5]/hgf-button". Trying to write down my own XPath - doesn't work either - not the first time happened by the way. can't find the solution.
@akiyi3671 Жыл бұрын
You are amazing
@softwaretestingmentor Жыл бұрын
Thank you very much. Keep watching and sharing.
@gilsonsouza81593 жыл бұрын
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.
@muthupriyan-tv1nz Жыл бұрын
where is the code man how can can i get the code?
@rampagerisu58482 жыл бұрын
That's not a window that's new tab
@asrafulmondal8946 Жыл бұрын
then what is new window
@VloggingBook1104 Жыл бұрын
It was very boaring explanation, pls try to improve, i didn't understand even single statement also
@sandeepdash32972 жыл бұрын
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.