Dear Naeen Sir, Thanks a lot for all the automation videos. I am from Bangladesh. I am always following your videos whenever I facing any problem. May God bless you.
Hi Naveen i am pretty much clear with the concept and the way you explain is amazing. I have a doubt, in this example you explained mouse hover to one tab and clicking on fleet right. My doubt is if we want to do all tabs at once how can we script in such a way.
Hello Naveen. In so many sites i have seen after opening the browser we used to get some pop up like "show notifications with Allow and Block option". to handle this kind of pop up which pop up handling we should use?
Sir, thank you so much for the video. Its really helpful.! But next time please increase the font size of the video which would be more easy to watch !🙂 I am a regular viewer of all your videos
Thank you Sir. I have 1 question, the url for drag & drop is showing pagenotfound error, could you please suggest any different url for practicing drag & drop activity
Hi Naveen,I was hoping to know if we can drag and drop elements which are available in multiple frames as in drag element in one frame and drop element in another frame.
Hi Naveen Is there any chance to reduce the time taken by the test cases? Currently my all test cases are launch n Chrome browser. But if i want to reduce time other than implicitly wait, please share if you have any other options.
Hi Naveen, I have few questions for implicitlyWait(): 1. If implicitlyWait() time mentioned as 40 seconds then the application will throw the noSuchELement exception after 40 seconds in case the element is not found and if the application found the element within 10 seconds then it won't wait for another 30 seconds. - In some articles, I read that it's a bad practice to keep implicitly wait like 40 seconds because it will increase the overall execution time. - Here, I am confused as the application ignores the rest of the implicit wait time once the element is found, then how it can be a bad practice or how it will increase the execution time? Could you please guide me? 2. Does it applies only to the findElement() method? Thanks
Hi Naveen,I am regularly following all your selenium Videos.It's really helpful for me.I have a Doubt.I hope you will clarify this doubt.How to handle Inner Mousemovements?I mean if i want to Click on some option which will be available after 2 or 3 mouse moves and that to it is available in frame...(Spicejet,Menu,Travelinfo).If you clarify this doubt it will be very helpful for me.Thank you.
Hi Naveen If we give driver.click on both the places (with xpaths.click)instead of move to element with actions class,then also we are able to get the same result. Can you please explain me the difference betweeen click and actions classs? Thanks
when I add this implicit wait in my program, it throws some error, "The method pageLoadTimeout(long, TimeUnit) from the type WebDriver.Timeouts is deprecated". what that means???
@Naveen AutomationLabs please make a video on random functionality like entering any random no within in a range or selecting any random element from a arrow. Also please show us how to use regular expresssion in xpath so that we can write one xpath and use it in multiple places
Hey Hi, Naveen, what is the difference between build().perform(); and just perform(); i'm using action.moveToElement(WebElement).perform(); and its working so why we use build() ?
I have one doubt, I want to open sign up form by clicking on 'Sign Up' option. In the spicejet site I've selected Login/Sign up option so that it displays the drop down by selecting one element. In that dropdown again it will open other dropdown (i.e SpiceClub Members). Plz help me how to handle second(inner) dropdown. thanks
Hello sir When I login to Myntra for writing test scripts In that menu and remaining some icons cannot inspect what is the reason sir. I know to perform mouse over button what is the way to perform
Hi Naveen, Reg Implicit and Explicit wait: I got Error on use both, "The method implicitlyWait(long, TimeUnit) from the type WebDriver.Timeouts is deprecated" and "The constructor WebDriverWait(WebDriver, long) is deprecated". Please suggest the new methods.
WebDriverWait wait = new WebDriverWait(driver, Duration.ofseconds(120, 1 )); wait.until(ExpectedConditions.visibilityOfElementLocated(By.xpath(“//div[@title=’Welcome’] “)); I used above for specific elements or you can use for all elements also.
Hi Naveen, i need your help actually i tried what assignment you gave but when it comes to mouse hover on code of fair disclosure is perfom mouse hover action but didn't clickable to go to another page i request you please let me know the problem. thanking you advanced
Hey Naveen . I am trying to access an element after mouse hover. But it is always showing me exception Element not Interactable.Please help me to sort this out.
Naveen, I came across a situation, wherein I could see the element I have to click but the page continued loading. I ended up in getting Timeout exception. In Selenium, is it possible to interact with page elements while the page is getting loaded? I couldn't get a straight forward answer to this query anywhere. Thanks in advance.
Hello Naveen. I have a question regarding drag and drop. Like so many places I saw while doing drag and drop they are using a method 'draganddrop' but u have used in your videos click and clickandhold method. So is there two types of method available for drag and Drop???
Hi Naveen, If i have to drag and drop one file from desktop to any web page then is this method correct or we have to use autoIT third party tool. Thanks.....
Naveen..your all selenium videos are very helpful. Have a doubt in file download automation. How we can validate if the correct file is download or not with the correct size which is downloaded in your OS
MouseMovement is not working on FF. In Spice jet website, I want to be select "hot Meals" under Add-ons. But the problem is when mouse hover to Add ons, Sub list just show in fraction of sceonds. so I got exception "no such element" for hot meals. On chrome is working fine.
Hi Naveen Sir, i am getting (org.openqa.selenium.JavascriptException: javascript error: circular reference error) while clicking on the web element after mouse over.can you please tell me how to handle this kind of exception. Thanks
Hai Sir. Nice video. It's very helpful to me. And I have a doubt about selet some text. If u don't mind. Can u help me that. And my question is, I want to try to select some text from number of lines of text. So how can I use the actions class for this. Can u please help me that ?
How to inspect the element which will appear only after the mouse hovering? Because as soon as I am clicking on inspect element button, that screen is gone by that time
Hi Naveen, These classes are very helpful for us! The prior video of this class is not uploaded it seems, for Handle Dropbox. Can you please share the same. I feel we are missing that concept.
Hi Naveen, I am learning automation from your channel and it's going well. I just want to know that if we can drag any file from the windows screen to the web page using selenium. If yes then can you please let me know any documents or code? Thanks in advance :)
Hi Naveen, Your videos are really helpful and helped me a lot in learning Selenium. I am having a doubt, I was trying to automate Flipkart but I am unable to locate the "Electronics" element present in the first row. Coudl you pleas help me there !!!
There are certain elements which are not visible till the browser is maximized and we can get errors if we try to perform some actions on those elements without maximizing the browser.
Nice video Naveen by the way I am having small doubt regarding the drop down. In the spicejet site i selected menu option so that it displays the drop down by selecting one element in dropdown again it will open other dropdown.So, here I am able to get menu from this its showing first drop down but iam unable to click the element in first dropdown for switching to another dropdown can u help me regarding this issue
yes we can use dragAndDrop method. Below is sample code: driver.switchTo().frame(driver.findElement(By.xpath("//input[@name='group1']"))); Actions a = new Actions(driver); WebElement source = driver.findElement(By.id("draggable")); WebElement target = driver.findElement(By.id("droppable")); a.dragAndDrop(source, target).build().perform();
Hi Naveen Thank you for whatever u have done. It's amazing. I have one issue while maximising the chrome browser. I'm unable to maximize it. It displays error like " org.openqa.selenium.WebDriverException": cannot get automation extension from chrome not reachable . Please help.🙏
Hi Naveen, i tried the same on freecrm.com, but mouse over is not happening (nosuchelement) and when i tried the same on Spicejet.com it is working fine. Actions action = new Actions(driver); Thread.sleep(5000); action.moveToElement(driver.findElement(By.linkText("CONTACTS"))).build().perform(); Thread.sleep(5000); driver.findElement(By.linkText("New Contact")).click();
Thanks for all these ready stuffs, this is bible for selenium beginners
Great learning videos for an Selenium automation. He also covered the interview questions in these videos. Thanks Naveen.
Dear Naeen Sir, Thanks a lot for all the automation videos. I am from Bangladesh. I am always following your videos whenever I facing any problem. May God bless you.
The way you expalin is amazing, Thank you
You are welcome!
Hi Naveen,
Thanks a lot for all automation videos. We are getting clear understanding using these videos.
Thank you so much for these videos, best reference for most of concepts and helping me a lot to make my basics strong. Thanks again 🙏
Thanks alot for such amazing lectures
thanks Naveen..very nicely you have explained..it helps me a lot....
Very Usefull Vedio. Thanks sir for clear understanding of concepts
Hi, I have a question what is the difference bw dragAndDrop(src, trg); and whole click&hold() operation ? Why we simply not using drag&drop() method.
Hi Naveen i am pretty much clear with the concept and the way you explain is amazing. I have a doubt, in this example you explained mouse hover to one tab and clicking on fleet right. My doubt is if we want to do all tabs at once how can we script in such a way.
Awesome videos ,God bless u Sir ,its great help
Hello Naveen. In so many sites i have seen after opening the browser we used to get some pop up like "show notifications with Allow and Block option". to handle this kind of pop up which pop up handling we should use?
You explained it really well. But could you suggest to me a video of yours where you explained about the slider??? It would really help.
Hi Naveen, why do we use thread. Sleep sometimes even though we have already used implicitly wait?
Sir, thank you so much for the video. Its really helpful.! But next time please increase the font size of the video which would be more easy to watch !🙂
I am a regular viewer of all your videos
Hi Naveen, Can i use action.dragAndDrop(source, target).build().perform()
yes..we can use
Hi Naveen, awsome class, but the new SpiceJet homepage doesn't have all those menus, do you know any good website for practice? thank you
Thank you Sir. I have 1 question, the url for drag & drop is showing pagenotfound error, could you please suggest any different url for practicing drag & drop activity
Hi Naveen,I was hoping to know if we can drag and drop elements which are available in multiple frames as in drag element in one frame and drop element in another frame.
Sir please make video on same origin policy i am unable to understand..
Great experience explanation
`Thanks sir for clear understanding of concepts.
Thanks for watching
Great Explanation!!!
Hi Naveen
Is there any chance to reduce the time taken by the test cases?
Currently my all test cases are launch n Chrome browser. But if i want to reduce time other than implicitly wait, please share if you have any other options.
Hi Naveen, I have few questions for implicitlyWait():
1. If implicitlyWait() time mentioned as 40 seconds then the application will throw the noSuchELement exception after 40 seconds in case the element is not found and if the application found the element within 10 seconds then it won't wait for another 30 seconds.
- In some articles, I read that it's a bad practice to keep implicitly wait like 40 seconds because it will increase the overall execution time.
- Here, I am confused as the application ignores the rest of the implicit wait time once the element is found, then how it can be a bad practice or how it will increase the execution time?
Could you please guide me?
2. Does it applies only to the findElement() method?
Thanks
Thank you, very useful.
Thanks for watching
Hi Naveen, have one doubt , is there a possibility where drag option comes in one frame and drop in another frame.
Hi Naveen,I am regularly following all your selenium Videos.It's really helpful for me.I have a Doubt.I hope you will clarify this doubt.How to handle Inner Mousemovements?I mean if i want to Click on some option which will be available after 2 or 3 mouse moves and that to it is available in frame...(Spicejet,Menu,Travelinfo).If you clarify this doubt it will be very helpful for me.Thank you.
Hi Naveen
If we give driver.click on both the places (with xpaths.click)instead of move to element with actions class,then also we are able to get the same result.
Can you please explain me the difference betweeen click and actions classs?
Thanks
when I add this implicit wait in my program, it throws some error, "The method pageLoadTimeout(long, TimeUnit) from the type WebDriver.Timeouts is deprecated". what that means???
@Naveen AutomationLabs please make a video on random functionality like entering any random no within in a range or selecting any random element from a arrow. Also please show us how to use regular expresssion in xpath so that we can write one xpath and use it in multiple places
Hey Hi, Naveen, what is the difference between build().perform(); and just perform();
i'm using action.moveToElement(WebElement).perform(); and its working so why we use build() ?
I have one doubt, I want to open sign up form by clicking on 'Sign Up' option. In the spicejet site I've selected Login/Sign up option so that it displays the drop down by selecting one element. In that dropdown again it will open other dropdown (i.e SpiceClub Members). Plz help me how to handle second(inner) dropdown. thanks
Hello sir
When I login to Myntra for writing test scripts
In that menu and remaining some icons cannot inspect what is the reason sir.
I know to perform mouse over button what is the way to perform
Hi Naveen, Reg Implicit and Explicit wait: I got Error on use both, "The method implicitlyWait(long, TimeUnit) from the type WebDriver.Timeouts is deprecated" and "The constructor WebDriverWait(WebDriver, long) is deprecated". Please suggest the new methods.
WebDriverWait wait = new WebDriverWait(driver, Duration.ofseconds(120, 1 ));
wait.until(ExpectedConditions.visibilityOfElementLocated(By.xpath(“//div[@title=’Welcome’] “));
I used above for specific elements or you can use for all elements also.
Hi Naveen, i need your help actually i tried what assignment you gave but when it comes to mouse hover on code of fair disclosure is perfom mouse hover action but didn't clickable to go to another page i request you please let me know the problem. thanking you advanced
thanks for Making wonderful Explanation
Hey Naveen . I am trying to access an element after mouse hover. But it is always showing me exception Element not Interactable.Please help me to sort this out.
Naveen, I came across a situation, wherein I could see the element I have to click but the page continued loading. I ended up in getting Timeout exception.
In Selenium, is it possible to interact with page elements while the page is getting loaded?
I couldn't get a straight forward answer to this query anywhere.
Thanks in advance.
Nice sir .... I have one doubt as how to handle and implement "long press "
Hello Naveen. I have a question regarding drag and drop. Like so many places I saw while doing drag and drop they are using a method 'draganddrop' but u have used in your videos click and clickandhold method. So is there two types of method available for drag and Drop???
Yes you can use both the methods.
@@naveenautomationlabs thank u soo much
Hi Naveen, If i have to drag and drop one file from desktop to any web page then is this method correct or we have to use autoIT third party tool. Thanks.....
Naveen..your all selenium videos are very helpful. Have a doubt in file download automation.
How we can validate if the correct file is download or not with the correct size which is downloaded in your OS
MouseMovement is not working on FF. In Spice jet website, I want to be select "hot Meals" under Add-ons. But the problem is when mouse hover to Add ons, Sub list just show in fraction of sceonds. so I got exception "no such element" for hot meals. On chrome is working fine.
Hi Naveen ,I get an error while creating the reference variable for Actions as"The field Actions.action is not visible"
Hi, can u ping me here in chat: www.naveenautomationlabs.com/
Thank You, Sir!
Hi Naveen Sir,
i am getting (org.openqa.selenium.JavascriptException: javascript error: circular reference error) while clicking on the web element after mouse over.can you please tell me how to handle this kind of exception.
Thanks
This video should be at 6th spot in the playlist. And the video currently on 6th spot should be 7th. Great to learn though.
Hai Sir. Nice video. It's very helpful to me. And I have a doubt about selet some text. If u don't mind. Can u help me that.
And my question is,
I want to try to select some text from number of lines of text. So how can I use the actions class for this. Can u please help me that ?
How to inspect the element which will appear only after the mouse hovering?
Because as soon as I am clicking on inspect element button, that screen is gone by that time
Hi naveen, Anyway excellent explanation but other Keyborad and mouse action should have been explained here which is missing.
Hi sir,
Topic: implicit wait.
In TestNG do we need to write implicit wait for all tests or only during the launching webpage
Hi Naveen,
These classes are very helpful for us!
The prior video of this class is not uploaded it seems, for Handle Dropbox.
Can you please share the same.
I feel we are missing that concept.
Can we use linktext locators in properties file ,or we only have to use xpath
Thank you very much
My selenium guide is your channel only
What is there many frames ? We have to use List Weblement and iterate ?
Hi Naveen,
How to automate file upload scenario on ubuntu system any idea? As AutoIT is not worked there.
Thanks in advance.
Hi Naveen, I am learning automation from your channel and it's going well. I just want to know that if we can drag any file from the windows screen to the web page using selenium. If yes then can you please let me know any documents or code? Thanks in advance :)
No that we can't
Hi Naveen,
Your videos are really helpful and helped me a lot in learning Selenium.
I am having a doubt, I was trying to automate Flipkart but I am unable to locate the "Electronics" element present in the first row.
Coudl you pleas help me there !!!
i came across i issue where i had to Actions class to select drop down list
hello sir.. how get t in to that filepath option in console to get a name..help me with this please
hello would like to know what are mutable capabilities
What are the reasons and benefits of maximize browser and clear cookies before opening a website?
There are certain elements which are not visible till the browser is maximized and we can get errors if we try to perform some actions on those elements without maximizing the browser.
Nice video Naveen by the way I am having small doubt regarding the drop down. In the spicejet site i selected menu option so that it displays the drop down by selecting one element in dropdown again it will open other dropdown.So, here I am able to get menu from this its showing first drop down but iam unable to click the element in first dropdown for switching to another dropdown can u help me regarding this issue
Me too facing same problem.
sir what if we need to drag drop from window to browser
Appreciate ur work for posting links.......sir Can u increase ur font size .....
can we use dragAndDrop method instead of clickAndHold method
yes we can use dragAndDrop method. Below is sample code:
driver.switchTo().frame(driver.findElement(By.xpath("//input[@name='group1']")));
Actions a = new Actions(driver);
WebElement source = driver.findElement(By.id("draggable"));
WebElement target = driver.findElement(By.id("droppable"));
a.dragAndDrop(source, target).build().perform();
Not all things cover which shows in thumbnails....
Hi Naveen
Thank you for whatever u have done. It's amazing. I have one issue while maximising the chrome browser. I'm unable to maximize it. It displays error like " org.openqa.selenium.WebDriverException": cannot get automation extension from chrome not reachable .
Please help.🙏
Hi Naveen,
i tried the same on freecrm.com, but mouse over is not happening (nosuchelement) and when i tried the same on Spicejet.com it is working fine.
Actions action = new Actions(driver);
Thread.sleep(5000);
action.moveToElement(driver.findElement(By.linkText("CONTACTS"))).build().perform();
Thread.sleep(5000);
driver.findElement(By.linkText("New Contact")).click();
Contact is in different frame. Switch to the frame and then try, it will work.
sir how to automate cookies?
Please change your font size.
Hi Naveen