Handle Drop Down using Select class in Selenium || Classroom Training Session

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
this conflict will now be recorded okay so uh on new so far we have seen that alert handling and the elements concept you know today I'm going to cover some more important things on let's see how to handle drop downs you know so for drop-down handling let me create a class first drop-down handle it's very important concept in selenium because drop downs drop boxes list box these are very common elements everywhere so what we have to do that we happens we have to prefer the best strategy to select the drop-down value so let's see I will do one thing let me launch my Google Chrome quickly enough copy paste okay I'm launching my Google Chrome and what I'm going to do that and enter a try but on get method and we'll just get method let's say I'm launching facebook.com ok and facebook.com let me open Facebook [Music] see this is the Facebook and on facebook.com you will see there are three dropdowns are available right so three drop-down means you can say that it's month I mean series is day and month and year right these three dropdowns are available so how to select the value from these drop-down to select the values from these drop-down what we have to do that we have to use a very special class which is already available in selenium it's called select class okay so always remember whenever you have to select any dropdown value two things you have to check first immediately inspect that particular element so let's say I want to select the value from this particular table down so I will inspect right click on it and go to inspect the moment you inspect you will get this particular HTML code make sure the HTML tag is selected okay make sure HTML tag is selected if it is not HTML tag and select then we have to use some different approach that I will tell you later how to handle bootstrap drop down lower right but 99% cases you will see this particular select drop down if you see this select drop down just open this select tag and you will see that okay number of options are available option means drop down values are available on the basis of indexing that 0 then 1 and 2 then 3 like this and the same options are available over here isn't it des is available at zero position and then one is available on first position like this up to 31 same thing it means 0 to 31 options are available over here so this is the Select tag and number of options are available here same thing if you inspect the second drop down let's see month drop down once the drop down is having also selected and in this critical selected we have 0 to 12 values are available from month one root month and January to December is a physical month is the first ok when you okay it is also there then same thing for third drop down also here also we have this right so we have three dropdowns it mean three select tags are available one two and three and this particular select tag is having some ID ID equal to day or name is also there so either of them you you can use by dot name abide or date but how do use them so let me after launching google.com what I'm gonna do that there is a first I will create the web element for day okay web element a is equal to there are you are not find element by dot ID an ID of that particular arrangement so ID of that particular day element so the day element is equal to be right so I'd equal to day and then place it over here so first element day I have created and web element I'll import from selenium same thing I will create three web elements right day month and here so this is for month and year and respectively and enter the ID for day and ID for month ID for year so let's see what is the I'll inspect that and Heidi is month and for year also here so well quickly this is month and this is 40 right so three Bev elements I have three eighty now after that what I have to do I have to use select class I have to create the object of select class select class is already available in selenium so you don't need to create a separate select class it's already available you just need to create the object of that select class so let's say I'm creating the object or select class select select is equal to new select and the select is the reference and new select is the object and this select is available in selenium it's a class so s capital we have two input okay just input fine inside this new select constructor I mean inside is new select class optimal okay what we have to pass we have to pass the web element on which element you want to perform some action so I will pass the element over here what is the Rev element my web element is day so error is gone so always remember whenever you do things in a class you have to pass it up a millimeter or you can directly write drive but not find element by rote idea also you can directly write it over here fine so after this what we have to do with this particular object reference select dot we have a method select by visible text okay select dots right by released which text you want to select what mean which value you want to select from the drop-down so let's see I want to select from the drop-down let's say I want to select n okay I want to select any so I'll simple bus and over here right same thing I'll do it for month so let's see first n is working or not so right click on it and run as java application you can see that browser is getting open and then it is selecting 10 right you can see 10 got selected now I'll select let's eat ends May 1990 that is my date okay 10th May 1990 so same thing for this guy also so I'll do one thing I'll create another select class object select one and I'll pass now this time and pass month select one and let's see I want to select me okay ten to me and then again for third drop-down value also for here I'll create another select class object select three and then I'm creating here and then let's see by 1990 so it should select any May 1990 so let see is working a lot okay so it is launching the browser what is this one minute Oh select three we have to select two sorry my mistake okay so let's sit on it again sorry I thought this is one two three okay anyway so let's run it again java application and see 10th May 1990 immediately it is selected right 10th May 1990 okay now the problem here is that if you have one drop-down you are creating one select class if you have three drop-down you're selecting you are creating three select class if you have 10 dropdowns unnecessary you're creating 10 times select class you are creating if you have 100 dropdowns 100 times you include 3 so this is not the right way of doing that so can anyone suggest what should I do what do you think what should I do now to avoid this repetitive task to avoid this repetative thing what should I do anyone what do you think okay now see what I'll do that I'll create our utility method right I will create a generic method and in that but I will call that generic method from my main method and I will just pass the web element and the value that's it so how to do that quickly out of my main method I'll do one thing I'll create one generated let's see public void because this method will not return anything so I'll make it void Najee select value from drop down create select value from Browntown anyway some good name I have given this particular method will accept two things it will accept your web element what exactly kind of element you are using and let's see web element name is something I am giving element comma and pass the string value also that what which will you want to select 10th May 1990 right string value I'll pass fine then what I will do I will create select class object so and create select select is equal to MU select and then what is the web element this is the problem we don't wanna pass whatever I am when I call this method I'll pass on the melamine same web element will be given to this and by using this select dot select my visible text and pass the value whatever the value you are passing so with this the advantage is I don't need to create select class multiple types so let me comment these like three is three okay these three select classes what I'm going to do let's make it a static so I'm going to create object of this class so I'll call them directly so select value from drop-down right I'll pass the element which element and pass the day element so this is my day element what is the value you want to select I want to circulate see end right same thing for month in here I want to select but what is a month you want to select let you want to select main and same thing for year so what exactly the value want to select yet seen 1990 right so three times I am calling this method select value from drop-down it will come over here it will create select class only once and then select my visible text value will be selected again second time I am calling the same method I am passing month month is the web element and web element is created coming web element this month will be given to this right so this type of element is web element and month is also of a Bellamy so right to be a passing web element to the Belle event only right and then the string value remember functions in Java we were creating a function passing multiple parameters same thing I am doing over here right so this day will be given to this element one-to-one mapping right calling a method with parameter two parameters and passing and ten will be given to this again and then simple it will select the values so let's see it is working or not see 10th May 1990 it is selecting without any problem so if tomorrow you have hundred dropdowns whenever you need you just call this method so no need to create the Select class unnecessary again making we have just created one simple so this is the advantage of creating a utility method or you take a generic function we have created which will select the drop-down okay which is known for us fine now let's see some time what happens out of here you have to select a dropdown value and right so somewhere you are reading some let's see X and Phi or from the you want to enter some date achene 8 of birth date of birth is like this 8 over is and me is like this 10th May 1990 right this is the value ok 10th May 1990 but you have it was some degrees at time saying 10th May 1990 but this date of birth may vary right date of birth may very little energy on your date of birth is 1st January something my date of birth is 15 degrees something yeah right so this dinner but we have to select will vary person-to-person right so what we have to do so let's see I'm creating this n May 1990 like this some date of birth is coming like this so every time we have to change the data so this is the hard-coded value right every time I cannot pass 10th May or I cannot change the value over here every day so what we have to do that we have to create we have to pass whatever we want to pass I don't want to change over here so I mean what exactly I'm going to do I'll break this date of birth with the help of spread method so simple use date of birth dot split split on the basis of what split on the vessel - right split on the basis of - so remember split function so what is the return type of Oh written to experience it will give a string array so what I'll do that will give you one string array actually did of birth carry like this right and then I know that date of birth area will be having three values 0 1 2 so this is 0 this is 1 and this is 2 remember straight function we covered in string manipulation and then I'll replace this n what I replace simple bite written birth Eddie what should I write 0 date of birth 110 date of birth - right so it will split and it over this this and then I'm going to split it so it will create one array and date of birth 0 1 2 I'll write right so if you run it so now I have removed the hard-coded value and then if you run it see it is selecting 10th May 1990 right so this is called eyes smart programming so right so you don't need to change the tomorrow you say that ok yeah I want to select 1995 simple make it change over here you don't need to change things over here right maybe you are reading this so this is not hot put it this is just for example I have given you maybe you are reading it from some excel file or maybe some CSV file or maybe from the UI you are reading this right it whatever you know but so this is your destination s data is not hard-coded but if you are writing over here this will be hard-coded okay so I'll immediately split and then you do it very simple fine okay so this is the method a generic method I have created select the values and like that now let's see some more examples of select class I am going to be read one more class drum down let's see party okay select main method and click on finish I'll use the same thing see there are many interpretations based now I'll select this facebook.com and then I'll use this and after that I'll create let's see these three web elements okay now what I'm going to do that you select alphas okay import this select class okay now with this select dot so we so far we have seen one method select by visible text similar way we have this method also select bevel so select the value also will do the same thing whatever you are doing okay but selling the visible edge is more appropriate it will exactly whatever the visible text is there it will exactly is an antenna specific value selected by a value also will do the same thing you just need to pass ok whatever the value you want to select but one more method is there select by index select my index means from the indexing I mean indexing means from the drop-down value right let's see this is the dropdown value alright this is the 0th index this is first index like this which index you understand let's say I want to say tenth index so even bus n over here right you can pass n over here so if use let's see if you run it so whatever the value is available on end position it will be selected okay so let's run it and let's see see tail is getting selected right same thing for month also you can do the same thing for other problems also you can do that so what do you think we should use select by index or select by visible text what do you think think about it I need an answer from you guys what do you think select by index is good or select by visible text as good think about it varies it's a very very important interview patient ok see index is risky always we should never use index why because you never know that let's see there is a country drop-down is there right in country rock down India is coming let's see on 5th position in so I will pass 5 over here my target is to select India so if I'm using select my index I will pass 5 right but let's see tomorrow to both countries got added in India got shifted from 5th to 7th position wait so now obviously index has been changed so again you have to come over here and you have to make it 7 but if you are using select by visible text and if you selected India doesn't matter India is coming on first position fifth position 7th position or 100 position 10 doesn't matter it will select India from the drop-down so it doesn't care about the indexing very exactly the position what exactly the position of India right the position of the specific menu but if you are using select by index whatever the value is available on tenth position it's your tenth position Australia is there right today India was mayor on 10th position so it was selecting India but tomorrow I see India but shifted to 12 positions and the tenth position is Australia's little cell across Syria but my target was to select India right so that's why select by index okay we should not use we should always use select by visible text or it okay so remember this thing people will ask you any time of interview why so when we have to use select by index we have to use select by index where it doesn't matter that water the value you want to select it doesn't matter right where you don't know that I just randomly there is a mandatory field is there randomly I need to select some value that's it in that case I can simple select the next over there I'll select whatever zero index or first index where value doesn't matter okay maybe it's not meant to reveal I just need to select a specific value any value so you don't need to you know write the exact value we just need to pass one or two or whatever or always pass one or always pass zero right maybe some problems aren't there only one way I used it right so if you pass five the five is not available so it will give you exception it's always passed if you are using select by index where it doesn't matter which value you are selecting so always pass one the first value will be selected right like day or month in that case you can use select by index right so we know that okay if you pass a day ten so tenth day will be selected month twelve it means always December will be selected always twelve month please but the best option I will use select by visible text got it okay now some more options if you see select dot d selection also available so D selection is very rare that same thing you can deselect my index sometimes we have seen that okay you can in the potato doctor we have begin select okay multiple values so D selection deselect all also right you want do you want to remove all the default values so simple use select or deselect all if we deselect all the values from the drop down but it's very there be selection is very rare these days but they have given this option so deselect I am NOT going to cover because you can try by your own okay get all the okay before that I will tell you one more thing yeah is multiple select dot is multiple so you need to check that my drop-down is multi select drop-down or not multi select means in a particular drop-down I can select multiple values right sometimes in if you remember like in a especially in banking application or very old application let's say this is the drop-down I can select two venues or three values or more than goat in two values or more than one value I can select so that is called multi selected optim so multi select dropdowns are also okay if it is there then you can use this you can check first if it is multi select or not or throw twenty select will return boolean value right it will return boolean value so it will return boolean if this true or false if it is multi select it otherwise it will return false so let's see select is multi select so to bring this select what is multi select okay let's see this today is multi selected or not so this select is having this day element am checking this select is multiple okay is multiple or not so let's see so you see the output it is false because day is not multi selection adoptable day is only single selection so it will return false so you want to check that okay is multi-select or single-select this is a simple method you can use select is so X dot is multiple okay select dot select my index alike where value have told you and one more thing is their face get options method is there this is very important method select dot get options so what do you mean by this get option means give me the list of all the options ok give me the list of all the options what do you mean your options so if you see this let's see this first drop down inside this palette but in a Celica VM number of options are they arranged so always remember this is the parent egg and these are the child X okay so what exactly saying that okay from this particular select give me all the child options how many child options are there or I want to check what is the size of this particular drop-down okay so there are two questions what is the size of this drop-down and the second question is spread all the values from drop-down right so let's do it so select dot get options method is there so like don't get options so get options it will return list of web element remember yesterday we covered list of the element same thing get options also will give you list of the elements so what I'm going to do here I'm going to write list of web element let's see this is the list of these right in this list I have to import from tower dot util package right and then after that and print list days dot size place Kazon size so I'll check select don't get options how many days are there okay list days God sighs so total number of days in drop-down so let's run it and let's see what happens the total number of days are 32 including that first value also including this day also so what I'll do that total number of days and create one end total days are listed is dot size minus one because I don't want to consider that because 32 days are not there but obviously 32 days we have maximum 31 days so that day I'll exclude the first day value right so I'll simple write int total days list date dot size and then I'll write system dot out dot println total days are against this particular variable right and then let's see and if you run it total number of days are 31 ok so this is the first question second question is that how do you print all the values okay from the drop-down this is my second set of second part of the question so anyone what I have to do I have to anyone yes we have to use for loops a little because we know that this is the list whenever there is a list we have to use for loops why for loop because we have to loop with the help of indexing and for loop is also indexing and this list is also available in the form of indexing it will store the value on the basis of indexing 0 1 2 3 up to 32 so what I am going to write I'm going to write like this end ok I is equal to 0 it will start from 0 and then I or I'll write I less then let's place dot size and then I press plus okay and simple what I'm gonna do down simple I've used this this today's dot remember get method index high it means less days don't get I I equal to 0 so y equal to 0 means the 0 at the value so 0 2 value is what 0 the value is this this is a 0 its value so what I'm going to do simple I'm gonna take dot get text from here okay so I'm dot get text also give me the get text and let's see under store in a string variable let's see string add a menu is equal to this and then and print it on the pencil system dot out dot println okay so let's see is it printing all the values from the drop-down or not so let's run it see it is printing all the values from drop down from the total number of days values or 30 duper total the protein or 30 button but while printing the values be able to each include a also because I want to check the days also there among so simple day to 31 getting printed on the consumer great same thing I'll do it for month and year so that is your assignment you have to print all the values from month you have to print all the values from here very simple you just need to create another list element so let don't get options for month then here and then this sorry what is equation is not into because they no no no no it is string only because it's no no don't get confused whatever the values are available here 1 2 3 also these are available in the form of a strings only right so whatever you capture from the screen everything will be considered as a string I cannot say that okay this is avoid u2 or something like this so always whatever you are taking from the screen from the webpage everything will be stored as a string okay these are not integer values integers are only limited to Java but if you are getting something with the help of selenium from the webpage everything will be there in the form of string and later you can convert them into integer according to your requirement okay so that's why let's don't get text get text will return a string and storing a string variable and then simple printing on the console so what happens third question here so two questions first question is how will you vote how will you get total number of the size the total number of values total values are there second question is how will you print all the values third question is that my third question is that how will you select the specific value from the drop-down with the help of get options right all that's a lending method but what we have to do we have and anyone tell me simple we have to use de well whatever the value is coming we have to use if condition over here that if de well dot equals what if de well is equal to 18 15 right then what we have do we have to select the value so I'll simple use list days dot get whatever the value is going on okay dot click and after clicking on it 15 will be selected right fifteen will be selected that's it and then immediately I'll break my loop because my target is to select 15 the moment I select 15 come out of the loop so I will repeat see so far we have every time we are capturing a text inside this table I am printing this the system no doubt will printer name is David Day well view is 15 15 dot equals 15 this is my target my target user Senate 15 profit Rock'em 15 is equal to the team condition is satisfied it will come inside them or loop I mean inside if condition and less dates don't get I is equal to what is the value of I is going on I is let's see 15 dot click simple select the value from the drop down simple and now if you run it see 15 is getting selected okay so this is a third question okay these are the three very important interview questions people might ask you at a time of interview or maybe face to face how will you select the value with the help of forget options or will you print all the values on the console and how you did the size total number of venues are there okay so the your assignment is all these three things you have to do with month and year let's see you want to select October or December so you have to keep I trading in you to check a month is equal to October or not the moment you select you get your October is condition satisfied come inside the if condition click on it and then break so why I'm breaking it because I found my October and then I'm selecting it and then I'm I don't need to remember in December simple come out okay so this is how guys we handle select classes okay now in drop-down one more interview question you know this time getting here I'm digging here my question is that I don't know what we use any get options and yeah let's say I don't want to use any select class also let me remove the select class so without using the select class how will you select the value from the let's see from here drop down or from any rhythm anyone any idea without using select class no not text contains no analysts it's fine but we will you implement analyst think about it yesterday we have covered that topic we have to use what driver dot find any men's okay remember driver or finally means we have to use so see now carefully the driver dot find elements we have to use to buy down let's say what when drive with here so let's say I'm using buy dot expert so here I'm giving you some basic example of expert so it's the expert will be written in double quotes maybes expert is a string and I'm now I'm gonna inspect this particular ear drop down so simple right click on it so this is the ear drop down on ear drop down you will see that we have the Select tag is there and under that select tag be a number of option tags are available so what I'm going to do that I'm going to take this ear I'd equal to e okay and this is the Select tag so I'm going to create a basic expert so always remember x-bar should start with double slash and what is the HTML tag of select drop down immediately write the HTML tag so HTML tag is selected okay after that bracket these two square brackets and then we have to use the property of this particular HTML tag so we have this select tag I'm going to use let's see ID property alright ID equal to ear so what I'm going to write simple right enter it and write ID is the attribute name is equal to what is the property value the property means ID value the simple I'm going to write here in single quotes remember we need to write in single quotes so I've created one basic XPath first select drop down so this XPath is representing what this expert is representing select drop down but my target is what my target is to capture all the values of these okay all these values from this particular parent act so this is the expert of feeding time now what I'm going to do that I'm gonna write double slash and simple right option so what do you mean by this this is a parent ID under this particular pair in tag how many option child tags are available so simple right double slash option that's it and then because this is not about finding mates okay so what exactly it will do it will return you one list of web elements so I'll write it like this list off web element and I see this is mine and right from your list and then this list is being imported from Java dot util package okay guys so what will happen what will happen one object will be created right one object will be graded and under that particular object okay under that particular object these options will be given just like yesterday we created one object list object will be created and then inside that particular object all the option tax will be stored on the option elements will be stored right and then indexing will be given okay so this is the customized XPath I have created so simply double slash select is what the select is a string like that or will you get to know that this Testament and see this is the HTML type select is the HTML type and I'm using property ID equal to here that's it so I'm using select either a tidy equal to it so select at the rate ID equal to ear after that how many option tags are there so select and these are the option types so whatever I write I'm simple value double slash option double slash means in this particular select option is the child of option selected so double slash okay I'm gonna write that this is a child of select I'm fine so it means what do you mean by this so we are saying driver find all the elements okay org give me the list of all the elements we had expert is like this meaning this is the parent died this is a selected having one property ID equal to here it means I want to interact with he'll drop down in this particular awful whatever the number of options are available give me the list of all the options and stood in this particular okay in this particular object and give the name is earless so one object will be created having let's see 100 values or 200 values or number of years will be stored over there fine then immediately I will check system dot out dot println your list dot size so image a I will get to know that okay what is the size of this particular your list so if you run it and let's see what happens get so 116 okay here values are there so let's see I am gonna apply it for month so simple ID equal to month I'm using inside this so let's start with month actually that will be better option month list and once list dot size right so let's run it and we will get to know how many options are there inside the month drop-down so inside the month will drop down 13 values are there including month value is also they write the first value is month and then the 12 adduce month and these 12 nu so 12 plus 113 value so it means my logic is so far working fine and then what I'm going to do and I want to print all the values right so simple I'll use for loop for into CI is equal to 0 I less then okay month list dot size and then I plus plus and simple Pelin I'll bring directly ones list dot get get what index I equal to 0 so it will point to the first ok first option from the first option what exactly you want to do dot give me the text get text so simple toward get text right so with this particular with the help of this for loop we are printing all the values from the drop down and drop down is this this particular list of options so if you run it let's see you know see the output the it's printing total number of values of 30 in spending from month so month January to December getting bring it okay so people will ask you such kind of questions say I'm not using any get options or any select class nothing in fact if I'm not using you can remove these things also I am not using any select class so without using select class also I can okay handle the dropdowns now the questionnaire is like I don't the question will be that they will ask you like this I don't want to use select class because everyone knows that you have create the Select class and then select by busy but it X is there two lines of code you have to write anyone can write that but without using the Select Clause or will you do that so now let's say I want to select from the month I want to select let see what is the month will you let's say I want to solid jude j un okay so what I'm going to write simple I'll write if this is month list dot get high okay don't get text whatever it takes I'm getting dot if it is equals to J UN it it is equal to June then what I'm going to do simple whatever the list is there month list not get ie dot some political economy and once you select Jun simple break the loop no need to go to after June July August September is there no need to go to the second value because my target is to select rule that's it correct so first I am printing and then I'm checking each and every value so month list dot get I equal to 0 I equal to 0 is month don't get H is equal to you know then I equal to 1 I equal to 1 is January January is equal to June no then February March April May June June is equal to juniors conditions seconds fight by the time whatever the I the June index is let's see seven and whatever the value is available on seven it will select it the seventh value it means June will be selected and then immediately break the book immediately come out of the for loop no need to go no need to increase the value of I know because my target is to select the value as doing and that's it right so let's see it is working or not see it is selecting June from second drop-down now you can customize it now you can create a generic method so how will you create a generic method so let me quickly create it so that is the last part of the question that I'll create a generic method in my utility public void select select drop down value so select drop down value simple what I'm going to pass so simple first I am going to pass that is your what is your Xbox lost okay and what is your string value now see how exactly I'm writing this is very important so I'm gonna copy paste this entire stuff from here so we'll cut it and then paste it over here and what I will do this particular driver I will take it at the class level so that okay I'm taking it the class level and initializing over here and let me make it a static so that I can use in a static method so this dry work so that I can use this driver over here as well earlier I've been defining web driver driver equal to new chrome driver inside the main method only so I cannot use this driver over here so that's why I will make it at the class level at the global image so that I can use this driver anyway and then what I'm going to do by dot X but so you have to pass the X but whatever the expert value so what I will do that this expert value well first I will create in my main method as a string so you can see a string this is month underscore expert is equal to this so this month X but I'll okay whatever the expert is over here and pass this expert over here on ATM giving more appropriate name expert value expert value I'll pass it over here that's it and then instead of this and simple I'll remove this hard-coded value instead of this dude us menu okay and now my target is and make it a statics no need to create the object and simple call this select drop-down menu what is expert value this month XPath and what is a value you want to select next year I want to select this time me okay so this month XPath is this it will be given to this guy and the value is this driver not find element by Rex but on the basis of this right on the basis of this and do the same thing and then get the value and then break it right so let's call it C May got selected okay may God selected an after me it's not printing anything because it it is breaking the root after me right same thing now this is a generic method I just need to call this method again and again so let's see this is a month XPath and I'll create ear expert to go with you sorry yeah Eric's pathology this is my day X park so far I think four year ID is here and pointing and simple I'll call this method three times passing Eric's but and passing day X month and I'm passing let's see my day is let's see eighteenth here is let's see 1 9 9 1995 18th let's see then something like this one in 18 5 1995 and let's see okay see 1850 90 95 awesome cool so that is this is the thing you have to learn how to take these general utility methods this is something very important now people say that again I mean we are not getting selected in an interview because we know how to select the value to be no or the same concept but we are not getting selected you are not getting selected because the same other guy is also they are giving the same answers the way you are giving because everyone knows what ok select class and drop down on those things in fact in the coding assignment also if some companies they are taking some coding assignment you have to create such utility methods so that they will see yes you know how to create these frame were designing in so this is a small framework I have created its framework me a unity genetic method I created and simple I'm calling this method so I'm saving a lot of I mean huge amount of line of lines of code right so that's the same thing you have to tell and a type of interview and this is available in selenium if you're learning selenium with some basic things select by visible text or select drop-down I can finish this particular session within 15 minutes right but I took an entire book one are just to show you that how to create all these generic methods like this and behaves around four five into a patient's we have in fact more than that into the equations we have covered ok so please practice with these things it's very very important and I know this is a little confusing but it's very easy I'm telling you very very easy very straightforward so this is the thing you have to learn learn how to create always think how how can I minimize my phone how can how can I you know write a utility function so that this function will be applicable for all the dropouts okay later on I'll tell you some other rappers that will be more interesting for um time you will get a lot of confidence it will be so easy for everything you will create a rapper okay like how to launch an URL how to click on a method or everything we will create a generic method we will not use a typical dot click on typical dot slinkys and I'll tell you how to do error handling also how to do an exception handling also like that cool so they that's all for today I need you don't want to waste your time now on Saturday so you have entire weekend please practice whatever we have covered so far and submit all your assignments this weekend my task is I'm going to check all your assignments
Info
Channel: Naveen AutomationLabs
Views: 44,455
Rating: 4.8468471 out of 5
Keywords: Selenium, WEbdriver, Select class in Selenium, Drop down handle in Selenium, Find Elements in Selenium, NaveenautomationLabs
Id: 6lTdtKNZHA8
Channel Id: undefined
Length: 57min 18sec (3438 seconds)
Published: Sat Jan 05 2019
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.