![Mukesh](https://i0.wp.com/learn-automation.com/wp-content/uploads/2019/04/Mukesh.jpg?resize=720%2C420&ssl=1)
Myself Mukesh Otwani working professional in a beautiful city Bangalore India. I completed my BE from RGPV university Bhopal MP. India.
Initially Started my career from one of finance company (because I did not get a job after my graduation) as a management trainee (MT) in Gujrat then promoted as Assistant Credit manager (ACM) in Ahmedabad. I left my job because it was completely different from my field.
I was jobless for almost 5 months and applied almost in every company. Finally got a job in one of the best product based company in Bangalore.
I went through several faces of a job – Android Developer > Manual Tester > Automation tester > Cloud support > Automation tester.
I used to face so many issues in my day to day activity so I started recorded on blog spot (Open source by Google for blogging). One day I realized that users are visiting my content and they are sharing the same on social media.
This is how my blog started and finally, I shifted my blog from Blogspot to WordPress 🙂
I started my blog (Officially) in May 2014 and Started my YouTube Channel which has almost (68000+ still counting) subscribers.
If you found this blog is useful then please share with your friends who still have a fear about the blog or who are in manual and want to make their career in automation.
You can connect with me on Facebook, Twitter, linkedin, Instagram. YouTube Looking forward to meeting you people.
hi mukesh ,
i want to learn mobile testing. how can i join your classses?
Hey Swati, at this moment we dont have sessions for mobile testing.
Hi Sir ,
Do you have any batch for Complete DevOps?
Hi Abhishek, It is getting started by Hitesh Chawdhary here is the link https://ineuron.ai/course/Be-A-DevOps-Pro
You can use Coupon code MUKESH30 for 30% off.
Hello Sir,
Do you have any batch for online trainings in July or coming months, I would like to enroll.
Hi Shikha, JavaScript batch started last week and registration still open. Next Selenium batch will start from Sep 2022.
Hi Mukesh,
I’d like to learn more about selenium automation and I’ve submitted the training form.
Kindly treat.
Thanks.
Hi Tayoo,
I have replied to your email.
Hi
i have to move my all jenkins old server jobs to new server upto date ,
is the any tutorial have you created
Hi Kiran,
You can use https://plugins.jenkins.io/job-import-plugin/ but this is very old plugin not sure how much extent it can help you. Also, in you old Jenkins server, take back up jobs, config.xml & plugins folder
Hi Mukesh,
Do you have any video or tutorial for the advanced or say dynamic XPath using axe following.
Hi Manish,
Please go through this link https://learn-automation.com/how-to-write-dynamic-xpath-in-selenium/
Hie sir,
Do you have any tutorials on YouTube for cucumber BDD framework from scratch or have any framework that you have made. I want it for reference.
Hi Sayali,
I’ve pretty old videos of Cucumber https://www.youtube.com/watch?v=Vv7hHrVX_Zg&list=PL6flErFppaj1Ogn82-OINRkPwoieZ2dEX. Currently, I’m working on uploading new videos on the same. Please stay tuned…:)
Hi Mukesh,
Do you have any videos related to Python and Selenium
Also any replacement for AutoIt tool in Python and Linux
Hi Anu,
As of now, I don’t have big playlist for Selenium with Python but I’m presently working on it
Hi Mukesh,
Your content is very nice. Can you please make video to add eclipse selenium java-testng project to gitlab and run the testng from there..if at all this possible.
Thanks,
Jaydeep
Hi Jaydeep,
I’ll post it soon. Please stay tuned…:)
Hi Mukesh ,
Consider one more person is rooting for the same concept.
Hi Mukesh,
Your Automation Video’s very Good .
Do you have protractor Automation vedios?
Hi Nagalakshmi,
Protractor playlist https://www.youtube.com/watch?v=6lg_UyecU58&list=PL6flErFppaj0H-t1uXur_vX4zQnstKUyw
More videos are under pipeline
Thank you for the response…..
Hello Mukesh,
Glad to know that you passed out from RGPV, me too from RGPV university.
That’s great…:)
Hi Mukesh,
Any idea on Xframium automation tool on top of selenium for automation now?
Hi Soumya,
Apologies, I don’t have any idea for this tool
your videos are really helpful
Hi Ruma,
Thanks a lot…:)
You are always welcome to ask your queries and doubts. I’ll try my level best to clarify and answer your questions
Hi Mukesh,
Great to see your videos covered from scratch level, very useful and helpful.
Thanks a lot for the effort you’re putting those who are searching for a job, for those who have started as an Automation engineer and for those who want to learn more selenium concepts.
i was looking at the link for sikuli tool to handle the dropdown if you have covered that topic does let me know.
Hi Mujahid,
Thanks for approaching me. And I am happy to see that my tutorial videos are helping you to uplevel your skills.
As of now, I don’t have any post specific to your requirement but you can refer this link http://learn-automation.com/integrate-sikuli-with-selenium-webdriver/
Hi Mukesh,
Found your videos really helpful. Got to learn about so many concepts which i was not aware of even if working in Automation.
Thanks a ton for the effort you’re putting the those who are searching for a job, for those who have started as an Automation engineer and for those who want to learn more selenium concepts.
Hi Jyoti,
Thanks a lot for your appreciation 🙂 I’ll always try my level best to provide best and easy way of content explanation.
Feel free to drop your query as comments to my blog post
First I got confused in automation , by seeing your entire videos and practice I felt happy…thank you. Helped me a lot.
Hi Rohith,
I am happy to see that you are learning automation…
Thanks a lot for your appreciation. Please feel free to ask your doubts 🙂
Hi Mukesh,
I have been following your all videos and they are so wonderfully prepared that it helps us to understand in simplest way. And the most important part which i loved is, the duration of the videos as they are not too exhaustive ones where someone has to go and see the duration as to much still is left. You completely grab the viewers attention right from first second itself. Please continue to post more videos on Selenium as we are looking forward to you.
Thank You
Hi Yogesh,
It feels wonderful to receive such appreciative & encouraging words from you. I’ll try my level best to put new topics from the automation world.
Keep learning and feel free to share your doubts and queries on my blog…:)
Hi Mukesh,
Thanks for wonderful blog and You Tube videos on Selenium web driver.
I have recently started learning this.
This is really helpful.
Thanks,
Gaurav
Thanks, Gaurav…:)
You are always welcome to my blog and youtube channel…Fell free to ask your doubts.
Happy learning of Automation…
Hi Mukesh
In facebook sign in : for date field manually with i am getting xpath //select[@id=’day’]/option)
but the same not working in execution
Sridhar
Hi Sridhar,
You need to use //select[@id=’day’] with Select class. I would recommend you to go through this link http://learn-automation.com/handle-dropdown-in-selenium-webdriver/
Hi Mukesh,
Thanks for your useful selenium videos. I have learned selenium from your website only. I asked many doubts directly to you and your teaching is /was very good.
Hi Sathish,
Thanks for your valuable comments…:)
I’ll always try my level best to deliver best content in easy way.
Your blog help a lots thanks
Thanks,
You’re always welcome…Shital…:)
hi,mukesh thanks for selenium video. i have learn lots of things from your videos .and i hope i ll learn much more from this.Thank You
Hi Swapnil,
Very very thanks for your comments. You are always welcome to my blog…:)
Hi sandeep,
Am installed Jenkins in my machine windows 10 64 bit.
Jenkins version is jenkins-2.121.2 am find the source code management am not found “github” option only displaying none.
Hi Sandeep,
Have you gone through installation of suggested plugins which jenkins shows while installation?
Also check whether you have *Git* option in job configuration.
Hi Mukesh,
Can u tell me how to run Protractor in Eclipse?
Hi Nandhini,
Obviously, you are running a command on command prompt in order to trigger your script. So inside your project in eclipse, create .bat file(if windows OS) and provide same command into it.
Very nice, tutorials. Keep it up..
Hi Daniel,
Thanks for your overwhelming comments…:)
Hi Mukesh,
Thanks a lot for making selenium videos, really the videos are very helpful, thanks for u r support.
-> How to automate ck editor text box
Hi Niveditha,
In most of the cases, TinyMCE and CK Editor cannot be automated. Finding controls of various buttons will be ok but you won’t be able to automate things inside canvas. In short, automated scripts will be unstable.
Hi Mukesh sir!
Which Firefox version is compatible for selenium?
Hi Gajendra,
Use latest Selenium for latest FF with latest geckodriver.
Hi,
Any need to learn advance java concept.
Hi Bhushan,
As part of Selenium, it is not always required. But whenever you work on framework then advanced Java concepts will come into picture.
Hi Mukesh,
Your videos are so good. Good way of explaining things. I worked on manual testing. But I wanted to move on automation. I am beginner in selenium.Since when I started watching ur video, now I can automate any web application. Thank you for your support.
Hi Preeti,
Thanks for your sincere comment…Keep learning…:)
Hi Mukesh,
I am studying your basic java tutorials. it was very nice. thanks for the detailed explanation
Hi Shanmugapriya,
Thanks for your lovely comments…:)
Hi Mukesh,
Thanks a lot for your wonderful useful Automation tips and tutorial. It was really good Explained and very effective. Thanks again
Hi Amir,
Thanks for your overwhelming comments…:)
Hey Mukesh…
Thanks for the post on Jenkins..was helpful.
I have a doubt here:
The idea of Jenkins is to go headless .. but when i am running the testng.xml file from jenkins, it is opening the browser and running in a way it normally does.
What am i missing?
Hi Paras,
First of check whether Jenkins is running as service or not. Running headless is not a must functionality. May be latest version of Jenkins gives luxury for non headless too.
Best site I have ever seen. Thanks a million zillion.
Hi Kavitha,
Tons of thanks for your appreciation…:)
Where can I get tutorials for Selenium to learn from basics? Please suggest me the useful tutorials
Hi Jones,
For basics, please refer this link http://learn-automation.com/selenium-webdriver-tutorial-for-beginners/
Hey Mukesh ,
Thanks a lot for selenium videos . they are really very well taught and exploratory. Hope you will continue sharing knowledge.
I watch your session on Explicit wait. Would you please also share some thought on Implicit wait. I couldn’t find it on your online videos on youtube
Hi Shailesh,
Please go through this link http://learn-automation.com/implicit-wait-in-selenium-webdriver/
how to automate multiple pages in single pom framework can you please give one example
Hi Rekha,
I hope this link (http://learn-automation.com/page-object-model-using-selenium-webdriver/) will help you.
Hi Bibhas,
Here is the link for latest IEDriverServer http://selenium-release.storage.googleapis.com/index.html?path=3.9/
Hi Mukesh,
I am using FF version 60- 64 bits
Eclipse IDE for Java Developers
Version: Oxygen.1a Release (4.7.1a)
geckodriver-0.16.0
java 9
seleniu web driver geckodriver-0.20.0
selenium-server-standalone-3.11.0(1)
my code is able to launch ff browser but not able to
open the site http://www.google.com or any .
stack traces are below
Exception in thread “main” org.openqa.selenium.WebDriverException: Timed out waiting 45 seconds for Firefox to start.
Build info: version: ‘3.8.1’, revision: ‘6e95a6684b’, time: ‘2017-12-01T19:05:32.194Z’
Could you please help, I tried changing various selenium jar’s like 3.8,3.9,3.10 etc. I also tried java 8
Hi Vandana,
Your gecko driver version is bit old. Use latest one https://github.com/mozilla/geckodriver/releases
hi Mukesh,
In an interview if questioned asked why u want to do manual testing ,if u have done automation also.Then what should be the answer.
Hi Kanika,
Explain them in such a way that you are comfortable with types of testing and flexible with project requirement.
Hi Mukesh, I am getting an error when i start building in Jenkins. Error: Could not find or load main class ûcp.
Please help me soon.
Thanks in Advance
HI Bharat,
Please use Jenkins 2 with maven project to avoid this.
Hi Mukesh
I follow some of your tips and technique which you shared in your blog and youtube
Hi Paul,
I am very happy to read from you. I hope that in future also, I’ll keep serving to my blog readers.
Hi Mukesh,
Am trying to automate window based application with AutoIT. Is there any test report we can have for autoIT.
Hi Devi,
AutoIT is just a small tool which I don’t think provides its own reporting mechanism like QTP or UFT. You can inject your own report by adding log4j or any other report creation APIs’.
Hi..
Thanks alot I Morley prefer visit your YouTube and downloaded 86+ video tutorials rather this blog.. Visit right now because of who is this guy force me once’s to know you .. Really I visited lots of sites for selenium find they usually started with core java which everyone started.. But after that they did not committed to selenium clearly just one example but you did fantastic job describing each web element clearly and thanks again for this because you force me to learn automation nearly 2yrs of gaps from my 4ys manual testing experience to keeping eye on in inconsistency of manual testing to current market okkkkk
Hi Rajib,
Thanks for very big applause. You are always welcome to my blog.
Hi Mukesh,
I am working in a product base company and we want start automation.
As in every sprint we are getting enhancement for all most every pages, so my understanding we should go for POM framework .
Need you suggestion and guidance.
Hi Mousami,
Selection of framework depends on what kind of applications are getting tested. What all and kind of enhancements will come up in future so that less time has to be spent on framework side. The person with what level of automation/programming language knowledge is going to create/maintain scripts…so on. A precise answer to this kind of question is a bit difficult.
Hi Mukesh
Great strop about you!
A quick question-
Either in Selenium or Protractor, how to validate a paragraph text on the webpage?
Thanks
Srinivas
Hi Srinivas,
Capture whole paragraph which mostly comes under p tag. Store it in a String variable then verity it whole or its content.
Selenium version : 3.5.1
IDE used : Eclipse Java EE IDE for Web Developers Oxygen (4.7.0)
Browser used: IE11
I am trying to click a bootstrap dropdown and then click on the links in that dropdown one by one. Then i go back to the dropdown again and then select the next link in the dropdown. I see that sometimes my script runs and opens each link.
Other times, it will open the first link and then cannot open the dropdown again to go to the second link.
I see this inconsistency in the behavior of IE.
However, my script works fine in chrome.
Do you also observe this inconsistency in behavior in IE for the websites when used with Selenium?
How can we mitigate the issues of IE11 browser with Selenium?
Hi Ambica,
There are lot of inconsistencies with IE browser. Selenium is good when combines with either chrome or firefox.
Hi Mukesh,
Can you please guide me on Creation of reports in pdf format and sending it to client automatically
Hi Thushar,
There is an API called iText which will help you to create report in pdf. Now once, pdf file gets create, use Commons API to send an email to concerned mail (check this link)
Hi Mukesh,
This is Pranitha. I am working on Selenium for the past one year. I had a question regarding dev tools. I want to open chrome developer tools while script is running so that I can capture the code from the URL. The URL shows up only when dev tools is open. So I am having hard time in opening developer tools using Selenium. Could you please suggest me? Any help would be appreciated.. Thanks!!
Hi Pranitha,
I think you can give a try to BrowserMob Proxy. For more info, kindly check this link https://bmp.lightbody.net/
Mukesh,
Please share us any video on Postman (API testing) get,put,post,delete request with storing the values in environment variables and using it with other request.
Hi Madhan,
I’ll post it soon.
public static void main(String[] args) {
System.setProperty(“webdriver.firefox.marionette”,”/usr/eclipse-wokspace/geckodriver.exe”);
WebDriver driver = new FirefoxDriver();
driver.manage().timeouts().pageLoadTimeout(1, TimeUnit.SECONDS);
driver.get(“http://learn-automation.com/”);
}
}
Hello Mukesh
I am using FireFox Quantum and Selenium version 3.7.1 version I found difficulties in open url the browser is launched but not opening webpage please help me out
Hi Mithesh,
Please use Selenium 2.53.1 with FF 46.0
Hi Mukesh,
Following your blog since long time.. great job, i think i have gone through most of your videos.
I had a question on ‘verifying broken links’ . How can it be done in nightwatch js framework. Can you please share your thoughts.
Thanks
Hi Anitha,
i haven’t tried this. May be this link will help you
Hi Mukesh,
I saw your videos you have explained about how to read excel file and how to read string/int values from excel file separately but now i want to store both string&int values in same variable & want to use that in for loop. please help on this
Hi Radha,
Read String and int values separately from excel and then append string to int or vice versa and assign it to a string type variable.
Hi Mukesh,
A question on Sikuli, if we have click links that look alike how do we click on a specific link because Sikuli makes use of patterns as shown in pic files.
For eg the following web page has similar click links, in this case how do we identify them uniquely when writing a program using sikuli
http://www.sample-videos.com/download-sample-csv.php, any suggestions? please help
Hi Hem,
Here in this case, you can directly click on each link using Selenium. Sikuli may fail over here.
Hi Mukesh
Firefox driver is not accepting profile type in the manner like as shown below.
driver = new FirefoxDriver(profile);
where
FirefoxProfile profile = new FirefoxProfile();
this comes in the way for downloading files and setting the download path, i tried to search in web for solution but could not find a suitable answer. Any suggestions?
Hi Hem,
There are few issues with Selenium 3.x. Please try with version 2.53.1 and FF 46.0
HI Mukesh,
For web service testing there are 3 videos available in you tube, do you have more videos on this topic. If yes, could you please share the details.
TIA
Hi Manjula,
I’ll upload more videos very soon.
Hi Mukesh,
Thanks for your videos , Its helping me a lot.
I have difficulty in finding web elements in one of the demo sites , as I try to select calendar and inspect element calendar pop us going. Can you please help me. with the below site..
http://demos.telerik.com/kendo-ui/datetimepicker/index
Hi Ajinkya,
Use Firefox for same
Good and detailed tutorials. Really enjoy going through them 🙂
Hi Jakub,
Thanks for your comments…Keep learning…:)
Hi Mukesh,
Your selenium videos are really helpful… It learned so many new things in very simple way… Have also recommended your lessons to all my friends..
I’m looking for collections in selenium. Specially sets, maps etc. Please can you share any video lesson which I can refer for… Thanks a lot for all the knowledge you have shared.
Hi Chaitanya,
I’ll post it soon…:)
Hi Mukesh.. i have a question on Mainframe automation using selenium..
1)Is it possible to automate mainframe using selenium?
2)If yes, any jar file or plugin you can suggest me? It would be helpful..could you please let me know any good approach which other companies are using for this..
Hi Praveen,
I never worked on Mainframe testing. And mainframe testing is more of db testing instead of functionality testing based on application UI. Selenium works only on Web UI. If your application has testing scenarios based on UI then you can ahead with UI stuffs with Selenium.
Hi Mukesh,
Could you please add a blog or video for Abstract class, user defined interface, method over riding and its practical usage in selenium automation frame work with example. this kind of questions are interviewers really focusing
Hi Mahesh,
Thanks for pointing out these topics. I’ll post some contents related to these topics soon.
hey mukesh,
I am facing problem in installtion of gecko driver and chrome driver with MAC .
@Test
public void ValidTest() {
WebDriver driver= new ChromeDriver();
System.setProperty(“webdriver.chrome.driver “, “/Users/C/driver/chromedriver”);
driver.get(“https://google.com”);
}
please correct me.
Hi Pallavi,
First of all, you have mentioned issue for geckodriver but here I can see chromedriver.
Next, if you are using chromedriver then call System.setProperty.. statement first then create chromedriver object.
HtML of drop down
HTML of text box
Hi i would like to enter Colorado as text in my text box and hit enter.
This is what i wrote , where exactly is the issue. It clicks the box element and enters “Colorado” But does not hit enter .
driver.findElement(By.cssSelector(“#s2id_regionSelect > a > span.select2-arrow”)).click();
driver.findElement(By.cssSelector(“#s2id_autogen1_search”)).sendKeys(“Colorado”);
driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);
WebElement textbox = driver.findElement(By.cssSelector(“#s2id_autogen1_search”));
textbox.sendKeys(Keys.ENTER);
If you can give me an example of entry text textbox in a dropdown and hit enter. The above is my exact question.
Hi Neeraj,
For ENTER key action, use either actions class(http://learn-automation.com/selenium-advance-activity/) or robot class(http://learn-automation.com/robot-class-in-selenium-webdriver/)
Hi Mukesh,
Need to know how to write the script in the Test NG – scenario is something like there are 3 cases and 1 test case is failing but with the use of try and catch we can easily pass the test case… i want that in the report of test ng it should show the failed test case as 1, provided that the test case which is suppose to get failed is getting passed with the help of try and catch block
it should not fail the test case and stop the post execution but it should show as failed one as failed in the test ng report.
Hi Rahul,
TestNG always looks for failure which comes from @Test annotation method. If you are deliberately handling that exception then it will always gives pass as status.
Hi Mukesh,
can you help me how to handle the google drive using selenium webdriver.
Thanks &Regards
Hi Mangesh,
You can open Google Drive right from your web browser and perform operations using selenium webdriver.
Hi Mukesh,
I have one question, What is Stale Element Reference exception? plz explain me with simple example.
Thanks.
Hi Suresh,
Please check this link http://learn-automation.com/how-to-solve-stale-element-reference-exception-in-selenium-webdriver/
Hi Mukesh,
Can you please resolve a a query of mine. I am implementing POM but i am not able to understand which approach is better @findby or ByName approach . And what is exact difference of using these two different approaches.
Thanks in advance.
Hi Rupali,
if you are going for Page Object Model then both ways are fine but if it is Page Object Model with PageFactory then use @FindBy. For more details, check this link http://learn-automation.com/page-object-model-using-selenium-webdriver/
Hello Mukesh,
I am really thanks to you.
You are included lots of Automation information and Videos in your Website and Youtube. Really, this Information is very useful for us.
Currently, i am working in Manual testing but I want to move my career in Automation Testing and in last 6 months I am continuously preparing all your documents and videos.
I hope you help me anytime.
Thanks .
Hi Aziz,
I am happy to see that you are going to learn something new in your career. You can always post your queries under corresponding topic and i’ll try my level best to reply them.
Keep automating…keep learning…:)
Hi Mukesh,
I am trying to automate application of Angular JS using Selenium but I am facing issues in Element recognition so what should be the best way so that I can automate using Selenium without getting any runtime issues of element recognition for Angular JS kind of applications, Thanks in advance
Hi Amit,
For automation of angular js based application, I would suggest you to go with Protractor. Protractor provides few more locator finder methods along with usual 8 Selenium locators. Moreover wait/sync issues will be very less while automating angular j application. Also check this link http://www.protractortest.org/#/api
how to use implicit wait in present selenium version
3.40
Hi Deepak,
The way of implementing implicit is same in Seleniun 2 & Selenium 3. Please refer this link http://learn-automation.com/implicit-wait-in-selenium-webdriver/
I am really stuck and didn’t find any way to learn automation. After doing research here and there finally i reached at your blog. And found a ray of hope. Its very structured and easy to understand everything. Thanks for making it free of cost also.
Hi Rupali,
Thanks for your appreciation. Be in touch. You can ask your doubts and i’ll try my level best to clarify….
Keep learning…:)
You are genius Dear
Thanks buddy…:)
I watched your video on youtube about Testng, you explained the contain very clearly and i could follow up with all steps. Awesome!!
Hi Priya,
Thanks for appreciation. Keep learning automation and be in touch…:)
HI Mukesh,
i want to make a self healing framework.Basically a script can fail either of 2 issues:
1.Script issue
2.Application down.
so can we devise a framework with POM so that if a script fails due to either issue#1 or issue#2 the script should re run again and try to heal(fix) the issue and give a meaningful message if still it fails
Hi Indrajit,
Please check these link http://learn-automation.com/re-run-selenium-failed-test-cases/
Hi Mukesh,
Your all videos are very very interesting and very easy to understand the subject. Keep rocking dude!!
Thanks
Hi Shital,
Thanks for your overwhelming comments….Be in touch…:)
Hi Mukesh,
I have wriiten the script to logout from the Naukri Application and i have tried using JavaScriptExecutor,Xpaths and Actions class.But none of them are working?How to resolve this issue?
Hi Ranjan,
Please share Selenuium and browser details…
I have used the following code to logout from Naukri Application and it is working fine:
WebElement logout=driver.findElement(By.xpath(“//a[contains(text(),’Log Out’)]”));
JavascriptExecutor js =(JavascriptExecutor)driver;
js.executeScript(“arguments[0].click();”,logout);
Hi Ranjan,
That is cool…:)
Hi Mukesh,
All of your videos are amazing. Could you please create videos for ExtentX (mongodb configuration)?
Hi Suresh,
Thanks, I’ll post it soon…:)
Hi Mukesh,
Is it possible to switch one instance to new instance and get back to old one?
Hi Sankar,
Whenever you instantiate driver object, it holds instance of browser being called which will be having some location in heap memory and once your script ends. gc clears off everything.
But using same script, you can create as many different instance of browser that too with different driver objects.
i have a test suite with 30 test cases. how can i run this parallel on different browsers.
i have watched all your videos but could not track how can i run a test suite with 30 test cases-cross browser testing. i would appreciate if you can reply many thanks
Hi Ali,
Please check this link http://learn-automation.com/cross-browser-testing-using-selenium-webdriver/
Your doing a great job!
Hi Meril,
Very very thanks for your comments. You’re always welcome here…:)
Hi Mukesh,
Hope you are doing good. I would like to know how to read mails from Gmail account using google API.
https://developers.google.com/gmail/api/guides/
Could you please help me on it.
Thanks in advance.
Hi Poulya,
Seems like related to RESTful API testing and I need to dig into this topic. Very soon, I’ll post a topic in my blog regarding this…:)
Hi Mukesh,
I am working on Appium, iam new to mobile automation. Our requirement is to execute our scripts in cloud(AWS). There in the AWS mobile device i am trying to invoke chrome browser but i am not able to do. could you please guide me to invoke chrome browser in virtual devices or emmulator devices.
Hi VInay,
I have done the same thing with BrowserStack http://learn-automation.com/selenium-grid-for-remote-execution/
Mukesh, I am facing one issue in selenium. I have created one main class which is accessing three other class and it is working fine. Main class, Login Class, Add brand class, List class and signout class. Now these all classes is accesses by Main class and I have set the priority with the help testng. My concern all the things are so fast while executing that I am unable to track. I have applied the “drv.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);” as well but by expanding the time it is not working. Unable to understand where to implement this implicit code. i.e. in main class or in child classes.
Hi Avishek,
Implicit and Explicit never makes the script execution slow. These waits are used in order to provide maximum time to wait for loading elements in DOM. If your is running fast without any issues then it is good.
But if you want to make it deliberately slow then use static wait.
Are this videos enough to learn selenium webdriver?
Hi Parag,
My videos are composed of Salenium basics and advanced. These are good to kickstart your selenium learning journey.
Hi Mukesh, I am getting the error using selenium 3.3.1 and firefox version 52.0.2 (64bit) : org.openqa.selenium.os.UnixProcess destroy
SEVERE: Unable to kill process with PID 5636
and I am also getting an exception: Unhandled event loop exception No more handle
So please guide me how can I solve these two things
Hi Pratap,
I am not very sure about this exception. As a solution, I would suggest you to use FF 46.0 with Selenium 2.53.1 and reply me back.
There are two test suites, And in one test suite if a test has so many methods how would run only Method1, Method2, Method3 and exclude rest and in another suite how would you make sure all methods are run? need answer for this
Hi Divya,
Use include/exclude tags against required methods. You can do this programmatically also using Java DOM Parser/SAX Parser.
Hi Mukesh,
Can you please upload the collection video. i am facing so much problem to understand the collection..
:- Ankit
Hi Ankit,
Thanks for reminding me about this. I’ll upload it soon.
hi mukesh,
Can you please upload the more vidoes working in selenium cucumber…becaz u upload very few videos
Hi Satya,
Thanks for your suggestions. I am working on these videos. Please stay tuned…:)
Hi Mukesh,
I am countering with a issue while I am running my scripts. Can you please help me to resolve the issue.
Here are logs:
Starting ChromeDriver 2.27.440174 (e97a722caafc2d3a8b807ee115bfb307f7d2cfd9) on port 6872
Only local connections are allowed.
Apr 03, 2017 3:03:18 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Attempting bi-dialect session, assuming Postel’s Law holds true on the remote end
Apr 03, 2017 3:03:21 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: OSS
org.testng.shaded.com.google.gson.JsonIOException: java.net.SocketException: Connection reset by peer: socket write error
at org.testng.shaded.com.google.gson.Gson.toJson(Gson.java:671)
at org.testng.remote.strprotocol.JsonMessageSender.writeMessage(JsonMessageSender.java:57)
at org.testng.remote.strprotocol.JsonMessageSender.sendMessage(JsonMessageSender.java:39)
at org.testng.remote.strprotocol.MessageHub.sendMessage(MessageHub.java:43)
at org.testng.remote.strprotocol.RemoteTestListener1.onTestFailure(RemoteTestListener1.java:68)
Hi Imrul,
Which version of selenium are you running with?
Hi Mukesh
Thanks a lot dude . your tutorial videos are very helpful
Hi Bala,
Thanks for your constructive comments…:)
Hello Mukesh,
I have a query i.e,. How to generate PDF email-able Report in Java-Selenium. Usually HTML report is generated.
Thank you in advance.
Hi Chaithanya,
There is an API for for this, known as iTestPDF. For more information, please refer this link https://coderanch.com/how-to/javadoc/itext-2.1.7/com/lowagie/text/Document.html
Hi Mukesh,
Thank you for the guidance. I will surely refer to the provided link.
Your tutorials are very good with neat explanation. Keep up the good work. All the best 🙂
Hi Chaithanya,
Thank you so much for such a nice feedback. Keep in touch.
Hi Mukesh,
Hope you are doing well. I am writing this mail after watching your video about the page object model in selenium. I really liked the way you have made the things simpler to understand.
Now i am having a silly question about TestNG i hope you won’t mind answering. The thing is that as you was running the test case in the video we were seeing the console output saying, “Total case : 1 Fail:0”.
Now if go on the steps our test case was not complete because we were just doing the things and not making any validations. So after the login button is clicked, we should get it check that “Welcome to wordpress” is displayed there. If yes then our case is pass otherwise in console we should see it as test case or test method fail.
Can you guide me how can i write next set of lines to code this. Because i am new to TestNG and wanted to see both sides how a test cases fails and when it will be passed.
Will be glad if you can reply or give me some link of the source to explore about this.
Hi Meghraj,
You can put assertion by checking page title after login action and this assertion you can call from your main test case.
Hi Mukesh
Have you uploaded a video for ” Download Files in Selenium Webdriver Using AutoIT Part 2″ There is part 1 only on YouTube.
Hi Saurabh,
Very soon I’ll upload it.
Hi Mukesh
i am not able to get sceenshot in desired floder.
Hi Sunil,
Check whether you have full rights to desired folder.
How to handle the controls in the webpage in selenium?
Hi Saikrishna,
Could you please elaborate…
Hi Mukesh,
I am trying to click any option on Contect click on webpage (Right click -> access option”Select All” : Able to Select the option but no action is performed.)
Hi Kirti,
Which selenium version are you using?
Hi Mukesh, I am using Following versions :
Selenium : 2.52.0
Mozilla : 26.0
Hi Kirti,
Your FF version is quite old. Please give a try to Selenium 2.53.1 and FF 46.0
hi Mukesh,
I am trying to use the Extent report functionality and want to generate a report of all the classes in the testng suite for which i have configured my testng.xml file but im not able to get consolidated report. Only the report of the last run script is displayed.
Do i need to create a need to define the TestNG listener that creates the ExtentReports reports during test execution separately??
Hi Paras,
You can define static report object inside one java class and run it as beforetest and define logger inside each classes(actual script). Call endtest in each class and flush in aftertest.
Hi Mukesh,
Im doing exactly that but the problem is, it is not running the second class. After successful completion of the first class it is aborting with status in console as 1 passed and 1 failure (both classes are mentioned in testng.xml)
No errors displayed.
Hi Paras,
Try to debug your code.
Hi Mukesh,
did that, solved the issue.
🙂
Hi Paras,
I happy to see your reply. What was the actual issue?
Hey Mukesh,
i had declared report object as non static (similar to most of the objects in my project) and even as it was not giving an error, it was terminating the code as soon as flush was hit.
🙂
Ok…..:)
Hi Mukesh,
its very nice to see such a amazing hub where we can learn many things.
well,
I am working in HCL in aerospace domain, now i want to switch into another testing domain. kindly suggest the start so i can proceed for the same.
thanks in advance……!!
Hi Abhishek,
If you have know how of Java basics then start with Selenium basics otherwise I would suggest you to start with Java basics.
Hi Mukesh,
It’s very nice related selenium. I am preparing using your site only. Will you please share captch how we can handle in selenium.
Hi Sireesha,
Thanks for nice feedback. Captcha can’t be automated in Selenium.
Best of luck for interview.
Hi Mukesh,
i had gone through your basic java videos upto single dimensional array ..your video is very good.
Can you please upload new videos on concepts of arraylist.
Hi Atul,
Thanks for your comments and I am planning to upload for same.
Hi Sir,
I need to get the attribute of “value”.because it contains date …i need to print that.but this tag is hidden in xpath.. am using this code in java selenium using maven.
@FindBy(xpath = “//div[contains(@class,’date-range’)]/input[2]”)
WebElement selecteddate;
public void printSelectedDate() {
String script = “return arguments[0].innerHTML”;
String a=(String) js.executeScript(script,ex);
System.out.println(“the selected date is ” +a);
}
While i compile this code it throws null pointer exception.i dont know sir…pls explain me
Hi Sathya,
Please check if you are able to see attribute manually. May there could be a chance like any click and some other event on page can avail the corresponding date to appear as its attribute. Again, it depends on the control which has been used in your application.
Sir, I know manual testing only n i want to learn another tools like appium, it’s compulsory to learn selenium before appium or i can directly go to appium.. . Pls tell me wat r the req to learn appium.
Hi Rakesh,
Appium is nothing but it uses seleniumy scripts. Only initial configuration and little bit of other stuffs changes but rest all remain as like of Selenium. My suggestion for you is to have basic knowledge of programming language & selenium then start for Appium.
Hi mukesh
i have a issue in selenium grid. i have started hub and also register two noe one is my local and other is remote.i am using selenium 2.53.1 with fire fox version 47.0.1.but when i try to excute script its run on local system node but creating issue in remote system with following message.org.openqa.selenium.WebDriverException: Cannot find firefox binary in PATH. Make sure firefox is installed. OS appears to be: VISTA
Hi Tarique,
Which architecture of FF are you running on node machines?
hi Mukesh,
Im working on automation for past one year.
Appreciate your help through your blog.
Had a query : how important is data structures during interviews and what about SQL
Hi Paras,
It all depends on JD.
But as automation tester, knowledge of data structures is almost must. If you have developed an UI automation framework then you might have included data structures.
SQl is another aspect. But basic know how of SQL is mandatory.
Hi Mukesh,
How to click the element once the polling time of the particular element is finished.
Hi Madhan,
Use fluentwait, check this link http://learn-automation.com/fluentwait-in-selenium-webdriver/
Hi Mukesh I have one doubt how to delete multiple emails at a time by using selenium web driver
Hi Pullareddy,
Selenium purely works on UI. If you can take select multiple email from Inbox/any other folder followed by click on Delete button then it is possible.
Hi Mukesh,
I have been reading some rows of data from an Excel spreadsheet and everything was working just fine. Suddenly my get methods only return null values for certain elements (not for all strangely enough) and I have no idea why. The values in the spreadsheet have not changed at all. Have you got an idea how to solve this? Many thanks.
Hi Been,
Give a try by using copy of existing excel file.
Hi Mukesh,
I have recently faced in one issue that was mouse over action not working in safari browser in my project but it will working remaining browser like firefox,chrome..etc. can you help me
Hi Srikanth,
Please tell me, on which OS you are running script ?
Hi Mukesh ,
I want to do hands on to JAVA first before starting with Selenium. Dis you recorded JAVA tutorials as well?
If Yes can you please share the URL.
Thanks
Hi Prateek,
Please refer this link https://www.youtube.com/playlist?list=PL6flErFppaj1M45ak-Zd2k-wxorGxvwVQ
Hi Mukesh, I am new to automation. I had a query that, I have to run set of test case(tc 1, tc2..) on multiple browser(chromee, ie…) with multiple sites(url1, url2…) . Please suggest how to go with it in Testng
Hi Avinash,
Kindly refer these link http://learn-automation.com/cross-browser-testing-using-selenium-webdriver/
Hi Mukesh, Your explanations are really good. Very convincing. Rock on. I have a simple query. What is the difference between size and length in Java say number.size and number.length?
Hi Anaga,
size method used for collection and length will be applicable for array.
Very Well explanation in all videos, I always tried to move in to automation. I start some work and left when I stuck because there was no guidence for me. One day I have seen your blogs and video i found it owesome. From that day I start learning selenium using your videos and blogs. Thanks Mukesh
Hey Shilpa,
Thank you so much for kind words. Keep learning and let me know if any help required.
hi Mukesh,
You have any idea about how to develop super test framework,
No Srikanth but i will check and if possible i will update article on this.
Hi Mukesh, Loved you video on POM. When you have time can you please post a tutorial using Python and POM ?
Hi Sree,
Thanks for your comments. I’ll post it soon.
Hi Mukesh,
I am a continuous visitor of your website learn automation and i really appreciate the amount of good work you have performed.
Currently in my project i need to integrate Axe tool with Selenium webdriver so can you please guide me how to do that and Is it possible?
Thanks in Advance!
Regards,
Vaneet Bish
Hi Vaneet,
I have not tried this but will check.
Hi Mukesh, Can you please tell me high level how to integrate TestNG with Keyword driven framework. We are using Keyword driven framework. If there is any post in your blog, Kindly send me the link. Thank you for your wonderful posts
Hi Ramesh,
You can refer this link http://learn-automation.com/testng-tutorials-for-beginners/
your explanation is too good. Can you post small example for Selenium automation framework from scratch?
Hi Satyavathi,
As such, there is an example for Page Object Model which is itself a framework. You check it on the link here http://learn-automation.com/page-object-model-using-selenium-webdriver/
Hi Mukesh,
I make dynamic path in script and it’s check in firebug also via single matching row fetch there but mostly not work during script run.
Hi Sudhir,
This mostly happens when some controls/ webtable generates dynamically. You need to take of these or else try to check dynamic xpaths from chrome browser in between execution of script by stopping the execution.
Is it possible to integrate Testng with Keyword driven frame work? By the way all your posts on this blog are awesome.
Hi Sandeep,
First of all thanks for your appreciation.
Secondly, Yes…!!! it is possible. TestNG is not specific for Selenium Automation framework. TestNG facilitates execution of scripts and makes life of Automation Tester/Developer easy.
Hi Mukesh,
Your page factory concept and Cucumber concepts are very well explained.
I would like to know that how to integrate Page Factory using cucumber. Do i have to use/call all my webelements locators(@findBy) defined in one page (the page that has constructor defined) or i can locate them in individual pages as i go further ?
Please make some more videos using cucumber if possible. Many thanks again
Hi Bharath,
This will help http://www.seleniumframework.com/cucumber-jvm-3/cucumber-jvm-and-selenium/
which is the best non-browser (Windows) automation that can be used in conjunction with selenium.
Any plans to start a tutorials on AutoIT.
Hi Alok,
I already have some post on AutoIt and Sikuli.
Hi Mukesh, Can you please tell how to write script in Selenium Junit to check that email address is valid as the field accepts all invalid emails and also duplicate emails
Hi,
Can you explain scenario ?
Hi Mukesh,
can you provide any online classes, please let me know.
my email ID: nammayalwarkranthi1982@gmail.com
thank you…
kranthikumar.n
Hi Kranthi,
I will send you soon.
hey, can you please email the protractor link?
Hi Hasan soon I will share.
Hi Mukesh,
Your problem solving posts and videos very helpful for me to be strong in selenium….
Thanks a ton!!!!
Keep posting..
Have a good day…
Thanks Soumya 🙂
Hai i am unable o install java can u please help me out
What issues you facing Sarada?
Hi Mukesh,
I’m impressed with the way you teach, I’m planning to join the paid course of framework design and want to know the details of it.
Could you please give your contact number so that I can contact with you personally.
Thanks,
Hemanth
Hi Hemanth,
I will send you details tomorrow.
Hi Mukesh,
can you provide any online clases, please let me know.
my email ID: anilkumar.s6167@gmail.com
thank you… 🙂
Hi Anil,
I will send you the details soon.
Hi Mukesh,
I am facing problem in automating Manhattan OLM product.
I used cssSelector,xPath,id…etc its throwing no such element
Can you please guide me…
Thanks in advance.
Hi Santhosh,
Please check for whether element is inside frame or not http://learn-automation.com/handle-frames-in-selenium/
nice information
Thanks Siva
Hi Sir,
your blog is really helping me to grow in my automation career, Thank u
Thanks Shubha, I am glad it is helping you. Keep check other articles too and let me know if any help required.
Hi Mukesh,
I’m very much impressed with your tutorials. I randomly found your channel in YouTube and became a fan of your YouTube channel as well as your blog.
Everyday I’m eagerly waiting for your new video.Thank you so much. Keep sharing your knowledge to us.
Hey Lakshmi,
Thank you so much and I am glad my content helped you. Keep in touch and let me know if any help required in Selenium from my side.
Happy learning.
Hi Mukesh,
We got a project to work on Xframium automation tool on top of selenium for automation .If you have any idea on this please help me out in this
Sorry ashu no idea on this 🙁
Hello Mukesh…
Good concept ..can you give me link or something where i can get assignments for practice which covers all the selenium topics
Yes kiran sure I will update on this.
Thank you so much Mukesh… cos many ppl are searching on this including me …hope you will get back on this Soon… 🙂
Sir you are just awesome. U are genius.
Thanks Anu 🙂 Keep in touch.
Hi Mukesh,
Your Tutorials are very easy to understand, motivating . Thanku so much for posting such good tutorials for us..
Keep Posting !!
Thank you so much pallavi. Keep visiting.
hi Buddy,
Please sent me the course details
Hi Janardhanan,
I will send details tomorrow.
Hello,
Really its a awesome work what you are doing.
Thanks Spandana
thanks Mukesh for your videos.. I am so happy to find you on youtube.
Hey Sonia,
Your most welcome. Keep Learning and let me know if you have any issue or help in Selenium.
Happy Testing.
Hi Mukesh,
Your blogs and videos are relly helping me a lot in Selenium. I am referring your blogs and videos for almost all the doubts I have in my code. That’s great!!
Can you let me know if you conduct any online classes??
Thanks Jahnavi, I will send you details soon.
hi mukesh, really in need of help from u.
How to handle tree view using selenium/Tree class for expanding/clicking a node in a tree .
how to specifically identify a child node
Hi Arun,
You can write dynamic xpath in this. Check below post
http://learn-automation.com/how-to-write-dynamic-xpath-in-selenium/
Hi Mukesh,
Please advise me how to create a complete automation testing project for a web application.
Means, I dont know how to integrate the scripts with each other…making resuable framework
Thanks.
Hi Karunagara,
Below course will guide you for the same http://learn-automation.usefedora.com/p/selenium-frameworks-and-selenium-question-answers/?product_id=108573&coupon_code=DIWALI50
Hello Mukesh the way you explain selenium is easily understandable.
recently I have seen some 100 interview Questions related to selenium I just wanted to know whether it covers questions related to integration tools as well like Jenkins,Cucumber,Test NG?
Hi Spandana,
This question will be enough to clear interview.
Hi Mukesh,
Can you please share the details related to purchasing online videos.
Hi ANkur,
What doubts you have in video course.
Hi Sir,I am working as a Manual tester and willing to learn automation tools .I Have seen your video tutorials on YouTube for selenium basics.The way in which you explained was really appreciate.Do you provide online training for the automation tools.If yes, then could you please send me the course duration and fees structure?
Thank you
Hi Sanjay,
I will send you details soon.
Hi Mukesh, Your journey has really been inspiring for all of us. Keep up the good work and thank you so much.. 🙂
Hey Subhasis,
Thank you 🙂 Keep in touch.
Hi Mukesh, Can we automate omniture tags from selenium? Could you please help me about it
Any example prem?
Thanks Mukesh for your training contents which helps us improve our skills,Really appreciate you for your guidance to others…
Thanks Kiran 🙂
Hi 🙂
I am newbie in software testing and I am totally lost I Will work with SoapUI . Could you please help me and provide me some useful links etc ….
Hi Natalia,
I have total 3 videos on SOAP UI https://www.youtube.com/watch?v=UTnjtpftk4k&list=PL6flErFppaj2X3bInIqkw4wYGxT6n0n6H
Perfect , I like your blogs , really helpful .
and I like your attitude and truthfulness
Thanks Jasvant 🙂
Hi Mukesh,
Your Automation Video’s very Good and undrstandble
Thanks Sekhar
Hi,
Can you please publish some articles on AutoIt?
Hey Neetu,
I added some article on my blog kindly check below
http://learn-automation.com/upload-file-in-selenium-webdriver-using-autoit/
Hi Mukesh,
Can you provide online classes
Hi Janardhanan,
I will send you details today.
Mukesh do you provide any Video Tutorials can you send me the details asap please?
Hey Bala,
I will send you details today.
Hi, Do you provide any online classes? Please let meknow
Hi Chandana,
I will send you details today.
Hi
I’m finding it difficult to locate shadow dom elements. Do you have any tutorial based on locating Shadow DOM elements using Selenium.
I have seen some of the examples today. I will write post and video on this soon.
Awesome bro, your explanations are amazing and very easy to understand. Thank you very much for your effort and Good job.
Most welcome Shalem 🙂 Keep visiting.
Good job,it is easy understandable tutorials for beginners.i am thank full to your dedications
Thanks Hanumantha, Keep visiting and share with friends too. Please let us know if you are facing any issues in Selenium.
Thanks
Mukesh
Hi,
You ppls are really doing a great job. Am becoming crazy on these tutorials. Your tutorials are too effective and easily understandable. Awesome work:)
Thanks Devi Sri 🙂
Hi sir,
I want some online dummy testing project
Hi Ashwini,
You can use below project for testing http://enterprise.demo.orangehrmlive.com/symfony/web/index.php/auth/login