Tuesday, August 9, 2016

How to automate radio button in Selenium Webdriver


Hidden elements Male Female



Normal Scenario Java C# Python Ruby



Hobbies Singing Coding

57 comments:

  1. Hi Mukesh,
    I went through your online video How to handle hidden webelements in Selenium Webdriver
    https://www.youtube.com/watch?v=2eEr0jtmpwE

    So, which is the next video in continuation of this videos.

    Thanks,
    Paramjeet

    ReplyDelete
  2. Hi Mukesh,
    I too checked your online video How to handle hidden web elements in Selenium Web driver on
    https://www.youtube.com/watch?v=2eEr0jtmpwE

    So, which is the next video in continuation of this videos, as on youtube after hidden elements its mouse hover video.Can you please let me know ..

    Thanks
    Sohail

    ReplyDelete
  3. Hi Mukesh,
    This video was really helpful!
    I'm facing challenge currently, like when I try to automate (the same web page) in different browsers, I get the 'unable to locate element' (timeout) exception in either of them ie., it runs successfully in one browser but get an exception in the other, running successfully in all 3 is hardly being possible
    Can u suggest any solution for this

    ReplyDelete
  4. Hi Mukesh,
    I'm facing issue while selecting an element from a Select dropdown, if I use dropdown.select(value)
    Instead, I'm using dropdown.sendkeys(value) in FF especially
    Can u suggest any solution for this
    Thanks!

    ReplyDelete
  5. Hello Mukesh,

    Your blog and YouTube channel on selenium are very helpful to me,I getting issues while working on dynamic Web page's, I often got stale element reference exception. Could u please help me to handle it.

    Thanks

    ReplyDelete
  6. Selenium WebDriver fits in the same role as RC did, and has incorporated the original 1.x bindings. It refers to both the language bindings and the implementations of the individual browser controlling code. This is commonly referred to as just "WebDriver" or sometimes as Selenium 2.
    Selenium Training Institute in Chennai

    ReplyDelete
  7. Amazing, thanks a lot my friend, I was also siting like a your banner image when I was thrown into Selenium.
    When I started learning then I understood it has got really cool stuff.
    I can vouch webdriver has proved the best feature in Selenium framework.
    thanks a lot for taking a time to share a wonderful article.

    Best Selenium Training Institute in Chennai
    Selenium Training Course

    ReplyDelete
  8. Hi Mukesh, how to check multiple hidden html5 checkbox's in selenium. I have tried Xpath, name but unable check multiple checkbox's. Thanks

    ReplyDelete
  9. Hi mukesh,
    could you please make a video for handling drop downs wich are having 'span' class as a tagname.

    ReplyDelete
  10. Thanks for Sharing this blog, it is very helpful to us. A good information to learners and each and every topic is easy to understand ...... Selenium Online Training

    ReplyDelete
  11. Awesome post.
    I read your blog everything is helpful and effective.
    Thanks for sharing with us.
    Java Training in Chennai

    ReplyDelete
  12. package NotClickableElement;

    import java.util.List;

    import org.openqa.selenium.By;
    import org.openqa.selenium.WebDriver;
    import org.openqa.selenium.WebElement;
    import org.openqa.selenium.firefox.FirefoxDriver;
    import org.testng.annotations.Test;

    public class HiddenElement {
    WebDriver driver=new FirefoxDriver();
    @Test
    public void hiddenElementTest(){
    driver.get("http://seleniumpractise.blogspot.in/2016/08/how-to-automate-radio-button-in.html");
    driver.manage().window().maximize();
    List radio=driver.findElements(By.id("male"));
    System.out.println("total buttons are = " + radio.size());
    for(int i=0; i0){
    radio.get(i).click();
    break;
    }
    }

    driver.quit();
    }
    }

    why this code is working with x=0 also?
    why x!=0 is taken?

    ReplyDelete
  13. public void hiddenElementTest(){
    driver.get("http://seleniumpractise.blogspot.in/2016/08/how-to-automate-radio-button-in.html");
    driver.manage().window().maximize();
    List radio=driver.findElements(By.id("male"));
    System.out.println("total buttons are = " + radio.size());
    for(int i=0; i0){
    radio.get(i).click();
    break;
    }
    }

    Why this code is working with x>0 ? sorry and not with(x=0)
    i tried with x>0

    ReplyDelete
  14. Nice tutorial iam reading your article really it is very helpful for providing a lot of information about Selenium …. Thank you Please keep share some more…………

    ReplyDelete
  15. Hie Mukesh , this Xpath is not working
    //input[@type='radio' and name='lang'] for me.. Can anyone help me out.

    ReplyDelete
  16. DIAC - We are Training industries in the field of industrial automation, industrial maintenance and industrial energy conservation. This opportunity for Fresher/Experienced ENGINEERS in terms of CORE Training And Placements. Call 9310096831.

    ReplyDelete

  17. Very Useful information Thank you!!
    TWB_ pioneered the offshore creation of technology content which was hitherto created by companies either internally or with

    ‘consultants’ hired by companies from vendors. TWB_ changed that by creating domain depth that mirrored the customer’s own

    technology capability with deep SME teams for a variety of industries including Information Technology, Defence& Aerospace,

    Engineering, Life Sciences. TWB_ Creates, Automates, Repurposes and Publishes

    Content.

    ReplyDelete
  18. Hi,
    It was very useful for me. Keep sharing such ideas in the future as well. This was actually what I was looking for, and I am glad to come here! Thanks for sharing the information with us.

    radio gospel

    ReplyDelete
  19. Excellent website. Lots of useful information here, thanks in your effort! . For more information please visit selenium Online course Hyderabad

    ReplyDelete
  20. Linux Online training in India – Webtrackker Technology is providing the linux online training with 100% placement support. If you are looking for the BEST LINUX & UNIX Training Institute In india or linux online training from india, live project based LINUX & UNIX online training then you can contact to us.

    Python online training in India, RPA Online training in India, Salesforce online training in india, AWS online training in india, Cloud Computing Online Training in India, SAS Online Training in india, Hadoop online training in INDIA, Oracle DBA online training in India, SAP online Training In india, Linux Online training in India








    ReplyDelete
  21. Thanks to share.Selenium is one of the leading and demanding automation testing tool where the process of software testing will be done using automation scripts.
    selenium training in Bangalore

    ReplyDelete
  22. This is one awesome blog article. Much thanks again selenium Online course Hyderabad

    ReplyDelete
  23. I really enjoy the blog.Much thanks again. Really Great. selenium Online course Hyderabad

    ReplyDelete
  24. I really enjoy the blog.Much thanks again. Really Great. selenium Online Training Hyderabad

    ReplyDelete
  25. Rated Best PLC, SCADA, DCS, HMI, Motors, AutoCAD Industrial Automation training company in Noida, Delhi NCR & offers hands on experience with placement support. We are conduct this course in Regular Training, weak end training, Short term training, Six Months training, Summer/winter training & Customized training for Incampus/colleges. Get details on +91- 9310096831.

    ReplyDelete
  26. That is very interesting I love reading and I am always searching for informative information like this.

    RPA Training in Hyderabad

    ReplyDelete
  27. Hey Friends....
    DIAC offering 2 months industrial training with placement and also gives participation certificate. Actually it’s automation, how machine works automatically in industries and it’s about ME, ECE, EEE, EE, IC.
    Interested students call at 91-9310096830/31 and register yourself for training.

    ReplyDelete
  28. Thank you for your post. This is excellent information. It is amazing and wonderful to visit your site.
    sap gold partners in north america

    ReplyDelete
  29. Awesome, very nice blog. I like it. thanks for sharing valuable information about software testing it really helpful post.

    Selenium Coaching in Bangalore

    ReplyDelete
  30. I have read your blog its very attractive and impressive. I like your blog selenium Online Course

    ReplyDelete
  31. Really very informative and creative contents. This concept is a good way to enhance the knowledge of Autocad.thanks for

    sharing please keep it up
    Software Testing Training in Gurgaon

    ReplyDelete
  32. Best PLC Training in Noida, Delhi NCR: DIAC offers best plc training in Delhi NCR @ affordable course fees. 100% Job Assistance. Call today @9310096831

    ReplyDelete
  33. This is one awesome blog article. Much thanks again selenium Online Course

    ReplyDelete
  34. Excellent Sharing. You have done a great job. I gathered lots of new information... Selenium Training in Chennai | Selenium Training institutes in Chennai

    ReplyDelete
  35. Worth reading. Post gains everyone’s attention. Keep writing.nata coaching centres in chennai

    ReplyDelete
  36. This information you provided in the blog that is really unique I love it!! Thanks for sharing such a great blog. Keep posting..
    Summer training in Noida

    ReplyDelete
  37. This concept is a good way to enhance the knowledge.thanks for sharing. please keep it up selenium Online Training

    ReplyDelete
  38. HMI Training in Noida has been designed as per latest industry trends and keeping in mind the advanced HMI course content and syllabus based on the professional requirement of the student; helping them to get placement in Core companies and achieve their career goals. At DIAC HMI training is conducted during day time classes, weekend classes, evening batch classes and fast track training classes. Call immediate 9310096831.

    ReplyDelete
  39. HMI Training in Noida has been designed as per latest industry trends and keeping in mind the advanced HMI course content and syllabus based on the professional requirement of the student; helping them to get placement in Core companies and achieve their career goals. At DIAC HMI training is conducted during day time classes, weekend classes, evening batch classes and fast track training classes. Call immediate 9310096831.

    ReplyDelete
  40. Thanks a lot for posting this post, Your post has always been an informative source for me.
    Raw Edge Belt Manufacturers

    ReplyDelete
  41. Web Expert India are a popular and reputed website design and development company in India.Our Delhi based young professionals are highly dedicated and concentrate on availing quality services to our precious clients. We have a good clientage from all over India.
    VIEW MORE Web Designing Company in india, Delhi
    Thankyou..

    ReplyDelete
  42. This concept is a good way to enhance the knowledge.thanks for sharing. please keep it up selenium Online Training Hyderabad

    ReplyDelete
  43. Best Automation PLC SCADA Courses Training Institute | Industrial Training | Robotics Training 91-9818293887
    DIAC Providing job oriented training global certification with 100% placements. DIAC Authorized training center for PLC automation corporate Training, Machine, Industrial Automation, Building Management System, SCADA, DCS, HMI, VFD, Control Panels, Robotics Training. Call @91-9953489987.

    ReplyDelete
  44. We provided all PLC training in Noida with some more industrial training programms at affordable price with quality course by professionals. After training, we will give you PLC training certificate. Call @9953489987.

    ReplyDelete
  45. Summer Training in PLC SCADA is a modular 4/6 weeks course, regularized over 5 days a week, 2 hrs a day, and exclusively includes practical sessions with affordable course fee, placement solution and provide 1 year membership card or certicate to the participants. Call @9953489987/9310096831.

    ReplyDelete
  46. I am really happy with your blog because your article is very unique and powerful for new reader.
    Selenium Training in Chennai

    ReplyDelete