Selenium Tutorial series | Tamil | PART 7 - Working with Drop Downs | Selectable components

Поділитися
Вставка
  • Опубліковано 27 лис 2018
  • Drop Downs are inevitable in any Web application. Knowing how to handle the Drop Downs is one of the crucial tasks in Selenium. #selenium #java #tamil #arulprasath #DropDowns
    Best way to reach me (replies will be faster): UA-cam comment section
    Also, you can follow me on Facebook and Instagram.
    Facebook: bit.ly/2TqPlis
    Instagram: bit.ly/2Ez36rH
    What will you learn:
    1. What is drop down?
    2. Class in Selenium responsible for Dropdown
    3. How to select a value from drop down.
    Visit my blog : www.learnautomation.online

КОМЕНТАРІ • 159

  • @04mamatha
    @04mamatha 2 роки тому +7

    I have seen many java programming and selenium videos, I never understood any concepts even after watching multiple times... But by gods grace my husband found this and told me to watch, and you know what bro, I just fell in love with programming... Thank you soooooo much for explaining so well.... Every concepts and every video is awesome 😄😄😄😄👏👏👏👏 I have 4yrs exp in manual and wanted to move to automation and here im.... Once again thank you so much and may God bless you and lift higher bro🥰 pls make fresh videos on complete java course.... Thank you bro😄👏

  • @kavithanarasimhan5081
    @kavithanarasimhan5081 2 роки тому +4

    Your videos understandable and easy to learn. Initially i was worried about java coding but now i find it easy. Brother can u put all these small hints or important questions asked during interviews in one single video. which will be more useful

  • @lifeisshortnanba7205
    @lifeisshortnanba7205 3 роки тому +1

    Brother amazing ...clear ah puriyuthu brother...keep doing 😊❤️

  • @vigneshvichu3499
    @vigneshvichu3499 2 роки тому

    Thanks u sir.. ur way of speaking is really good...it's giving me a intrest to study more thanks a lot sir

  • @singarijes735
    @singarijes735 2 роки тому

    Very useful video excellent explanation thank you so much sir.

  • @sarathbabu501
    @sarathbabu501 3 роки тому

    Super bro, Crystal clear :)

  • @sathyasakthi125
    @sathyasakthi125 4 роки тому

    Nice bro...u r doing great...keep going...

  • @malathisaravanan28
    @malathisaravanan28 4 роки тому

    Super a solli tharinka.. Thanks a lot

  • @sowmyadevi3661
    @sowmyadevi3661 4 роки тому

    Your really awesome 👏🏻 thank you so much

  • @Anukarthik17
    @Anukarthik17 2 роки тому

    super bro. keep rocking.

  • @thirupathijanadhan1900
    @thirupathijanadhan1900 4 роки тому

    Loved you videos❤️

  • @DineshKumar-wn4lu
    @DineshKumar-wn4lu 3 роки тому +4

    Hello Sir, I'm Dinesh Kumar. Recently I got a job as automation tester. In My 1st task I'm facing some challenge on drop-down with dynamic table(Using Prime Face libraries). I'm unable to use Select class for handle this drop-down.Can u please help me for this case. looking forward for your response

  • @umadevim5729
    @umadevim5729 5 років тому +1

    You are explaining very well.. good to go..

  • @abarnajayachandran1298
    @abarnajayachandran1298 2 роки тому

    Hi Arul, One doubt , by using sendKeys method can we able to select value only in static dropdown or in dynamic dropdown also ?

  • @achuachu8909
    @achuachu8909 3 роки тому

    helo sir..having one doubt..i want to print the selected options as well as unselected options is there any way to print unselected options in a list of options

  • @jaishiva4356
    @jaishiva4356 3 роки тому

    Sir what method can be used to get the total count of dropdown list value.

  • @karthickprakasam622
    @karthickprakasam622 Рік тому

    Hi @LearnAutomationOnilne
    Plz guide me how to find all options in drop-down and I would like to verify that particular option is available in drop-down or not by passing text.

  • @arunragavan442
    @arunragavan442 4 роки тому +1

    bro 1st dropdownbox matum dha selenium select...!!! aguthu 2nd 3rd laaam????

  • @rekajanagaraj9495
    @rekajanagaraj9495 4 роки тому

    Hello Anna, I couldn't click(select) from the dropdown. I got this error: TypeError: 'NoneType' object is not callable. Please help me to find this error
    and I am doing with python selenium. Thanks

  • @ABDURRAHMAN-rl8mh
    @ABDURRAHMAN-rl8mh Рік тому

    What font style u r using brother.. Its really nice.can u tell me the name.

  • @divyapriya9152
    @divyapriya9152 Рік тому

    Hi Brother. I could able to easily understand your concept.But one small doubt. Please say me what we will the output for list of options in print output

  • @sakthii7749
    @sakthii7749 4 роки тому

    Hi how to select before the last element in dynamic changing dropdown share a link thanku

  • @janarthananchandrasekaran6080
    @janarthananchandrasekaran6080 Місяць тому

    Can u pls provide the test leaf url to practice

  • @Littlememories29
    @Littlememories29 3 роки тому

    hi can u tell me the method for scroll the window down ..

  • @gayathri8461
    @gayathri8461 4 роки тому

    Can you please tell why 1st drop down only selected in final output . What about 2nd and 3rd

  • @jeganathann6696
    @jeganathann6696 4 роки тому +1

    I am facing an issue when inspect kendo drop down list in grid.

  • @sathishgajendran7637
    @sathishgajendran7637 11 місяців тому

    Hi Arul! how to automate dropdown without Select class

  • @solo.entertainment2064
    @solo.entertainment2064 Рік тому +1

    Bro multiple select ku for loop use panni pannikalam la

  • @surendarpapu
    @surendarpapu 2 роки тому +1

    Hi Professor, earlier i was thinking that learning programming languages are such a big task but after seen your way of teaching in videos I'm really very much interested to learn and came to know that programming languages are not big one. Thanks a lot for your dedicated service without expecting anything from your viewers. Its a great thing and really it would be appreciated. Once again thank you so much professor.
    And i have one doubt in this tutorial - here you have used "size" to get no of elements are there in drop down. But in earlier tutorial you had used "getsize" to bring their size of text button. So can you please help me out for this different.

    • @LearnAutomationOnline
      @LearnAutomationOnline  2 роки тому +3

      size is a function to calculate the elements in the list. getSize is a selenium function to find the height and width of a given element.

    • @surendarpapu
      @surendarpapu 2 роки тому

      @@LearnAutomationOnline thanks a lot for your prompt reply Professor.

  • @Mini_Bytez
    @Mini_Bytez 2 роки тому

    Sir oru doubt.. future reference kaga dhana variable create panni store pandrom.. adhu create pannama like last video indha drop-down box test panna mudiuma??🙄🙄

  • @preethisaminathan3032
    @preethisaminathan3032 3 роки тому

    How to code wait time and css selector...could you please help on this

  • @mohanasundari7379
    @mohanasundari7379 2 роки тому

    Xpath copy panama syntax oda erukadhu la ec ah find out panra mari solunga

  • @jayanthimurugesan1621
    @jayanthimurugesan1621 2 роки тому

    Last multiselectbox is not working even though there is no logic mistake kindly help me, is there any other way to select all elements together? Thanks in advance

  • @MrSundayTalkies
    @MrSundayTalkies 5 років тому

    I have a doubt. how to select a sub-drop down option which is dependant on a drop-down options and that sub-drop down option is enabled only after the first drop down index value is selected

    • @LearnAutomationOnline
      @LearnAutomationOnline  5 років тому

      You have to interact with the first drop down. For example, lets say there is a country drop down, if you select that, you will have another drop down with the states. So if you perform the first option, then the second one will be available and you can select the states from it.

  • @sattanathanvetri3469
    @sattanathanvetri3469 9 місяців тому

    Hi. A interviewer asked me how to handle dynamic drop-down,how to explain bro?

  • @user-qd1cd6fv5n
    @user-qd1cd6fv5n Рік тому

    Hi sir, selenium advance playlist irukum ma...

  • @AbdulRasheth
    @AbdulRasheth Рік тому

    usefulll

  • @reshmab7005
    @reshmab7005 2 роки тому

    Hi bro
    Its not working if i try to use select by text for second dropdown
    I even changed the select object name
    Can yu pls guide me bro

  • @benittoraja5957
    @benittoraja5957 2 роки тому

    Super

  • @Lakshmi-mb9jj
    @Lakshmi-mb9jj 2 роки тому

    Hi sir , you said index value is starts with 0 but in multiple select 0th position is not working

  • @saravananrajendran6246
    @saravananrajendran6246 4 роки тому

    Bro i saw your video and try one sample program with both text box and dropdown box combination after execute the program it will run upto the text box only there is no movement in dropdown list box and my program is correct i cant able to identify the error could you please guide me Send me your mail id i will send The Screenshot so that u will able to identify the mistake

  • @LogeshwaranUS
    @LogeshwaranUS Рік тому

    anna vera method iruku nu sonniga la atha vachu oru video poduga

  • @persispricillaa4128
    @persispricillaa4128 Рік тому

    This code is not working for Kendo Dropdowns...Pls hlp me anna

  • @geetharajendren6964
    @geetharajendren6964 2 роки тому

    Hi Arul, Your video's are very clear to understand. I have tried dropdown "Get the Number of options" but it is showing error "Exception in thread "main" org.openqa.selenium.support.ui.UnexpectedTagNameException: Element should have been "select" but was "option", and also try to sendkeys " dropdown1.sendKeys("Cucumber");". Unable to point out the dropdown field. can u please clarify the issues.

    • @LearnAutomationOnline
      @LearnAutomationOnline  2 роки тому

      That means u haven’t given the correct locator for select web element. Instead of providing the select you gave one of the options tag.

  • @jeyamuthumech
    @jeyamuthumech 2 роки тому

    bro number of DropDowns options print ahituka ilayanu console kamikala

  • @saravanakumar5464
    @saravanakumar5464 2 роки тому

    Hi sir, Select select=new Select(dropdown1); this line not understand sir. So, pls explain this line sir

  • @dhivya5262
    @dhivya5262 Рік тому

    Please give some other website for the practice because leaf ground is not working

    • @LearnAutomationOnline
      @LearnAutomationOnline  Рік тому

      If you haven't subscribed and enabled notifications , pls do. I have already updated a practice website. Refer community posts. It will be difficult for me to repeat the same things over and again.

  • @deepikavijayasekaran4353
    @deepikavijayasekaran4353 3 роки тому

    Hi sir, since the exception is thrown by main method and jvm will terminate the program seeing thread.sleep .How is the program working completely normal here? Can you please tell me

    • @LearnAutomationOnline
      @LearnAutomationOnline  3 роки тому

      If you put the sleep after the line which will throw exception, u will get exception and not a normal execution. If u put it before, the process will be suspended for given time, and by the time it resumes, the elements will be available and there is no place for exception

  • @gayathribaskaran6126
    @gayathribaskaran6126 5 років тому

    3 in line 25 is not inside double codes. Whereas 2 & selenium in lines 26 & 27 respectively r inside double codes. May I know the reason. When to choose double coeds & when not to.

    • @LearnAutomationOnline
      @LearnAutomationOnline  5 років тому +1

      If we select by index method number. Integer will not be inside double quotes. Whereas, string will be inside double quotes. Select by visible text and select by value requires string value.

  • @bavithrabalu7511
    @bavithrabalu7511 2 роки тому

    Anna Multiple selectla user type panramari irundha.. Epdi anna command kudukuradhu..

  • @soundaryad6004
    @soundaryad6004 Рік тому

    Thanks bro

  • @PK-xs6is
    @PK-xs6is Рік тому

    Hi bro i have one doubt. I want total num of drop-down box on web page. And select last value from last dropdown box.

    • @LearnAutomationOnline
      @LearnAutomationOnline  Рік тому

      This is not doubt. Its your requirement. Pls try to understand the concepts and try on your own. If you have any doubts, feel free to ping.

  • @parthiremo7799
    @parthiremo7799 2 роки тому

    4th testbox size code pannom la...adhuku output varala...neengalum video la athukana output cover pannala...plzz teach that

  • @jaiganesh4846
    @jaiganesh4846 4 роки тому

    Hi sir, Please do a video for drag and drop.

  • @zainmuzammil2884
    @zainmuzammil2884 4 роки тому

    HI Arul...How to select multiple dropdown options with" findElements" instead of "findElement"?? And how to select option in dropdown using keyboard UpDown Arrow keys? Whats the code for that?

    • @LearnAutomationOnline
      @LearnAutomationOnline  4 роки тому

      Findelements can be used only if there are more than one web element. For example getting the list of images, links in a particular page. If you want to use key press event, use robot class. Pls refer to file upload video, have explained key press nd key release event

    • @zainmuzammil2884
      @zainmuzammil2884 4 роки тому

      @@LearnAutomationOnline Hats off dear friend!!

  • @gowthampn743
    @gowthampn743 5 років тому +1

    In your previous video (working with buttons) you have used Point class, and no objects are created for that with a new keyword.
    But in this video, you have created an object for select class.
    why? and how to differentiate btw these?

    • @LearnAutomationOnline
      @LearnAutomationOnline  5 років тому +4

      These are the basics of selenium. If you are going to select from a drop down, we have to create object for select class. That's mandatory. Point class will either be an interface or an abstract class. For interface or an abstract class, we can't create objects. Point class acted as a data type to store the points. When you watch the java playlist, you will understand this. For now, just remember, if there is a drop down with select in the html tag, you have to use select class.

    • @gowthampn743
      @gowthampn743 5 років тому

      ​@@LearnAutomationOnline Thanks for your quick reply.
      It's Okay then, I don't wanna skip or jump to it right now. Let me continue to watch these videos in sequential. Hope my doubts will be cleared once I complete the Java videos.

  • @krishnakrishnaaa9401
    @krishnakrishnaaa9401 2 роки тому

    Hi,
    I am unable to proceed with the member ship payment option , Can you please help on it ..... ?
    Gpay number ?

  • @unleaseguy
    @unleaseguy Рік тому

    U didn't show the printed output of Number of options

  • @karthikeyansugumar20
    @karthikeyansugumar20 5 років тому +1

    In line 37 when i copied the xpath i get //*[@id="contentblock"]/section/div[6]/select/option[1] & due to this i get error. In ur video the xpath is //*[@id="contentblock"]/section/div[6]/select. So i removed the extra /option[1] and there was no error. I copied the xpath twice & always i get //*[@id="contentblock"]/section/div[6]/select/option[1] . Not sure why i get the extra /option[1]. Can u help me with this?

    • @LearnAutomationOnline
      @LearnAutomationOnline  5 років тому +1

      You are selecting the drop down first and inspecting from 1st option. That's why the first option is getting added. In drop down, we will have to first identify the whole drop-down instead of selecting the first element.

    • @karthikeyansugumar20
      @karthikeyansugumar20 5 років тому

      @@LearnAutomationOnline ok got it. Thanks

  • @Introvert_Explorer791
    @Introvert_Explorer791 2 роки тому

    interview qtns pdf ha iruka bro iruntha send panunga live classes or teams class conduct panra idea iruntha slunga join panikren real project mari build panra mari maven testng lam vaichu selenium la web based ui automation panra mari

    • @LearnAutomationOnline
      @LearnAutomationOnline  2 роки тому +1

      No plans for live classes. No PDFs for interview question. But if u refer the Playlist tab, creating real projects, interview questions, maven. Everything is there.

  • @sheikabdullah6540
    @sheikabdullah6540 Рік тому

    H Bro, Firstly your explanation is very good. Thank you for the clarity. i have one doubt on this. for multiple option select in the dropdown insterd of puting one by one, can we use for loop like this ? kindly reply it ASAP please.
    WebElement MultiSelect = driver.FindElement(Bu.XPath(“Path of the copied inspect elements”));
    Select MultiSelectBox = new Select(MultiSelect);
    System.out.println(“MultiSelectBox.Size()”);
    For(i=1;i

    • @LearnAutomationOnline
      @LearnAutomationOnline  Рік тому +1

      Yes you can. But it depends. Sometimes you may get stale element exception. Based on how the UI is designed

    • @sheikabdullah6540
      @sheikabdullah6540 Рік тому

      @@LearnAutomationOnline Okay, Thank you for the Reply !

  • @karthibanvenkatachalam5803
    @karthibanvenkatachalam5803 4 роки тому

    Sir y we can't able to give multiselect in the same select class??

    • @LearnAutomationOnline
      @LearnAutomationOnline  4 роки тому

      There are no select all options in selenium. However, we can use get options method to fetch the drop down values, and iterate through them to get the values.

  • @karthigamuthusamy810
    @karthigamuthusamy810 5 років тому +1

    When I add List it show error like" the type is not generic ,it cannot be parameterized with argument".pls help me to resolve th problem.i like your way of teaching.

    • @LearnAutomationOnline
      @LearnAutomationOnline  5 років тому

      Are you using the W as caps for the webelement Or is the same way as you have mentioned in this comment?

    • @karthigamuthusamy810
      @karthigamuthusamy810 5 років тому

      I used caps w only.even through it throws errors.where I did mistake.pls help

    • @karthigamuthusamy810
      @karthigamuthusamy810 5 років тому

      For list which file to import?

    • @LearnAutomationOnline
      @LearnAutomationOnline  5 років тому

      I think you have imported wrong list. The import statement should be import java.util.List . If you have used some other list in the import statements. Like java.awt also is having a class called list. Remove that one and use util.list.

    • @LearnAutomationOnline
      @LearnAutomationOnline  5 років тому

      I have already replied to your other comment. List should be from java.util

  • @sethuv2475
    @sethuv2475 5 років тому

    Hi Arul,
    First and foremost million thanks for all your effort. The leafground.com is not available now and for the sake of handson i used seleniumeasy.com site. But somehow the functionality that you taught in this video was not working properly. I checked using various method but no luck. Kindly review and let me know if am making any mistake.
    //Code starts here
    package seleniumDemo;
    import java.util.List;
    import org.openqa.selenium.By;
    import org.openqa.selenium.WebDriver;
    import org.openqa.selenium.WebElement;
    import org.openqa.selenium.chrome.ChromeDriver;
    import org.openqa.selenium.support.ui.Select;
    public class DemoDropDown {
    public static void main(String[] args) throws InterruptedException {
    // TODO Auto-generated method stub
    //load the webdriver
    System.setProperty("webdriver.chrome.driver", "C:\\Users\\vaithse\\Desktop\\SETHU\\Selenium\\libs\\chromedriver.exe");
    WebDriver driver = new ChromeDriver();
    //Load the Webpage
    driver.get("www.seleniumeasy.com/test/basic-select-dropdown-demo.html");
    //Load the drop down select class
    WebElement ddSelect = driver.findElement(By.id("select-demo"));
    Select dpdwnSelect = new Select(ddSelect);
    //Select the desired value using "selectByValue" attribute
    dpdwnSelect.selectByValue("Wednesday");
    //Select the desired value using "sendkeys" attribute
    ddSelect.sendKeys("Monday");
    //Select the desired value using "selectByVisibleText" attribute
    dpdwnSelect.selectByVisibleText("Friday");

    //Retrieve the number of options in the drop down
    List listoptions = dpdwnSelect.getOptions();
    int totalddoptions = listoptions.size();
    System.out.println("Total no of drop down options: "+totalddoptions);

    //MultiSelect from listbox
    WebElement multiselect = driver.findElement(By.xpath("//*[@id=\'multi-select\']"));
    Select multiselectbox = new Select(multiselect);
    multiselectbox.selectByValue("California");
    //Thread.sleep(3000);
    multiselectbox.selectByValue("Florida");
    //Thread.sleep(3000);
    multiselectbox.selectByValue("New Jersey");
    //Thread.sleep(3000);

    //Click FirstSelected button to retreive the 1st selection made
    driver.findElement(By.xpath("//*[@id=\'printAll\']")).click();
    /*above line should return all those which are selected. But it returns just the last selection. When tried doing manually from the site it is working perfectly.*/
    }
    }
    //Code ends here
    Once again thank you so much!!

    • @LearnAutomationOnline
      @LearnAutomationOnline  5 років тому

      Will try this code and let you know Sethu.

    • @LearnAutomationOnline
      @LearnAutomationOnline  5 років тому

      the leafground site is available on this URL, if you want, you can make use of this. testleaf.herokuapp.com/

  • @manikandankm3974
    @manikandankm3974 5 років тому

    Bro .. Please tell how to use firebug and firepath on firefox now as they no longer available in firefox.. Is there any alternative ? Please tell me

    • @LearnAutomationOnline
      @LearnAutomationOnline  5 років тому

      Like chrome, Firefox also is having built-in options to copy xpath. There is no need of firebug or firepath.

    • @manikandankm3974
      @manikandankm3974 5 років тому

      @@LearnAutomationOnline Thanks bro . Could you please put a video about explaining the LIST collection and WEB ELEMENT ? I Only know Web element is an interface but when trying to understand the line " WebElement element = driver.findElement" i am not able to make myself clear . It would be good if you explain about Webelement interface

    • @LearnAutomationOnline
      @LearnAutomationOnline  5 років тому

      For list and other collection types refer to my java crash course playlist. There's nothing much to explain web element interface. Just think of it as a data type in case of confusion. Integer value will be stored in integer data type. Same way, element that we find on. the web stored on webelement.

    • @manikandankm3974
      @manikandankm3974 5 років тому

      @@LearnAutomationOnline Thank you .

  • @sukanyamuthu8937
    @sukanyamuthu8937 4 роки тому

    brother in the LIST why neenga element oota id ,name or xpath copy pannala.

  • @mohamedarif4620
    @mohamedarif4620 4 роки тому

    Sir Fluent topic la epo bro varum ilana athu nenga teach panra syllabus la iliya

  • @karthickg9931
    @karthickg9931 4 роки тому

    Sir...What's the difference between selectByvisibletext() and dropdown selection using sendkeys() ?? Can you pls reply? :_)

    • @LearnAutomationOnline
      @LearnAutomationOnline  4 роки тому

      No difference. Ita all different options available for us. A bike has kicker, and self start as well. Ays of doing is different but the purpose is to start the vehicle. Same way.

    • @karthickg9931
      @karthickg9931 4 роки тому

      @@LearnAutomationOnline ok sir... Great... Thanks for your reply... I'm getting an error while using sendKeys() fn..not able to send string values through it.. The error is... The method sendKeys(CharSequence[]) of the type WebElement cannot be used with argumets(String).

    • @LearnAutomationOnline
      @LearnAutomationOnline  4 роки тому

      Have replied to your other comment which had this question. Change your compiler level in eclipse. For details refer that comment

    • @LearnAutomationOnline
      @LearnAutomationOnline  3 роки тому

      A testers job is to test only the functionality of the web applications. Not modifying html codes. If u are a tester at Facebook, u will check if u can login, make a post, edit post, delete post etc. How will u do this? Manually, u will know where to enter the username, password and so on.. but when using automation, u have to instruct the code, on where to do and what to do...

  • @Shadha_yadhava
    @Shadha_yadhava 3 роки тому

    where is the advanced courses inselenium, can anyone please tell me ?

    • @LearnAutomationOnline
      @LearnAutomationOnline  3 роки тому

      Refer the playlist tab. You can see the videos clubbed together under different categories

  • @vidhyamohan9576
    @vidhyamohan9576 4 роки тому

    Hi Anna,
    How to get value of drop-down.eg-i need to print the value selenium .how to get that value

    • @LearnAutomationOnline
      @LearnAutomationOnline  4 роки тому

      Use gettext method and print it.

    • @vidhyamohan9576
      @vidhyamohan9576 4 роки тому

      @@LearnAutomationOnline Great .Thank you anna.but I need to print particular value.this gettext method gives all values of drop-down

    • @LearnAutomationOnline
      @LearnAutomationOnline  4 роки тому

      Using get options method fetch all the value, store them in a list. From that you can fecth every single value

    • @vidhyamohan9576
      @vidhyamohan9576 4 роки тому

      @@LearnAutomationOnline Got it. Thank you☺️

  • @sweathaswe3514
    @sweathaswe3514 Рік тому

    Hi Sir , I have one doubt ..How to select the dropdown value if the html tag is not used as "select".

    • @Sapna54444
      @Sapna54444 Рік тому

      Same doubt got any idea?

    • @LearnAutomationOnline
      @LearnAutomationOnline  Рік тому

      You can use find elements function and iterate through the values. Reference: stackoverflow.com/questions/36848352/how-to-select-value-from-dropdown-without-using-select-class-becuase-in-have-dr

  • @manoece1878
    @manoece1878 4 роки тому

    Bro multiple drop down did not work my laptop

  • @suryan4131
    @suryan4131 4 роки тому

    without using select how you will do drop down....can you explain

    • @LearnAutomationOnline
      @LearnAutomationOnline  4 роки тому

      If it's a select tag based drop down. You have to use select class only. Or else you can try using JavaScript executor.

    • @DineshKumar-wn4lu
      @DineshKumar-wn4lu 3 роки тому

      @@LearnAutomationOnline Can you please tell us how to do that sir

  • @jegatheshsakthivel3793
    @jegatheshsakthivel3793 2 роки тому

    Select cannot be resolved to a type nu varuthu bro!!!

    • @LearnAutomationOnline
      @LearnAutomationOnline  2 роки тому

      Import selenium select class or like I said in many videos, use control space to generate code

  • @dineshroger1535
    @dineshroger1535 3 роки тому

    What if we have 100 index in multiselectbox??

  • @MrTOWNCHANNEL
    @MrTOWNCHANNEL 2 роки тому

    new ethuku use panrom nu soluga bro

    • @LearnAutomationOnline
      @LearnAutomationOnline  2 роки тому +1

      To create an object in java new keyword is used. If u r a beginner I recommend u to watch from part 1 of selenium

    • @MrTOWNCHANNEL
      @MrTOWNCHANNEL 2 роки тому

      @@LearnAutomationOnline part 1 la erunthu thaa bro watch pannitu practice panren ...part 8 varaikum beginner level completed .... Useful la eruku broo ..... Anthaa new ethuku nu clear explanation therilaa athn keten broo

    • @MrTOWNCHANNEL
      @MrTOWNCHANNEL 2 роки тому

      @@LearnAutomationOnline actually nan training institute la um course eduthuruken bro .... Software testing ,java , html css js angular .....nan testing la tha join pana keten but combo nu development tu kum kututhaga join panniten but romba confuse aiten testing olunga concentration panna mutilaa .... Epo thaa development venam nu decide pannitu .... thirumba unga videos pathu learn pannitu eruken broo automation ..... thankyou bro romba useful laa eruku learn pannirlam nu confident eruku unga video pathathum.....

    • @MrTOWNCHANNEL
      @MrTOWNCHANNEL 2 роки тому

      @@LearnAutomationOnline bro neenga solratha follow panna lai pothum laa interview questions ku..... interview crack panirlam la broo .... I have one more doubt testing laa communication English entha level laa theva padum broo .... Basic ka tha therium enaku athn kekuren..... technical skill la vachi move panlam nu nenaikuren broo .... Ethathu suggestions soluga broo

  • @lekha8144
    @lekha8144 3 роки тому

    Hi bro..Am a complete beginner of testing. So that I have this doubt. Can u tell the realtime of testing. Means here we did only send keys, append, click, etc...
    1. How to test the web application using these operations?
    2. Can weable to change the values of html codings?
    I Don't understand this. Pls clear my doubt.

    • @LearnAutomationOnline
      @LearnAutomationOnline  3 роки тому

      A testers job is to test only the functionality of the web applications. Not modifying html codes. If u are a tester at Facebook, u will check if u can login, make a post, edit post, delete post etc. How will u do this? Manually, u will know where to enter the username, password and so on.. but when using automation, u have to instruct the code, on where to do and what to do...

    • @lekha8144
      @lekha8144 3 роки тому

      @@LearnAutomationOnline which means in our code we need to enter / modify/ do the operations to check the functionality. Suppose user typed unwanted / missed some texts or for eg in email box, if user typed without @, then alert box should display. Like that we need to code. Isn't it? Apart from functionality what test?

    • @LearnAutomationOnline
      @LearnAutomationOnline  3 роки тому

      @@lekha8144 for instance if the user is not entering a valid data for an input field, then the user should see an error or warning message. this comes under client side validation. Meaning, on the browser itself the dev team will do these validations instead of taking it to the server. The tester has no part in it. Having said that, the tester has to check if he or she is seeing the error message for invalid data. It's not a tester's job to write business logic and behavior of the application.

    • @lekha8144
      @lekha8144 3 роки тому

      @@LearnAutomationOnline understood bro. Fixing is dev job. We have to inform them the occurance of errors if so. Tx

  • @lifeisshortnanba7205
    @lifeisshortnanba7205 3 роки тому

    Brother neenga entha ooru brother.. java ethum teach panringala?

  • @praveen71989
    @praveen71989 2 роки тому +1

    This was the code i used for multiselect. programme is running but not selecting the variables
    WebElement sixthdropdown=driver.findElement(By.xpath("/html/body/div/div/div[3]/section/div[6]/select/option[1]"));
    Select multiSelectBox=new Select(sixthdropdown);
    multiSelectBox.selectByIndex(1);
    multiSelectBox.selectByIndex(2);
    multiSelectBox.selectByIndex(3);

    • @ravihari3717
      @ravihari3717 2 роки тому

      Bro have you find the solution? me too facing the same probelm.

  • @wildsparkkennel6134
    @wildsparkkennel6134 Рік тому

    Hi, anybody can help me how to solve this: am writing this below mentioned select class
    WebElement element = driver.findElement(By.xpath("//span[@id='month']//span[@class='next-select-inner']"));
    Select select = new Select(element);
    the "Select" is change like this : "org.openqa.selenium.support.ui.Select select = new org.openqa.selenium.support.ui.Select(element);"
    how to slove this.

  • @sendrayannallasamy7109
    @sendrayannallasamy7109 5 років тому

    Dear Sir, In the "List" i am getting red underline when i move the cursor onr, but i am getting only "Remove type Arguments".( No other options) And I am not getting more options like yours when you move the cursor on List.Please help me how to fix that..I am not getting more option Java.util. please advise me how to get that..

    • @LearnAutomationOnline
      @LearnAutomationOnline  5 років тому

      webElement should be WebElement. it should be caps.

    • @sendrayannallasamy7109
      @sendrayannallasamy7109 5 років тому

      Sir, I have changed "WebElement". I am talking only about "List" which comes with underline of red color. when I hover the mouse on the "List". I am not getting many option to choose like Java.util. its not showing anything in the popup window.

    • @LearnAutomationOnline
      @LearnAutomationOnline  5 років тому

      Most of the times, if there are any misspellings on a line, may not be directly indicated. In you case, if you are not getting the automatic suggestions, try to remove the line again. First try to give list alone. Just type list and give control space key. It will show you the suggestion. Or else, you can manually provide the import statements. Java util list on the import segment. That error will go.

    • @sendrayannallasamy7109
      @sendrayannallasamy7109 5 років тому

      Yes I resolved the issue myself. sorry to bother you.. thank you Sir.. Appreciate your videos