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

  Рет қаралды 89,674

Learn Automation Online

Learn Automation Online

5 жыл бұрын

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): KZbin 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 жыл бұрын
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 жыл бұрын
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 жыл бұрын
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 :)
@umadevim5729
@umadevim5729 5 жыл бұрын
You are explaining very well.. good to go..
@LearnAutomationOnline
@LearnAutomationOnline 5 жыл бұрын
Thanks a lot Umadevi. Keep learning. 😊
@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
@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 ?
@thirupathijanadhan1900
@thirupathijanadhan1900 4 жыл бұрын
Loved you videos❤️
@Anukarthik17
@Anukarthik17 2 жыл бұрын
super bro. keep rocking.
@DineshKumar-wn4lu
@DineshKumar-wn4lu 3 жыл бұрын
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
@jaishiva4356
@jaishiva4356 3 жыл бұрын
Sir what method can be used to get the total count of dropdown list value.
@surendarpapu
@surendarpapu 2 жыл бұрын
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 жыл бұрын
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.
@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
@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.
@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
@gayathri8461
@gayathri8461 4 жыл бұрын
Can you please tell why 1st drop down only selected in final output . What about 2nd and 3rd
@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
@jeganathann6696
@jeganathann6696 4 жыл бұрын
I am facing an issue when inspect kendo drop down list in grid.
@sakthii7749
@sakthii7749 4 жыл бұрын
Hi how to select before the last element in dynamic changing dropdown share a link thanku
@arunragavan442
@arunragavan442 4 жыл бұрын
bro 1st dropdownbox matum dha selenium select...!!! aguthu 2nd 3rd laaam????
@ABDURRAHMAN-rl8mh
@ABDURRAHMAN-rl8mh Жыл бұрын
What font style u r using brother.. Its really nice.can u tell me the name.
@Littlememories29
@Littlememories29 3 жыл бұрын
hi can u tell me the method for scroll the window down ..
@preethisaminathan3032
@preethisaminathan3032 3 жыл бұрын
How to code wait time and css selector...could you please help on this
@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.
@Lakshmi-mb9jj
@Lakshmi-mb9jj 2 жыл бұрын
Hi sir , you said index value is starts with 0 but in multiple select 0th position is not working
@solo.entertainment2064
@solo.entertainment2064 Жыл бұрын
Bro multiple select ku for loop use panni pannikalam la
@janarthananchandrasekaran6080
@janarthananchandrasekaran6080 12 күн бұрын
Can u pls provide the test leaf url to practice
@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.
@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 жыл бұрын
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.
@mohanasundari7379
@mohanasundari7379 2 жыл бұрын
Xpath copy panama syntax oda erukadhu la ec ah find out panra mari solunga
@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??🙄🙄
@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
@sathishgajendran7637
@sathishgajendran7637 10 ай бұрын
Hi Arul! how to automate dropdown without Select class
@jeyamuthumech
@jeyamuthumech 2 жыл бұрын
bro number of DropDowns options print ahituka ilayanu console kamikala
@jaiganesh4846
@jaiganesh4846 4 жыл бұрын
Hi sir, Please do a video for drag and drop.
@LearnAutomationOnline
@LearnAutomationOnline 4 жыл бұрын
Please watch the selenium advanced playlist. It's already there
@sattanathanvetri3469
@sattanathanvetri3469 8 ай бұрын
Hi. A interviewer asked me how to handle dynamic drop-down,how to explain bro?
@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
@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.
@gowthampn743
@gowthampn743 5 жыл бұрын
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 жыл бұрын
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.
@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
@benittoraja5957
@benittoraja5957 2 жыл бұрын
Super
@LogeshwaranUS
@LogeshwaranUS Жыл бұрын
anna vera method iruku nu sonniga la atha vachu oru video poduga
@user-qd1cd6fv5n
@user-qd1cd6fv5n Жыл бұрын
Hi sir, selenium advance playlist irukum ma...
@AbdulRasheth
@AbdulRasheth Жыл бұрын
usefulll
@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!!
@bavithrabalu7511
@bavithrabalu7511 2 жыл бұрын
Anna Multiple selectla user type panramari irundha.. Epdi anna command kudukuradhu..
@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.
@persispricillaa4128
@persispricillaa4128 Жыл бұрын
This code is not working for Kendo Dropdowns...Pls hlp me anna
@parthiremo7799
@parthiremo7799 2 жыл бұрын
4th testbox size code pannom la...adhuku output varala...neengalum video la athukana output cover pannala...plzz teach that
@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 жыл бұрын
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
@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 Жыл бұрын
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 !
@Introvert_Explorer791
@Introvert_Explorer791 Жыл бұрын
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 Жыл бұрын
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.
@sukanyamuthu8937
@sukanyamuthu8937 4 жыл бұрын
brother in the LIST why neenga element oota id ,name or xpath copy pannala.
@sukanyamuthu8937
@sukanyamuthu8937 4 жыл бұрын
how it will identify which element?
@LearnAutomationOnline
@LearnAutomationOnline 4 жыл бұрын
Please refer again. I would have used xpath for the list of selectable element.
@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/
@unleaseguy
@unleaseguy Жыл бұрын
U didn't show the printed output of Number of options
@mohamedarif4620
@mohamedarif4620 4 жыл бұрын
Sir Fluent topic la epo bro varum ilana athu nenga teach panra syllabus la iliya
@LearnAutomationOnline
@LearnAutomationOnline 4 жыл бұрын
Pls refer selenium interview questions playlist
@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 .
@karthikeyansugumar20
@karthikeyansugumar20 5 жыл бұрын
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 жыл бұрын
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
@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☺️
@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
@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...
@manoece1878
@manoece1878 4 жыл бұрын
Bro multiple drop down did not work my laptop
@LearnAutomationOnline
@LearnAutomationOnline 4 жыл бұрын
Did not work means u got any exception?
@soundaryad6004
@soundaryad6004 Жыл бұрын
Thanks bro
@krishnakrishnaaa9401
@krishnakrishnaaa9401 2 жыл бұрын
Hi, I am unable to proceed with the member ship payment option , Can you please help on it ..... ? Gpay number ?
@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
@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 Жыл бұрын
Select cannot be resolved to a type nu varuthu bro!!!
@LearnAutomationOnline
@LearnAutomationOnline Жыл бұрын
Import selenium select class or like I said in many videos, use control space to generate code
@dineshroger1535
@dineshroger1535 2 жыл бұрын
What if we have 100 index in multiselectbox??
@LearnAutomationOnline
@LearnAutomationOnline 2 жыл бұрын
That's a poor UI design. Chances are less for that.
@dineshroger1535
@dineshroger1535 2 жыл бұрын
@@LearnAutomationOnline Okay bro,
@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
@MrTOWNCHANNEL
@MrTOWNCHANNEL 2 жыл бұрын
new ethuku use panrom nu soluga bro
@LearnAutomationOnline
@LearnAutomationOnline 2 жыл бұрын
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
@lifeisshortnanba7205
@lifeisshortnanba7205 3 жыл бұрын
Brother neenga entha ooru brother.. java ethum teach panringala?
@praveen71989
@praveen71989 2 жыл бұрын
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 4 жыл бұрын
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 4 жыл бұрын
webElement should be WebElement. it should be caps.
@sendrayannallasamy7109
@sendrayannallasamy7109 4 жыл бұрын
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 4 жыл бұрын
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 4 жыл бұрын
Yes I resolved the issue myself. sorry to bother you.. thank you Sir.. Appreciate your videos
Playing hide and seek with my dog 🐶
00:25
Zach King
Рет қаралды 29 МЛН
WHAT’S THAT?
00:27
Natan por Aí
Рет қаралды 12 МЛН
How Many Balloons Does It Take To Fly?
00:18
MrBeast
Рет қаралды 157 МЛН
How to handle dropdown | Selenium தமிழ் | Selenium Tamil Tutorial
34:42
Selenium Interview Questions | PART-6 | Different ways to take screenshot | Tamil
19:32
Handle Hidden Drop Down Values / Auto Suggestions using DOM Trick | EventListener
7:55
Selenium Tutorial series | Tamil | PART  9 - Working with Radio Button
10:07
Learn Automation Online
Рет қаралды 49 М.
Playing hide and seek with my dog 🐶
00:25
Zach King
Рет қаралды 29 МЛН