Glad it helped you :) Please help spread the word by liking and sharing the video.
@zaidshaaban.10 ай бұрын
Thanks , very helpful
@LetsKodeItOfficial10 ай бұрын
Glad it helped you :) Please help spread the word by liking and sharing the video.
@akalyaannadurai414211 ай бұрын
Thanks lot for putting this video it's really helped me a lotttt❤
@LetsKodeItOfficial11 ай бұрын
Glad it helped you :) Please help spread the word by liking and sharing the video.
@NehaParvin-ht7br Жыл бұрын
I have a scenario where a window prompts up as soon as I visit a URL. In new window I need to provide email then click on Next button and then it will ask for password. Can you please tell me how to handle this situation?
@LetsKodeItOfficial Жыл бұрын
If your application involves a lot of new windows/tabs/s then Cypress is not an ideal framework. My suggestion would be to choose other automation frameworks.
@UCIUbaf3b8lN7Q5GA8qO Жыл бұрын
The god of QA, thanks dude, you are awesome.
@UCIUbaf3b8lN7Q5GA8qO Жыл бұрын
One thing is that when doing the second method with removing attr, when navigating to link (in the same tab), I can't do any interactions, the expected title is empty, I can't click I can't do anything.
@LetsKodeItOfficial Жыл бұрын
Glad it helped you :) Please help spread the word by liking and sharing the video.
@LetsKodeItOfficial Жыл бұрын
@@UCIUbaf3b8lN7Q5GA8qO You can send your code file at letskodeit@gmail.com, I will take a look.
@UCIUbaf3b8lN7Q5GA8qO Жыл бұрын
@@LetsKodeItOfficial I sent you, thanks for giving a hand!
@paramchaudhary2078 Жыл бұрын
It's really helpful to handle multiple tabs and windows in Cypress. Thanks! 👍
@LetsKodeItOfficial Жыл бұрын
Glad it helped you :) Please help spread the word by liking and sharing the video.
@CodeInterviewGurus4 ай бұрын
Is it possible to get a popup on the same parent window when we have reacttokens in our URLs which can change randomly? Can you please clarify?
@LetsKodeItOfficial4 ай бұрын
Are you seeing any issue? Can you please provide details?
@CodeInterviewGurus4 ай бұрын
@@LetsKodeItOfficial how to get elements from the another popup window? If we add selectors for those elements it is saying elements not found. Still it is searching elements in the main home page, how to make cypress to search elements in the second popup window page?
@LetsKodeItOfficial4 ай бұрын
@@CodeInterviewGurus We need to first open the pop-up on the same page using one of the ways shows in the video, then finding the elements will look for elements in the window which is currently open.
@swasthikag3691 Жыл бұрын
Hi, How to handle the tabs and windows if there is no href or target attributes.
@LetsKodeItOfficial Жыл бұрын
In that scenario, we need to use cy.window() and cy.stub() functions. I have an upcoming Cypress course, send an email at letskodeit@gmail.com if you are interested to enroll in that.
@EC_ISHWARYAS9 ай бұрын
Yeah same problem for me too!
@AdnanErlansyah-nx7xp Жыл бұрын
How about when the button redirects to the new window or page and not at the same page again. how we can handle it, for example if we have the case the button or anchor has attribute target with the value of '_blank'
@LetsKodeItOfficial Жыл бұрын
This is what is recommended in this video, that we can update the behavior to redirect to the same page to handle tabs and windows. Cypress is not great with widows/tabs/s. If your application uses a lot of these then Cypress is not a good choice of tool for the application.
@Штаты-и5щ Жыл бұрын
Very useful video! Thanks brother!
@LetsKodeItOfficial Жыл бұрын
Glad it helped you :) Please help spread the word by liking and sharing the video.
@muhammadakif59516 ай бұрын
Hey I need help. I am using Cypress. I have a button which when clicked opens up a new tab. But there is no target attribute nor there is any href attribute. So how can I handle that.
@LetsKodeItOfficial6 ай бұрын
If there is a navigation to a new link then there would always be href, please check with your developers or if it is a public website you can share the details here.
@robinr2336 Жыл бұрын
Great workaround. Thanks!
@LetsKodeItOfficial Жыл бұрын
Glad it helped you :) Please help spread the word by liking and sharing the video.
@HanhNguyen-oi6tl Жыл бұрын
as I see, your video-only guide to handle multiple Tab and doesn't have handle multiple window in cypress, right?
@LetsKodeItOfficial Жыл бұрын
Tab and Window are the same thing from a browser perspective.
@NehaParvin-ht7br Жыл бұрын
@@LetsKodeItOfficialI'm getting a windows prompt as soon as I visit the URL. Can you please help me to handle this situation. The window is same as we used to get while accessing the Microsoft account. Firstly provide the username then hit the next button and then provide the password.
@LetsKodeItOfficial Жыл бұрын
@@NehaParvin-ht7br If your application involves a lot of new windows/tabs/s then Cypress is not an ideal framework. My suggestion would be to choose other automation frameworks.
@VikasKumar-uk9sk Жыл бұрын
nice video
@LetsKodeItOfficial Жыл бұрын
Glad it helped you :) Please help spread the word by liking and sharing the video.
@Bell4Fun Жыл бұрын
Automation is nothing but pain. In ass work can be done in minutes is done by automation in days that too after investing fortune
@LetsKodeItOfficial Жыл бұрын
Looks like you didn't perform regression testing on multiple releases. Automation is very helpful in real world 👍
@MithunajhaS11 ай бұрын
I need the same kind of functionality in login process. After entering email, an window pops up with dynamic url and they are listening on the window until the user completes the login process. I'm facing issue to track the popup. Please suggest me a solution ASAP.
@LetsKodeItOfficial11 ай бұрын
What is the issue with tracking? Please provide details. Solutions provided in the video were not helpful?