Testing Mock Interview - 6+ Years of Experience (California - Bay Area Based Candidate)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey guys this is the video welcome back to veeam automation labs so once again we have another mock interview um her name is maria she is having around six plus years of experience in uh in testing and uh from last couple of years she is doing some auto patient testing also resume looks really good she is in in us and uh currently she is uh working in some company and then uh i don't know take that company name but yeah resume looks really good i think she's having some good exposure on uh automation with respect to selenium with respect to api and jenkins cucumber such things i think it looks good so i think let's start now uh hey mariam are you there hey nevin yeah i'm here how about you ma'am i'm good good how are you i'm good i'm good so where exactly you are currently uh i'm in san francisco okay you are in san francisco good okay good maryam so uh i have a resume with me so i can see you have around six plus years of experience and then can you please tell me what exactly you were doing in last couple of projects in terms of testing in terms of test automation what are different tools technologies you have used uh yeah sure i have been working in iit industrial more than six years currently i'm working as estate in my team and then i started my career as a model tester and then i switched to automation testing so uh in the six years i performed functional testing smoke testing immigration testing and then i maintained and developed database data drawing testing behavior driven testing and hybrid framework based on java language and then i also use the selenium web driver to automate multiscripts and then i used maven and jenkins as a continuous integration and then i used uh test engine to uni uh bulk tracking i used uh jira and then for github for uh version control and then i have i have been following agile methodology right now and then i uh i also like adaptable any existing uh framework and then when it's type even it's close to my personality i'm really hard working person on the positive and then uh i would say like you know i can met that line and i'm really responsible for my career yeah that's pretty much about me oh that's great i think really great uh thanks and uh that's a lot of good things in your in your bucket i think that's really impressive so uh mayhem tell me that what exactly in terms of uh testing in your last recent project for which module you were responsible for that what kind of testing you were performing in your last project uh but you and uh do you guys uh were you guys following any uh agile methodology and like what is the sprint cycle what is your contribution over there yeah uh currently my uh uh my my project is about climb management system uh so like uh this management system is divided by two portal one is a atma um customers portal one is like it it goes to internally so uh it's like um the atma custom customers request their client and then uh the client wants the client get notification they update their status based on the climate and then uh the customers can check the status from their uh portal so as a uh qa qa automation engineer i uh responsible for two portal so i'm using web driver and yeah and then i'm using vector for automation ui part and then i'm using yeah okay so what is it are you guys following any uh sprint um do you have any scrum framework like that yeah yeah i have i'm i'm following agile methodology so we have two weeks sprint so i i'm attending like uh scrum memory like ceremonies like uh spring planning sprint uh demo sprint retrospective yeah understandable meeting every day in the morning 10 a.m yeah so can we uh can you tell me uh for a qa point of view what do you think that uh what is a contribution from a qa person for all these uh the ceremonies that spring ceremonies that you are attending all the meetings like split planning and backlog grooming what is your contribution are you like giving any suggestions over there that okay yeah this is something we can improve can you give me any example that you have suggested to your team with respect to any improvement with the process any improvement with the acceptance criteria or something like this yes uh because as a qa automation engineer so sometimes the scenario that we are automating is not so clarify and then in that case like i'm not able to uh write like really clear uh test cases that in that case we talked to like our team that uh clarify the the scenario is according to the document and then i also uh find a bug as much as i can that provide a good application to the customers and then i also bring feedback about uh scenarios and then like you know and then yeah just uh about scenarios i have my absolution is like uh discussing about scenarios testimonies okay so uh let's see you have a two weeks of sprint okay and you are not getting enough time for automation and then every time that all the two weeks that you are totally busy with respect to the feature testing and then execution of the test cases and then writing your test cases and everything you are not getting enough time for automation so what will be your approach how will you like suggest to your product manager or to the team that okay automation is also equally important we have to automate that but we we don't have time for that what will be your suggestion to the team or to the product manager or to the product owner so i would suggest that we like um the given scenario that given us i will prioritize which is important which is like main uh majority functionality to the application and then i will uh prioritize the test scenarios and then i can say like we can test uh this major functionality and then this is like not complex complex uh samuel first and then i will ask my team to uh like give give like give us more tester to do together resources that way we can like achieve uh quickly and then easily okay so what is your team size right now in your current project how many devs how many qa's we have four developer and then three qa one one is manual tester so uh other two of us we do manual we also do metal and then automation as well and then we have one business analyze and then scroll ms yeah so uh what do you think that for an automation engineer how important the execution of the manual test cases are important what do you think about it or you directly let's see if i give an opportunity if i say okay hey we have a this is the application you have to test it what what what's your preference you would like to execute the test cases manually first or you directly jump into automation uh first of all i will analyze the scenario and then i do metal tester for manual test first and then visit the manual test and then i start to do automation okay so if i say that okay i promised you for giving the automation work but next three four months uh you are not getting in any time and work for automation uh what will be your reaction because our projects are very critical and we really don't have time for automation we have only one qrs so that is true and uh you are not getting enough time for automation uh will you be upset with this situation or uh or you will understand okay yeah this is the this is the need of the art this is this is a this is the important thing for a project point of view or how will you handle this situation so i mean i have three four months to do automation and then uh can you can you repeated your question please so let's see you are yeah sure no problem so let's see you are not getting enough work for automation for three four months right you join a team you join a new company and then you are not getting enough amount of work in automation how will you handle it will you upset with this situation or you will understand the situation that okay yeah that's okay that project is important and uh deliverables are important so i i will not get offset because uh well if it's like a requirement uh the requirement that company ask like it's it's designed that way it's like record that way i will not get offset because you know i have to follow the company's rules and the requirement and then like if if it's needed i will find a way to make it like met the deadline yeah okay good okay so let's give you one scenario that uh let's see you have a very critical protection release in next couple of days and then you are the only you are two resources are there and one resource is not well and then he is on vacation or let's see he is on leave he cannot come and he cannot work because he is not well then you have to execute all the test cases and everything and then uh let's assume that okay some random number pack let's see around 300 400 test cases are there and you have only two days of time to execute those test cases how will you manage this situation and you have to make sure that okay when we cannot extend the release we cannot postpone the release release is very important after two days we have to go to the production so in this situation how will you do that what will your strategy to perform the testing uh in that case uh i will work it on like extra time and i will come to company like if like before this the work started and then i will check what kind of like test test scenarios like that given us and then i just like uh give more time for like doing this work even it's like needs i work after after after like seven i can work like until the test scenario is totally done and then give it to the production uh section okay okay so uh tell me one thing whenever you are giving a sign off right once your qa testing is done from your site what are the different reports you will share with the team to the client or to the customer or to the management okay yeah this is what we have tested this is what we have done what exactly what kind of document or any kind of statistics you are going to share any kind of test results are you going to share here you can tell me a couple of things so in my framework we generate html cucumber report and then i will i will um take a screenshot like if it's like as a bug or something like i have a screenshot method that i generate and then i will show to a developer or my team member what's the issues so i will take this screenshot and then provide them the html report okay and then i also highlight the documents if it's needed like it's in if it's needed and then i also check the document requirement and then highlight the point my point and then show it to the my team okay okay so let's see i have one question on you know to extend this particular question that let's say you have released tomorrow you have release and your testing is done but you have raised around 10 bucks and out of 10 bucks uh three or four bucks are very critical bugs and uh developers they don't have time to fix those bugs right so what is your will you stop the release as a qa like what would you suggest or you will let them go for the production release uh in that case i will uh i will analyze like uh this is really bog or this is like environment issues or my my uh test scripts issue i will analyze like which part of like what what is if it's like real bug i will assign it to the uh i will assign it to the developer to fix it and then uh when he fix it and then i will reopen the retest retest it again and then yeah i will but you don't have time like developers also they don't have they don't have time that uh knowledge cannot be fixed and uh and then in next couple of hours we have to release i will assign it to this test cases to next print because i cannot release it because it's impact to the another functionality and then i will make i will schedule to the next sprint to do it to continue so you will move to the next print but you will let them to release how will you highlight this situation how will you highlight this that okay we have a couple of critical parts to the management to the manager yeah as i said i will use like a screenshot and then like there's just like uh time steps like which time like yeah uh i will provide them the time step um okay that's good no issues okay so um you are using zera right how comfortable you are in zero yeah yeah yeah for what turkey we are using jr yeah okay are you writing any test cases in xera or only for only for project management point of view you're using it yeah i'm writing jira uh test cases based on the scenario okay okay and uh can you tell me a really good template for a bug like whenever someone you are raising a bug to the developer what are the different information you will be providing in a bug um so like i so first of all i will uh write the tests test the task test steps for the scenario and then i will do test plan uh and then i will run my test cases as like positive test and the negative test and then uh like basically on this and then i will like provide that what test cases are is filled and then yeah if it's like phil i will uh like debugging it like what's the issues okay yeah what else that's it and let's see i'm a developer i said okay no i'm not able to reproduce this one and and mark them in very this is invalid bug or this is not a bug in that case i will talk to a product owner uh so i'm discussing like what's that uh what is the issue that and then i also like provide them the report and then highlight the documents and then tell them you know it's like uh um the developers not uh assign it as a blog and then this is my uh point and then that unconscious reading is about like okay okay let's see i'll give you one one very small thing let's say you join a team and you join the company let's see you join my team and the problem is that we have some budget issues and we don't have any environment to test the application we have one dev environment where developers are you know testing i mean writing the code and developing in on that particular environment and we have directly protection environment you don't have any environment to test the application will you use a developed environment and then or you will raise a concern that okay we don't have we should have a test environment um so i will i will use the dev uh dave i mean i didn't get your question can you repeat it your question yeah sure see what i'm saying is that you understand what is the department right that we have qa environment we have environment and then we have a stage environment then we have production environment but let's say you join a startup or you join a very new team over there and uh we don't have environment i cannot give you a separate test environment or cuba environment so that you can write your execute your test cases and you can execute your automation test cases over there we don't have any environment for that but we don't we have only one dev environment only one dev server is there where developers also writing the code they are also writing and testing over there and you also have to do that will you continue with this process and then we have directly move it to the production so in this case what how will you raise your concern or or just let it be that okay yeah we will continue with the dev environment um yeah i am continuing environment i mean okay sure no problem okay i think that's different thing we can talk about it later anyway so uh back to automation thing then how comfortable you are selenium i can see your resume that okay you have selenium with java you are using it how comfortable you are with java yeah i'm comfortable with java like i have uh my framework is based on java language and then be using like oop concept to my uh framework yeah okay okay sure can you tell me what is encapsulation in java object-oriented programming what is the concept of encapsulation just give me one practical example of encapsulation okay encapsulation is basically hiding the data so hiding the data and like encapsulation the data to protect from the like from from other side like from others and then in my framework i have a singleton class that i make a web driver to to make it like key make it private so we achieve keywords uh we achieve in calculation to keep using keywords and then access it using getter and setter okay good uh can you tell me the example of encapsulation in page object model when we create a page class and we create our locators and we create a page actions uh do we use encapsulation over there as well uh you mean like in in my framework yeah whenever we design the page object model right in selenium and then uh for web automation whenever you are creating a login page class and home page class are we using encapsulation over there yeah it's dependent on the requirement if it's like a requirement a username password password we can use a key private we can make it like private and then in that case we use encapsulation like we yeah we make uh method the variables and then make it like class make it private okay okay fine can you tell me like uh what is method overriding yeah overwriting is overriding is like we have same method name and the same parameters and the return type also will be same this week this is overriding can we override the static method no we cannot override static we can overloading but yeah why we cannot override the static method what is the reason behind that uh because static is belongs to a class uh once it's declared we don't we cannot change it so like it's also we cannot overwrite it okay so when we talk about the static variables or static methods where exactly the static variables and methods will be stored inside the membrane in the java memory it will be part of the heap memory or it will be part of the some other memory uh keep i shall attack or hip okay think about it like where exactly the where exactly the static variables and static methods will be stored inside a pole i that part i've okay is that a pull or heap i i'm sure it's pull which one um memories no okay uh where exactly the opt where exactly object will be stored object okay do you understand what is garbage collector yeah garbage collector collected us from the uh finalize uh we can say it's finalized too garbage collect uh collection is like we clean up the unnecessary uh codes unnecessary codes are you sure uh when to use garbage collector when jbm is using garbage collector for clean up the codes i mean for example clean up of what cleanup of what codes if it means let's see you have written some lines of code garbage collector will clean those lines of code when we change it or it will or it will clean the objects um okay anyways that's fine i just that's okay no issues that's perfectly fine nobody's okay back to uh java what is final keyword uh final keyword is uh what is a final keyword is we just make a variable over variable methods that make it the final and then we don't uh it's once we make it final we cannot uh so final keyword uh we can uh use for method and the variable so once we use a final keyword it will not be uh overwriting to another package and then uh yeah or writing another package and then we cannot declare once it's it's uh it's the final keyword okay but let's see a variable is declared with final so how will you how will you create the constant variables in java can we use final keyboard for constant variables also let's say i want to create a constant variable how will you create a constant variable which keyword you will be using to create a constant variable um we can use public private and productive default and then access modifier and then okay no reason okay fine sure so uh tell me one thing in java right i have a i have a class and if i don't write the main method in that class can i execute that class can i run that particular class um no i cannot but i have an option that i have i can use test ng oh nice okay uh can we overload the main method yeah i can overload the main method okay good okay tell me one thing what is the difference between abstract class and the interface uh abstract class is we declare the using keywords abstract uh abstract abstract class we can have abstract method and the non-abstract method um and uh interfe like interface is blueprint uh platform so we we can have uh abstract method only and then yes this is the difference and then yeah there are two major changes happened after jdk 1.8 in interface are you aware of that 1.8 after jdk 1.8 the two major changes happened in interface are you aware of that um i'm not really making a pay attention for that like can you tell me what is it like we i have i know that we have like londo express lambda so after gdp 1.8 we can have the static method with the method body and we can create some default methods also are you aware of that it's okay i mean that's okay if you're not sure about it okay that's fine okay cool so selenium how comfortable you are with selenium where exactly you feel in selenium that you you are really good in that particular area in selenium so in order to run my uh automation uh tests and scripts i'm using uh selenium web driver so like uh either like i find like uh i do uh locators you know you know finding locators i'm using this and i mean like oh yeah okay so let's see uh how will you launch a browser i want to launch google chrome so what will be the syntax for that so uh there's a two way so uh the first way is i can use the system uh set property web driver and then i put the pads of my uri url url and then i uh uh create the object the webdriver driver equal to chromedriver and then the second way is i can't use a web driver manage manager and then it's like easy to you know web driver manager it's easy to set up my people like doing my test scripts yeah okay good so let's see whenever writing i'm writing web driver driver equal to new chrome driver right so what is web driver here uh web driver is just like uh for uh web driver is a class or interface is it is a is a class so i uh chrome driver is the interface so in order to i articulate like create an object i use chrome driver class to achieve the web driver uh okay so when we write web driver driver equal to new chrome driver what is the driver here uh uh the driver is available to represent a driver like reference type yeah reference type okay okay so tell me one thing that uh i want to click on a particular button a particular link and the locator is absolutely fine you are able to inspect the locator in the chrome dev tools xpath whatever you are using this is absolutely fine but still you are not able to click on that particular button or that particular link what could be the reason and the second question is that how will you click what are other ways of clicking on that particular element so i think because of the locators uh there's eight locators i'm using so uh so uh but most of the time i'm using express and css i also can write my own express um expect to find element it's like more uh faster and then stable okay but uh your xpath is absolutely correct but still you are not able to click on the element what would be the reason uh maybe uh the element chain like element is changed or um it's a dynamic element no it's a normal element it's a simple static element a simple link available over here let's see there is a login button or some home link is available it's a normal click normal element but still you are not able to click on it what could be the reason um have you like will you check that okay i'm just giving you one hint that you know the concept of frames maybe the link is available inside the frame uh maybe yeah maybe there's a frame or some pop-ups okay i mean it's a impact to the click button okay so how will you how will you switch to the frame can you tell me the method name or maybe some basic syntax how will you switch to a frame uh yeah driver dot switch to frame okay so there is a frame method the frame method is overloaded method or not the moment you write driver.switch2.frame you get three options three frame options can you tell me those three methods uh it's three messages like driver dot switch to the frame and then we can put inside that element like which one we want we want to you know one second uh accept or accept is okay button for pop-ups except is not for the frames um uh it's like can we pass the frame id stream id yeah yeah yeah we can do this from id okay okay fine no worries so let's see i have a login login page and i want to do login it's simple very simple to username then we have password right so i want you to write some simple basic code over there i want that how exactly you are creating a simple function you have to create a login function you have to pass the username password and you have to call that particular function from your testng class can you write some basic code for that um basic code for that like simply create a class create a function over there pass the username password right so how will you write the code so i'm just sharing you sharing with you one uh a collab edit link just a second and then simple try to one second just i'm not expecting the exact code just try to write a simple code over there okay you're sending me to my email you can use any language you can use java obviously thought you prefer java right one second so uh i'm just giving you on go to meeting just click on this particular link where did you send it just click on that okay can you see some i have written hi over there can you see that yeah i can see that yeah so the scenario is that you have to create a class let's see the class name will be login page class you have to maintain your locator and then you have to create a function and the function name will be a simple login function which will take one username which will take one password and this function will return a boolean value if the login is successful or not and you have to call this function from your testng class can you do that just write a simple code over here that's it um you can start from here you can start after this line so yeah first of all i'm gonna create test test um so let's do one thing let's start with the login page class and you have three locators one is for username let's say you want to enter your email id you want to enter your password and then you want to click on login button yeah i will find the locators email password the login button all uh elements first and then i will use by find like find elements and dot and then i put the x pass or id inside of the parameter just write it i want to like i'm not expecting the exact syntax simple write what will you write okay can you can you see my screen yeah i can you just go and i can see that um yeah that's okay whatever the expert no need to write the expert whatever the expert that's the expert is uh username or whatever yeah and clicking um [Music] it's and this is for this is for password so how do you click on username password don't you think we have to use end keys over there yeah in order to put our um username uh we need to give send the keys um um so just remove click we don't need to talk we don't use dot click right we have already passed the value and we don't need to click on it oh yes because it's not yeah we just only send the keys and then put our username and then our password is also um send the keys um and blah blah um and then for login uh login it's it should be a button and then we need to use a click yep um this is it's quick express okay so uh this is the you will write this code in your test class or in your page class uh this is a page class this is page class okay then uh can you create a function in this page class and call that function from the testng class uh yes i can okay i can i can use like extend it to the page class and then okay test class okay okay fine no worries so uh let me just remove this code fine okay i give you one basic scenario over here so let's see i have one check box over here there is a web table this is a i would say that okay let's see this the check column then you have a name column then you have a salary column then you have some department column okay this is the web table available on the web page and this is the check box then the name sorry and the name is uh oops sorry the name is tom salary is 2000 and the department is let's see iit department so likewise i have multiple columns like that right let's see we have tom then we have maryam then we have let's see uh naveen over here and naveen navigations from hr department uh hr department like that we have different uh you know different people are there we have peter we have visa like that okay what i want that let's see for mariam i want to select this particular checkbox and this is a table i want to select this particular checkbox this the problem with the web table is that the data is so dynamic mariam can come on the third position it can come on the last position it can come on the fifth position you never know right so how will you select this particular checkbox over here search um i will use select class uh why select if this is not a drop down this is not dropped oh this is like table um so you want to check the check box like you know yeah so let's say i want to select this particular checkbox okay yeah checkbox is selected like that i will use uh is disable method to check if whether it's checked or not um but how will you identify that uh this checkbox is related to maryam right uh do you are you aware of the concept of like siblings concept and sibling concept in expert like proceeding sibling and calling sibling yes uh we can use a sibling like parents sibling uh scribbling a relationship to find the second yeah so okay can you use that concept sibling concept here yeah for example like i can use like div and the slash slash and then div inside the inside the square square brackets i can put the one or two like it's depend on which element i'm going to find okay okay fine nobody's uh one more question on selenium so uh let's see there is a pop-up there is a javascript pop-up is there right and how will you switch to that particular pop-up and then how will you accept the purpose um i can i will use a switch to method to handle the pop-ups like okay so switch to switch to the pop-up switch to the alert switch to the switch to the alert if it's okay i can use switch to dot uh exact and then switch to dismiss if it's cancel cancel and then i also get can uh switch to get text and then in order to get kind of like okay okay good nobody's okay i think uh let me just stop sharing this good so uh how comfortable you are with api you i can see in your resume you have worked with the are you using postman for api calls yeah i'm using postman for manual i use the api for my previous project okay so uh can you tell me the difference between post and put yeah sure post is we created the data created data and then um put is we update the data so uh can we create a data with protocol uh yeah sure we put also and replace the data so we can also create okay good uh can you tell me what type of authentication we use in api what kind of authentication base base observation and then beer beer authentication and then there's the old one and an old two good okay see i'm using a base authentication okay yes okay okay do you know what is for auth uh have you ever used like a twitter apis or which authentication mechanism they are using they are using oauth 1.0 or 6.0 uh i think oz is more secure authentication but which require a lot of like traditional uh information uh but i never used in my project i'm using authentication and then here okay fine nobody's so let's say i have a let's see there is a post call i want to create an account and when we create the account that time let's see uh we are sending some request along with the json payload right so how will you make sure that uh your json is correct and let's say you missed one double quote over there or uh one comma in your json payload right when you pass through the postman so when you send a wrong wrong payload wrong json file or wrong payload to the server what is the response code you will be getting the response code so uh first of all i'm using a session for the for uh verify the uh i'm not talking about assertions so whenever you are sending the wrong data your payload is wrong server will give you some status quo right maybe 400 500 200 something like this so when we pass the wrong payload what will be the status code you will be getting um so i it's like 400 400 right yeah for a bad request yeah 400 requests here okay so lithium server is down and server is not responding properly in that case what is the status quo you will be getting uh i will get 500. very good issues one is what created success like we created something and then if it just this year good when your authentication is failed right let's say you are passing the wrong beer token or something like this your authentication is failed or you are not passing the token at all so i will give you that okay you are not authorized right so what will be the status quo uh 401 401 are you sure is not found good great yeah okay nice so are you using register shot have you ever used rest assured yeah for automation i'm using a rest usher how comfortable you are like are you like comfortable with the calling the apis getting the response when the rest is short yeah for in order to verify the status quo it's the response body and then like headers um yeah i'm using the restoration so let's see you are getting a json response right how will you verify the json response and rest assured um so i'm i will use the assertion method and then i will put the actual result and then expected the expected result and then to verify yeah to verify the response body and then i will choose the contact type json and then or like status code have you ever have you ever heard about jsonpath decent path yep yeah it is a key and key value format so i'm using justin yeah okay okay fine so uh let's see you are you want to do a put call you want to update some record in the database or in from the apis right so can you tell me like a simple i'm not expecting the exact syntax over there but in rest assured how will you handle the put call yeah you press right yeah put request put requests i will have uh i will choose the contact content type to the json and then i have a response body and i will uh choose the response uh body and then i can like so you want to you want to update the employee information right let's say you want to update the employee phone number right with the put call with the put request so you are saying you will pass the json body as a in the json payload and then you will pass the uh content type as a header you also you will be passing the content type as json right along with that how exactly server will get to know that okay this employee has to be updated i also uh put the put uh keyword to the put key request yeah but how will you get to know uh inside the payload we need one important factor right we need one important key so that server will get to know that okay yeah this employee has to be updated this employee phone number has to be updated uh response dot foot a response that put and then i will clear response that oops okay fine nobody is that perfect wishes okay don't you think that okay we have to pass the employee id maybe with the url or with the payload so that server will get to know when the employee id is equal to one zero one and its phone number has to be updated right okay no worries that's fine okay uh um i am that uh that's all from my side uh one last thing i really want to talk about that are you comfortable with the sql queries are you currently using sql queries uh in my current project i'm not using sk uh queries but uh the last project i use sp sql okay so one basic question i'll ask what do you mean by indexing in sql what type of indexing we can do in sql indexing we can find which indexing okay what type of different joins are available just tell me the joins the data from the multiple uh multiple so the right uh right join is we uh retrieve the data from the multiple uh table and then we uh return the right uh right table to match the the left one and then the left left join is we uh retrieve the data from the multiple uh um table and then we get uh we return uh left left table to match the right table yeah and then full our full join is we we get multiple we get the data from the multiple uh table and then we match all all the uh return it match right and then left okay okay fine so um good i think we are good now so now just relax don't get nervous your interview was okay good don't worry about that so uh what do you think let's talk about the feedback what do you think where exactly you are lacking where exactly are to improve um i think to explain yeah i want to know from your side what do you think there is a problem uh where exactly that things has to be improved where is the you know uh i think i have to more able to explain that and then i need to understand the question and then perfect that's uh that's perfectly okay that if you're not able to understand the question definitely you can ask the questions from the interviewer this is perfectly good now let's talk about the positive things i really liked your answers with respect to all the testing concepts the first of all your communication initially was good but i think you were slightly nervous but maybe after a very long time you are giving some interview or something like this so first of all whenever you're giving uh you know answers just be confident uh especially with the face to face round or maybe with the uh you know telephonic oh sorry the webex round or go to meeting round where you have to share share your webcam or something that just be confident and then understand the question and then try to give the answer that you are actually somewhere you were doing it but slightly i could see with your body language that okay maybe you are a little nervous so don't be nervous this is just a mock interview and then that's perfectly fine but i really liked your communication is good your you are not running okay with your answers that is good you are have you have a good knowledge about uh you know like different testing activities and testing mindset and then i ask you that okay what are different suggestions you will do when you are not getting enough time for automation so you raise some concerns over there and your test execution strategy that you said okay i'll spend extra time that shows a positive attitude that okay this person is is actually ready to spend some time whenever we have a release you don't have that attitude that okay no that uh no uh that is my nine to five job after five uh i cannot work so i think that thing definitely you should tell at the time of interviews that yeah once in a while if something is uh some something whenever it's required definitely i'm ready to uh stay a late night or maybe uh extra hours i can work over there or maybe sometime on weekend also that's perfectly fine because a product release is equally important for me your test deliverables are good that okay you will provide the screenshot we will prepare some documentation then test case status and all those things you will do that if any critical bugs i ask you one question that okay you you raised ten bucks but two critical bugs are there and they did not they did not fix it uh developers say that okay we don't have time for that so you said okay yeah i'll talk to it uh i'll talk to the theo with the proper screenshot and everything and then you will try to stop the release just say that okay we will try to extend the release and we will i will try my best that okay yeah these are the proper mail and documentation to the entire team to the management i'll be sharing my thing from my side for the qa side okay yeah these are the two critical bugs and i think we have we should not do that and after that also if management is taking a decision the product team is making a decision that okay no we have to go for a release then it's fine we cannot do anything over there but from your site you will give all the deliverables you will give all the reasons so that because these critical bugs definitely might impact the customer and then you said okay we will move to the next print that's fine definitely we will move to the next pin no doubt about it but uh from your side you will try your best at okay yeah this is the concern you will always raise you will always raise a risk over there that that is a risk if we are going with this particular release with these two bugs right so like that you can just frame the question and then uh you know tell at a time of interview but i think you were actually good over there that i don't have any problem along with that you have good uh all the you know agile scrum ceremonies like you're attending you know all the all the process over there you're using zera tool and then i ask you that okay you have uh uh how will you raise a bug that also you are having some proper information about it but tend to you know try to add some more information then whenever we are writing a bug i will be giving the url steps to retrieve on which browser is coming if any server logs are there or any sql query i can provide with the proper screenshot with the username password which data i'm using for that particular test for that particular bug right along with the test case id along with all the environment details it's coming on the test environment it's coming on this particular page so all these information i combine them together and then write it in the in xera and then raise the bug so that the developer will not feel that okay yeah this is the half information is coming from the qa site right then then you said that okay if they are not ready you will directly talk to the po you will directly talk to the management no you will try to convince from your side you can maybe talk to the developer for small small things for every small thing we should not go to the management or go to the go to the manager you will talk to the developer that okay yeah you can come to my desk and then i can share my screen with you and then see this is the bug is coming then on what basis you have rejected my works so you should fight for your bugs if you have raised the bugs you have found the bugs that's why you have raised that right so i think uh these are pointers you can add at a time of interview it shows that okay yeah this person is actually uh dedicated for the quality and dedicated for fixing the bugs right then i think uh please try to know about what are different environments are there i ask you that okay we have only i think you did not understand the question that maybe it's a very straightforward question that we have dev environment and directly to the production environment you should say okay i always raise the concern that okay on dev environment developers they are already writing and developing the features over there on the dev environment i should have an independent environment a separate environment for the qa team so that i can execute my test cases i can run my test cases i can run my automation test cases over there i can prepare my own test data in the queue environment so qa team should have a separate test environment of the qa environment you should always say like that right these are the questions definitely people will ask you a time of interview just to check your mindset that okay will you prefer a separate environment or you would just go with the same environment or the dip right like that then um then you were good about your uh uh apa questions was uh absolutely good you know the difference between post poll you know different authentication but please if you say that okay oh then you should know about oauth you cannot say okay i did not use that right if you're saying if you have written in your resume you should know about it and it's not a big deal it's not a rocket science to learn about oauth simple go there any blog or any any any video or just simple practice and then simple say that okay yeah and gives with some proper examples with the authentication like that right then uh you were good about your status code that you have it seems that okay you have tested these kind of applications or these kind of apis that's good and how will you you know validate your response whenever the json is coming please try to improve that if you're using rest assured you have to use jsonpath or maybe some external library also you can use that but you should say those libraries name like we use json path to validate the json right this is a huge json is coming and then let's say i'm going to get you into this particular array or in that particular json array and then from the json area i want to pick that particular key and then what exactly the value is available against that key then i want to validate with the json path so try to explain with that a thing right then um indexing it's okay you can good that okay if you have written you should know about what you mean by uh you know indexing in in databases right and then joins i think you are good you know what are different joints are there uh that's perfectly fine now back come to java point java you know the definition right like what is encapsulation what is overloading what is method overriding but when we talk about the practical examples maybe that time you were not that okay with proper answers that you should give what is method overriding when to use give me the practical example same thing let's see for encapsulation you said it okay hiding the elements hiding the variables with the public methods but very exactly in your okay in your page class we always use the buy locator with the private variables private by locator encapsulated by the public actions this is called encapsulation right you are hiding the information through the private keyword and then giving the access to the public getter and setter that you said that actually yeah but it just you could have given uh a basic example over there i think that will be good otherwise the definition wise and that is good method overriding was good i asked that question that okay can we override the static that yes we cannot do that that the answer was right but why can't i do that you were not sure about it right so please i hope like you know you are getting a point so then you please whenever we're talking about the static variables and heap memory and all those things please okay it's only you know very simple thing and just try to understand the concept of the memory management in java these are the very common questions people might ask you where exactly static variables will be stored but exactly object will be created right don't say cool what is pool which pool right so common memory allocation we have we have uh meta spaces available we have permanent generation young generation for heap there is a separate diagram for that you just go there and just maybe on my channel also you just there is one very good chapter about java memory management just go there and let me clear all your doubts so my advice just okay just do that then the garbage collector that's again very important chapter it will uh i was not happy with the answer that you said it will clear up the code you have written thousand lines of code it do you think that okay garbage data will clean your code or it will delete your code no it will not clean the code it will clean up the memory how exactly to clean up the memory it will destroy the objects which object the objects are having the null reference and the no reference those objects will be destroyed so just talk about the garbage collector just learn about it what is garbage character i think you know the things but i think the problem is uh maybe you are not able to explain it properly yeah so you will get the confidence while explaining when you know the things when you know only 20 things then definitely you will always struggle that is what i always say to all the candidates that if you know the things you will have the better chance to explain the things you will have a better understanding to explain the things because you already know right you have you you are aware about the concept you are aware about the mechanism that okay this is what we have to use that then you just need to put in your words uh through your explanation and then the perfect answer you can give at a time of interview okay right and then you said okay finally we can use to prevent the method overriding and the inheritance but it's a very common thing final should be created for a constant variables right so i think uh let's see if i return final integer i equal to 10 i cannot change the value so it's a very very very basic thing you know the advanced concept like the what is the other use case of final but uh just try to learn about that okay it's a very simple thing otherwise no issues then you said okay can we overload the main method yes that answer was absolutely right that is good then you were aware about the abstract class and the interface differences also you were aware of it but in interface after jdk 1.8 i asked you that two changes happened just go through it once again what happened after jdk 1.8 with respect to interface right then um one advice i'll tell you that uh when you were writing the code on the collab edit right so you know the things i'm not saying that okay the exact syntax you have to write but sometimes what happens that interviewer is expecting at least some basic level of syntax right so please try to improve your syntax when we write the code right writing the code in collab at it and writing the code in eclipse that is two different things so i'm not saying okay the exact code you have to write and you cannot miss the method name i'm not saying the default method name you don't need to remember that those things but i ask you to create a simple login function and then you could have started with the basic class login function pass the parameter and call it from the test changing with at the rate test annotation like that you are directly writing at the refined by xpath and dots and keys don't click you are writing initially so these are the small small things you know i know you know the things when i gave you the hint you immediately improve that code that okay instead of send keys have to use a dot click over there or instead of dot take i have to send keys over there okay so these minute mistakes looks very silly you know in a time of interview you should not repeat those things at a time of interview otherwise interviewer is not able to concentrate on the main thing that gives a slightly wrong impression that okay uh with the basic she is not or he or she not able to uh you know give the difference between click and send keys also which is a very common thing in selenium right then i ask you about uh selenium you can uh set that okay i have a driver driver equal to new chrome driver a web driver is an interface and driver is a reference variable that's fine but please improve that line one time you said chrome driver is an interface maybe by mistake you said that or whatever but chrome driver is not an interface chrome driver is a class so just try to learn this about this line people might ask you the question on this line that web driver driver equal to your chrome driver why we write it what are other ways okay to write this can we write chrome driver driver equal to new chrome driver like that right then uh i'm not able to click on a specific element i ask this question then you should know that's a very common question and people and people they really want to judge your experience the real time experience that what could be the reason maybe your expert is fine that's absolutely fine then could be possible that okay weight issue synchronization issue could be possible it's available inside the frame could be possible that okay element is not able to interact could be possible that okay element is not visible on the page then we have to wait for that particular element could be possible that element is available inside a dom but it's not visible on the page there are various reasons so you could have given all these reasons like that and then don't say that driver dot okay driver.switch2. except for the frame except dismissed method is for the alerts not for the frames so just a small thing i know you know the things i'm not saying i'm not denying that okay you know but you know the things but just you just need to i think revise these small small things because these things are going to be used in daily basis in our projects but what happens sometime when you have a huge framework then we try to ignore these small small things in the framework right but at a time of interview people will ask these basic questions definitely people will ask the core features of selenium and one more advice i would say that okay if someone is asking you how comfortable you are selenium don't say that okay yeah i'm good in web driver i'm good in new chrome driver and chrome driver such things simple say that if someone is asking you that okay yeah i'm good in selenium i know all most of the core features of selenium how exactly selenium works what are the different locators are available what are the different uh actions we can perform i'm aware of our different web driver apis i'm aware of how what is actions classes and uh select classes and uh how to handle the pop-ups and all such things so i'm aware of all the basic core features most of the core features of selenium like that and then let them ask the question okay right and then i asked that question that okay on the on on collab added that there is a web table then you said select class select class is always for the drop down right and i think maybe you were confused that time but that's okay then that's a very common question for the web table you have to use a concept of preceding sibling and all those things so please look into that you know the preceding sibling and all those things but you have to give the proper answer with that uh people are not expecting the exact syntax that you have to write but at least you should say that okay yeah we could have used preceding sibling then you ask the cross questions tell me the html name what tell me the html tag over there which property okay in that particular table you ask the question from the interviewer for you so that you can frame your question accordingly right otherwise the looks good your api part is good uh and uh and uh when you write the code please i think uh maybe this is the first time you're giving after a long time you're giving interviews and everything so please um if someone is asking you to write the code and collab at it try to improve the level of syntax try to quickly create a generic method and class and then write the exact logic and then okay don't write i don't do so many mistakes with respect to syntaxes right according otherwise uh your communication is good uh your testing skills are good i have the first half of an interview was really good no doubt about it like when we started with the manual testing concepts and and your intro was actually was really really good that uh tell me about yourself and then how exactly you what kind of experience you have in terms of tools technologies what exactly you're doing in your current project i think i did not find any issues with that let's try to minimize that uh you know too much explanation about the modules about your project i think maybe someone is not that interested if someone is actually asking okay let's see okay you are working in the recent project in this particular company i really want to know what kind of application it is then only you have to explain about the application otherwise you can ignore that part so that you can save some time over there okay right good do you have any questions um i don't know i don't have any questions because you already talked to me all feedbacks i just need to like i also um note some some feedbacks yeah and then i have to yeah more in like improve and then clarify what you are a very good candidate i would say that i'm telling you you can uh just extra a preparation is required spend some time uh two weeks of time on what are different weaknesses are there weaknesses means what are different improvement areas are there just try to work upon those things and then i think you are i'm pretty much sure you are good to go you know the things the only problem is that maybe you are not able to explain properly sometimes yeah right so your testing skills are good but when we talk about the automation things when you talk about the example things practical examples that area i think somewhere you have to improve right good best of luck and let me know once you are again once ready after two or three weeks definitely we can have a quick mock interview for you okay sure okay thank you so much yeah yeah yeah sure so thank you uh yeah thanks for giving your time and i wish you the very best of you i'm so happy i have to like more motivate to study and then you know i know my weakness and then yeah that's really good okay okay
Info
Channel: Naveen AutomationLabs
Views: 60,616
Rating: undefined out of 5
Keywords: testing mock interview, testing interview questions, how to crack testing interviews, testing interview questions and answers, test automation mock interview, naveen automationlabs
Id: ofBffwsr2qc
Channel Id: undefined
Length: 78min 40sec (4720 seconds)
Published: Mon Jan 11 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.