Very cool, Mukesh. You are detailed, spot-on and very precise, with no other non-sense. Good on you mate. You are really doing a good job helping lot of people out there. Cheers !!
@mallusreddy4 жыл бұрын
You are incredibly smart teaching in this selenium. Thank you so much sir for detailed explanation..
@naveenkommineni61014 жыл бұрын
Hi Mukesh, I am regularly following your videos. Again i started learning selenium from scratch. From this video i have learned interview question as well as concept. My humble request is please make a video on Java concepts as well as selenium interview questions. Thank you very much for making the video.
@Mukeshotwani4 жыл бұрын
Thanks Naveen for Java here is the playlist kzbin.info/aero/PL6flErFppaj1M45ak-Zd2k-wxorGxvwVQ
@sukhwindersingh-kz8zd7 жыл бұрын
brother viewing ur maximum videos on Automation, one thing is clear that u r भीष्म पितामह of WebDriver, keep the good work going on...!
@Mukeshotwani7 жыл бұрын
Hi Sukhwinder your comment made my day. Thank you so much.. Keep visiting.
@sukhwindersingh-kz8zd7 жыл бұрын
Just a request, please upload videos for Jmeter as well...!
@ShahidAli-qc1wo5 жыл бұрын
hi mukesh can you please explain.......driver.findelement() creates which class objects
@vpendyala7 жыл бұрын
Hi Mukesh - Thank You So Much. Great Service. God Bless You. So nice.
@Mukeshotwani7 жыл бұрын
Thanks a ton Pat
@atulshelar54487 жыл бұрын
Hi Mukesh, Just had a query regardiN the difference between getText() and getAttribute("innerHTML") when we did getText() did we got the string with . at the end ( i thought we got display string which did not have . hence shoukd have failed the test ?) getAttribute("innerHTML") gave us inner string with . hence it is ok that test passed
@GLKBHARADWAJ5 жыл бұрын
Hi Mukesh, Will you please explain how to do field value validations ... Like if a text box will accept total 15 characters of alphanumeric only ... Thanks in advance ...
@vasup26078 жыл бұрын
Thanks for the video But How to verify alert box instead of error message using Assert.
@GinShu.8 жыл бұрын
Hi Muskeh your videos are wonderful,, can you provide some java questions for selenium interview,, thnx
@sirippuvedi7663Ай бұрын
Hi, I want to read a message in new window after i switched to new window. Those message in body(tag) .How to read those using selenium java.String Wind_Msg=driver.findElement(By.tagName("body")).gettext();. i tried this. but am not getting output.
@MukeshotwaniАй бұрын
Hi Sirippu , please make sure you are switching to new window or tab properly.You can verify using title.
@sirippuvedi7663Ай бұрын
@@Mukeshotwani i switched to window(not a tab) and was able to close that window .However i am not able to read the message in that new window.
@mototechverse-mtv68328 жыл бұрын
Hi Mukesh first of Thank you so much for the effort u taking for us. I'm facing a small issue.. While performing the same verifying error message of login button on "www.twitter.com" it has two login buttons, one is to open the login window and the other is to click the login button after entering username and password. what issue am facing is: 1. When clicking on first login butt a new window is opening. 2. I used window handles to switch to the windows 3. the execution of the child window is not functioning and the control flow was halt at the parent window itself, ntg was showing can you pls help this
@odiatalk36165 жыл бұрын
bro i have a serious doubt in my project want to discuss with u..can you please provide a way to contact you personally
@abdulnawas7 жыл бұрын
Hi Mukesh, how can we assert and verify two error messages? any pointers? Assume there are 6 error msg for 6 input fields one error msg for 1 field and i have to assert and verify.
@RajeshKumar-ez4nb8 жыл бұрын
Hi, How to verify an alert box instead of error message using Assert example: If we enter a wrong username and password it will display an alert.
@sharmilapilla40403 жыл бұрын
Hi mukesh, I am trying to using the above scenario in data-driven testing, where some set of data has positive TC and some have negative. The above code works fine for negative. But for positive after logging in it is again searching for the error message after click. Which won't be visible in positive case. How should I handle this scenario. Please help me. This kind of cases are repeated at multiple locations.
@vishnuvardhan50968 жыл бұрын
Hi Mukesh, i am not able to find getText() in suggestions it is only showing getClass(), what can i do in this case to verify?
@merlinelizabethmathew9825 жыл бұрын
Could you please explain the difference b/n gettext() and getAttribute()? and when to use those methods?
@Mukeshotwani5 жыл бұрын
getText only capture the innerText but getAttribute(String attributeName) accept attribute so based on parameter it will only capture that attribute like value, src, href and so on.
@merlinelizabethmathew9825 жыл бұрын
@@Mukeshotwani Thank you..
@ajeet2656 жыл бұрын
Sir,please make a video on selenium exceptions.
@mohinitamhane92367 жыл бұрын
Hi Mukesh, "The path to the driver executable must be set by the webdriver.chrome.driver system property;". How to handle this error.
@Mukeshotwani7 жыл бұрын
Hi Mohini, please set the path which will fix the issue. learn-automation.com/launch-chrome-browser-using-selenium-webdriver/
@rajeshdevan60516 жыл бұрын
Nice thank you Sir then if the actual result is not equal or equal to expected result we want to go back and do same operations then how to do sir could you make a video for my question because now am working in automation I got this same scenario that's y Sir please if see my comment try to give me the solution Sir
@kunvarbahadursingh63407 жыл бұрын
Hi Mukesh, In facebook, error message is displayed in tooltip. hoe to capture that message by selenium. As facebook changed its error message features.
@shaiksameena76036 жыл бұрын
Hi Mukesh, Could you please help me how to validate number fields and also to validate range of number fields in selenium web driver.like integer and for floating point values.( Mobile number should accept 10 digits only like that)
@Mukeshotwani6 жыл бұрын
Hi Sameena we have follow exact normal process for this Step 1- Enter 10 digit and verify no error message display Step 2- Enter 9 or 11 digit and verify error message
@shaiksameena76036 жыл бұрын
Hi Mukesh, Is there any other way to validate number fields by using if ...else condition
@arnabsaha66847 жыл бұрын
Hi Mukesh can we test otp using selenium.
@Mukeshotwani7 жыл бұрын
No Arnab OTP cant be tested using Selenium.
@shaiksameena76036 жыл бұрын
Thank you so much 😊. I have a query there is save button which is disabled after selection of few fields it will be enabled. I want to validate whether it is enabled or not . While trying to do that by using isenabled() method and using Boolean still it is returning enabled. Please help me on this
@kishorsharma7936 жыл бұрын
you can validate the state of a button whether is it active or inactive.
@yazh4033 жыл бұрын
Cannt instantiate class .. how to rectify this error .. please hlm me urgently need ur rly
@kunvarbahadursingh63407 жыл бұрын
Hi Mukesh, any update on my query..?
@seenukaniappan88827 жыл бұрын
Nice Explanation Thanks Sir.
@SameerKumar-yu1xi6 жыл бұрын
Sir can you please provide me the content related to selenium... bcz its contain lots of methods n i want to explore my self in this so pls help me if u have it then
@jayshreekant8 жыл бұрын
Hi Sir, How to disappear the Log4j warning appearing in the console ? and from which fw (Like Maven TestNG) it is appearing .. ?
@Mukeshotwani8 жыл бұрын
+Jayshrikant Shrivastava Hi jay please add below code in your test to avoid warning System.setProperty("org.apache.commons.logging.Log", "org.apache.commons.logging.impl.Jdk14Logger");
@jayshreekant8 жыл бұрын
+Mukesh otwani Thanks sir !
@vishnuvlog80304 жыл бұрын
Very Helpful -----Mukesh
@Mukeshotwani4 жыл бұрын
Thank you Vishnu
@ishantsingh22356 жыл бұрын
Sir I have a query.. how can I capture the text of a radio button or check box(i.e "Singing", "Coding").. from the url of your page-"seleniumpractise.blogspot.in/2016/08/how-to-automate-radio-button-in.html"..
@razvanvancea90026 жыл бұрын
Hello Mukesh, I have a question: when should we write System.setProperty() and when shouldn't we? I observed that the webdriver is running even without this command. Thanks!
@Mukeshotwani6 жыл бұрын
Hi Razvan, Nice observation 😀😀 We have to set setProperty every time when you run the selenium test. In my MAC machine, I have kept drivers in bin location so I don't have pass every time but we don't have all drivers in bin location then you need to pass in Script. I have described the same in one of my posts please check that out. Chrome learn-automation.com/chrome-browser-on-mac-using-selenium/ Firefox (Gecko Driver) learn-automation.com/firefox-browser-on-mac-using-selenium-webdriver/ The same thing can be done in Windows as well using the environment variable.
@razvanvancea90026 жыл бұрын
Thanks for your response, it's really useful. As a summary, the setPropery() is mainly specific to OSX, so it is not necessary to write it if I use Windows and the location of webdrivers exists in environment variables. Great tutorials, keep up the good work! :)
@Mukeshotwani6 жыл бұрын
Hi Razvan, Summary from My side In order to run Selenium with the different browser, we have to use drivers (always) We have two options to do this 1- Keep in bin folder (in MAC and Linux ) and keep in Environment variable (Windows) then no need to specify the driver in the script 2- set the path manually in the script.
@harshaprince42896 жыл бұрын
Hello sir, I hope everything is going good. I have a query for u..?? How can we handle a dropdown list Without using Select class..?? Can u please explain it..? Thanqq Sir..