Thank you for providing the reasoning behind JSE concepts. I always searched numerous JSE videos for finding answer to WHY! and finally found your tutorial as the puzzle solver. Thanks much Naveen. These are really helpful!
but nowadays some interviewers are asking syntax. I don't know how a person can remember all the syntaxes. I'm attending interviews nowadays, if interviewer is Indian lady, they always want proper syntax, correct method names, etc. I was asked to write exact code for read data from excel, scroll down syntax, expect wait syntax etc even for first written test they are asking java program with excel with syntax not pseudocode. In real life we used to copy paste and edit, i don't know why they asking syntax like a teacher in school/college. who will mug up everything?
Syntax is way too much. who remembers syntax..they should only focus on concepts and basics. Syntax keeps changing for different programming languages..java will have different syntax, python will have different and so will be c# and others. This is ridiculous really..
Nice tutorial on JSExecutor with selenium, can you make one more video on how to handle some complex automation scenarios which is possible only with JSExecutor , which may not be possible usually with selenium library
Thank you for the excellent tutorial I have a question about the drawn border. How to draw a border if the page has multiple buttons and any one of them button got failed?
Hi Naveen your automation testing videos really helpful for me to learn automation testing.... Thank you so much... And I have one doubt how to perform double click operation using JavaScript Executor
Hi sir, i wanted to know how to get the DOM of active webpage into java program. As if i am passing the url to java program it only gives the static DOM but not the DOM created after ajax.
DHANANJAY PRASAD, [26.01.18 20:58] interview question Q1 : if we are able to download one file manually but if we have written automation script correctly then we are not able to download then were will be problem or which kind of exception we will get DHANANJAY PRASAD, [26.01.18 21:01] manager round Q2: if we have given our developed product to production server ok but later we came to known we have written some wrong script then what will we do
Hey Naveen, why are we carrying "driver" in every method?? I think we can declare it as class variable so that we dont need to repeat that again and again
hi naveen, i am having a issue. while i pass the value using javascript, it takes the value, but when it clicks on signin it says username cant be empty. please suggest. thanks
Hey Naveen, In this same example, I have tried to take screenshot after the alert generation and it didn't get any screenshot. Is there any reason for this ?
Hi Naveen. Thank you for the great content. For the last trick of scrolling till the end where we find forgot password link, why do we need this coding as we already scrolled there to spy the web element? Even for two days facebook post, we go there to that post to spy the web element and write the code, then what more is this javascript code helping us when we already scrolled to the end or till that facebook post?
can anyone help me whenever we writting JavaScript for hidden webelement OR for any query then why we are giving "arguement[0].click()" bcz if our hidden element will be in 2nd position then also it will work.
i am executing to automate video with javascript but the play,mute,unmute,pause ,,all these are not working using without flash driver. and accesing 6 videos though msexcelbut the loop that is running is not able to find those javasript arguement, guide me ..
Hey hi Naveen ..I am able to perform operation for screenshot... After typing second line which is FileUnits copeFile then it is showing one comment but we dont have any valuable suggest over there after clicking on that..Can you do the needful... Is there another way to do that...Or we are missing anything in between ..??
Hi Naveen, how do we call the drawBorder(element, driver) method when we dont know which element in our test scripts is going to fail? Calling this method on each and every webelement also dont make sense. In short, I am repeating the same question that Madhur Bhardwaj had asked below.
Hi Naveen,I have a doubt....instead of sending driver and performing casting in every method ,cant we pass "js" instead directly,so that we can use it directly.Can you Please clarify.
If you automate captcha then that website is not secured, So do not try to violate the security of the web. If an interviewer is asking this question he is trying to check your genuine experience in the test.
Hi I want to select element from dropdown using JavaScriptExecutor ,Could you please tell me which tutorial of ur's should I have to refer to ? I have trouble using JavaScriptExecutor , your help will be very much appreciated.... thanks in advance !
Hello Naveen. Thank you so much for the video tutorials. I have a question. How can I perform click after scrollToView. I find the forgot password link. how can i perform click on it after scrolling down? ive tried .click () but I dont know how to proceed further.
Hello Naveen, how to perform drag and drop using JavaScript executor? It says selenium doesn't support drag and drop in HTML 5 so may be there is a work around using JavaScript executor. Can you please help.
Hi Naveen I got stuck on signup page of flipkart where my sendKeys (Mobile number) were not going through it was normal pop up means it was not an alert or window pop up, it was written under div however using java script executor it was going through, but i want to know the reason behind it. please help me in this.
In the same freeCRM Web page, If I scroll for the text "Companies & Contacts" by using scrollIntoView method, i am not able to get exact Result. the text is hiding behind the Header static page. You can try this Once. How to over Come this kind of Problems in real Time...
I want know why u have used open and closed brackets for JavaScript Executor and driver along with it. JavascriptExecutor js = (JavascriptExecutor) driver;
Thank you for providing the reasoning behind JSE concepts. I always searched numerous JSE videos for finding answer to WHY! and finally found your tutorial as the puzzle solver. Thanks much Naveen. These are really helpful!
Really Helpful , Thank you so much . The way you explain I am really glad you exist on UA-cam.
but nowadays some interviewers are asking syntax.
I don't know how a person can remember all the syntaxes.
I'm attending interviews nowadays, if interviewer is Indian lady, they always want proper syntax, correct method names, etc.
I was asked to write exact code for read data from excel, scroll down syntax, expect wait syntax etc
even for first written test they are asking java program with excel with syntax not pseudocode.
In real life we used to copy paste and edit, i don't know why they asking syntax like a teacher in school/college. who will mug up everything?
Syntax is way too much. who remembers syntax..they should only focus on concepts and basics. Syntax keeps changing for different programming languages..java will have different syntax, python will have different and so will be c# and others. This is ridiculous really..
Yeah bro recently interviewr asked me screenshot code with syntax , who remember that
@@chirunomulavenkatesh for me same ,they asked syntax of screenshot code :(
Thank you very much Naveen for making this topic very easy. After watching your videos it feels very confident about particular topic. Keep it up☺
good video..The way u explain the concepts really deserves a praise naveen
Thanks a ton
A tip : watch series on kaldrostream. Me and my gf have been using it for watching a lot of movies recently.
@Sage Hudson yup, I've been using KaldroStream for since november myself :D
Thank you, dear Naveen, you are Awesome Human Being.
excellent tutorial. Thank you so much for sharing your knowledge.
Great knowledge sharing.
Awesome explanation about JS
Nice tutorial on JSExecutor with selenium, can you make one more video on how to handle some complex automation scenarios which is possible only with JSExecutor , which may not be possible usually with selenium library
thank you so much!!! YOU are the BEST!!!
HI naveen ,,,your java script concept are very useful thank you very much
Thank you for the excellent tutorial I have a question about the drawn border. How to draw a border if the page has multiple buttons and any one of them button got failed?
Download Full Selenium Java Code base from GIT: github.com/naveenanimation20/SeleniumJavaCourse
Hi Naveen your automation testing videos really helpful for me to learn automation testing....
Thank you so much...
And I have one doubt how to perform double click operation using JavaScript Executor
31:00 for scrolling
Hi sir, i wanted to know how to get the DOM of active webpage into java program. As if i am passing the url to java program it only gives the static DOM but not the DOM created after ajax.
Hi naveen, please tell me why you're passing driver in every method and as well as while calling methods from the main() method...?
DHANANJAY PRASAD, [26.01.18 20:58]
interview question Q1 : if we are able to download one file manually but if we have written automation script correctly then we are not able to download then were will be problem or which kind of exception we will get
DHANANJAY PRASAD, [26.01.18 21:01]
manager round Q2: if we have given our developed product to production server ok but later we came to known we have written some wrong script then what will we do
Any leads?
Very good information on javascript. Sir can u pls show how to type some text using javascript as well when sendkeys function is not working.
Hi Navin, I am not able to get title of the screen. I have written the same code as u have written in this video. Please help me out.
Hi Naveen, You did great job. Thanks
Hey Naveen, why are we carrying "driver" in every method??
I think we can declare it as class variable so that we dont need to repeat that again and again
hi naveen, i am having a issue. while i pass the value using javascript, it takes the value, but when it clicks on signin it says username cant be empty. please suggest. thanks
Hi Naveen, Thanks for the video. When I am using scrollIntoView function then page partially scroll. Please help me with this.
Please make video on drag and drop using JavascriptExecutor
Hey Naveen,
In this same example, I have tried to take screenshot after the alert generation and it didn't get any screenshot. Is there any reason for this ?
Hi Naveen. Thank you for the great content. For the last trick of scrolling till the end where we find forgot password link, why do we need this coding as we already scrolled there to spy the web element? Even for two days facebook post, we go there to that post to spy the web element and write the code, then what more is this javascript code helping us when we already scrolled to the end or till that facebook post?
It will be good If you can make a video on how to use web event listener on Javascript executor.
Very clear...tq Naveen
can anyone help me whenever we writting JavaScript for hidden webelement OR for any query then why we are giving "arguement[0].click()" bcz if our hidden element will be in 2nd position then also it will work.
i am executing to automate video with javascript but the play,mute,unmute,pause ,,all these are not working
using without flash driver.
and accesing 6 videos though msexcelbut the loop that is running is not able to find those javasript arguement,
guide me ..
Do you conduct paid training at individual level
Very good explanation
How to double click using Javascript ?
Very cool feature.
@naveen could u please tell me how to disable animation using this.
Hi Naveen
Your telegram link is expired. Could you please share a new link ?
Hi Naveen , if i am using the border thing in my script then how i can identify the element that some bug is there and i have to make the border here
Hey hi Naveen ..I am able to perform operation for screenshot... After typing second line which is
FileUnits copeFile then it is showing one comment but we dont have any valuable suggest over there after clicking on that..Can you do the needful...
Is there another way to do that...Or we are missing anything in between ..??
Selenium 3 and above doesn't come with Apache Commons IO anymore.
Just include the jar manually or add maven dependency. It will work fine.
It is Fileutils.CopyFile
It is Filtutils.CopyFile
can someone please help me understand is there a performance difference between JS or selenium methods like get title, browser refresh?
Awesome video Naveen !
Sir I am facing lots of issue with javascriptexecutor concept...I am unable to decode the code and analyze and understand it...
whats the issue u r facing?
Great Video
Thanks.😀
Can anyone provide video name of custom xpath that naveen is talking about
Good explanation
Sir everytime in executeScript method you put "Semicolon"(;)...Why is the reason to put semi colon..
Plzz tell
this is as per javascript syntax.
Hi Naveen, how do we call the drawBorder(element, driver) method when we dont know which element in our test scripts is going to fail? Calling this method on each and every webelement also dont make sense. In short, I am repeating the same question that Madhur Bhardwaj had asked below.
Thanksssssssssssss a lot
Hi Naveen,I have a doubt....instead of sending driver and performing casting in every method ,cant we pass "js" instead directly,so that we can use it directly.Can you Please clarify.
Hello Naveen i am new to this automation testing field so can you please upload a video on how to handle reCaptcha ( I am not a robot)
If you automate captcha then that website is not secured, So do not try to violate
the security of the web. If an interviewer is asking this question he is trying to check your genuine experience in the test.
@@Siva-xq1qd no but I have done it ,we can also automate captcha imeages
When to use ";" when to not , its very confusing
Hi Naveen,
Can i alter the html by javascript executor? Like to replace all the images in webpage with the one i have ?
Hi I want to select element from dropdown using JavaScriptExecutor ,Could you please tell me which tutorial of ur's should I have to refer to ? I have trouble using JavaScriptExecutor , your help will be very much appreciated.... thanks in advance !
if java executor is that much helpful then why we do not always prefer it. Please answer anyone
Because execution is slow bro, it will be good for very minimal execution.
hi naveen please provide radio button class
Hello Naveen. Thank you so much for the video tutorials. I have a question. How can I perform click after scrollToView. I find the forgot password link. how can i perform click on it after scrolling down? ive tried .click () but I dont know how to proceed further.
Hello Naveen, how to perform drag and drop using JavaScript executor? It says selenium doesn't support drag and drop in HTML 5 so may be there is a work around using JavaScript executor. Can you please help.
Hi Naveen I got stuck on signup page of flipkart where my sendKeys (Mobile number) were not going through it was normal pop up means it was not an alert or window pop up, it was written under div however using java script executor it was going through, but i want to know the reason behind it. please help me in this.
In the same freeCRM Web page, If I scroll for the text "Companies & Contacts" by using scrollIntoView method, i am not able to get exact Result. the text is hiding behind the Header static page. You can try this Once. How to over Come this kind of Problems in real Time...
I want know why u have used open and closed brackets for JavaScript Executor and driver along with it. JavascriptExecutor js = (JavascriptExecutor) driver;
Awesome!!