You are very good in explaining and making candidates comfortable with your gentle tone and respectful demeanor. Keep up the great work. Learning a lot from your videos and hopefully I will do well in my next interview.
It’s totally depends on the scenario which we are testing, we can use soft asset if the next test case doesn’t depends on the previous one, and we will use hard asset if the following execution of following test case depends on the current test case. For example: If we want to test home age after login then we will use hard assert to verify if the login is successful or not, and if we want to just check that if the image is present on the page or not and doesn’t have to perform any action on that element then we will use soft assert.
It totally depends on the functionality, but Hard assertions are important since it will block the execution immediately and error can be quickly observed.
Well done on the interview. I'll just share my knowledge here. It is advised to proceed with a hard assert at the initial build stage, which involves writing the scripts module-by-module. We use soft assert if you would like to view the complete outcome at the end of the test, i.e., if you would like to continue the test execution even after the test case fails.
It is totally depends on scenario which we are testing. In hard asset it will abnormally terminate execution so whenever we are expecting actual results must be match with expected result in this case we can use hard assert. But in you have scenario where you would like to verify broken link .To verify this scenario we have to store link in list webelemet and need to iterate loop in this scenario we should use softassert because for example if you have 100 link available and if 1st 2nd link is not working then it will abnormally terminate execution and it will not verify remaining link so we should use softassert to verify broken link in selenium.
Usage of Assert totally depends on the scenario which you are going to verify...mostly hard assert we will use in Login Page becz if login not happened we cant execute other scenarios
You are great sir! Most the time we work on such tools or systems but don’t know right way to explain at a time of an interview.Thank you for sharing great content😊
soft assert is usually prefered, as we can assert a validation and keep the test case running, so that other fanctionality or validations can be verified, which are written after that assertion in the test case.
In soft and hard assert we can use one of the assert depends on the scenario that we have for example if wants to check login page is working or not then in this case we will use hard assert because if the first test case fails then there is no use to go further and check all the test cases...and we will use soft assert if we wants to check all the functionality of the software working fine or not if there is one or two test cases fails then it will goes further and check all other test cases are pass or fail .. it will depend on the situation that we have we can use assert..
it is recommended to use hard assertions for critical test cases and soft assertions for non-critical test cases. You can also use a combination of both hard and soft assertions to achieve the desired level of test coverage.
I prefer to use soft assert because in soft assert we can get all the failure at a time and fix at a time in other words due to time complexity u can use soft assert
For critical functionality Hard Assert you can use in script but for other verifications Soft Assert is very good. According to your functionality, assertion you will use.
it depends on the scenario which assert we need to use, consider there is a Login failure using SoftAssert and there is no pointing of using for next verifications.
Depends on how many scenarios we are testing . If we find out exceptions i critical scenarios then we can modify to hard assert .. but usually there is lot of manual observation which is a bad practice... Atleast for smoke scenarios we can use hard assert and later we can use softassert
Soft assert is preferred because it will not fail you entire code and will continue to the next case but you will still be able to see in your report which assertion failed and why
Hard assertion by default we can use it it throw exception if aasert failes. If we want run teat cases even some them is failed we can suggest soft assertion
SoftAssert are mostly usde because hard assert is any verificaton are fail then next validation will be stoped and soft asrt are use to overcome assert class drowback , in soft assert any varification fail then next validation will be continue
In my opinion a beginner or at least who have 1 year of experience in automation shouldn't be use any tool for finding the xpaths. It will make to totally rely on that tools, you can't solve xpath making problems in the interviews. This is what I have seen in my career.
usage of assert commands totally depends on the scenario which you are going t verify mostely the hardest will thorw exception imediatly bcz if the login scenario fails we cant excute other scenarios the soft assert will not throw exception it will wait some time
Soft assert is more prefered to used bcoz in soft asseertion, suppose we have multiple assertion, and in this our 1st assert got failed....so in that condtion remaining aseertion still executed. in hard assertion, if 1st assertion got failed then remaining also failded with that.
One question i want to ask is "Is it compulsory to learn Jenkins if i'm apply for the post automation testing?" Because from the ans it sounds like its a part of DevOps teams and not of testers..
Hii, i can't understand the answer of how do you run the automation suite? you are given the answer so lengthy and it is difficult to remember. So can u give the answer in short form so that it will be easy to understand and easy to remember?
My pointofview is based on priority of the testcases we have to choose soft/hard asserts, If we compare like popup masgs /welcome masgs we gowith softasserts and remaining test cases we choose hard asserts.
Hello Sir, thanks for your video's. I'm unable to crack the interviews I have given multiple interviews so far. Is there any way that I can get the assistance from you to crack the interview. Thank you.
Sir your contain is really best.. But i want to suggest something for your channel growth so your channel reach to manny people 1. improve thumbnail 2. Improve editing 3. Need introduction of video 4. Video production Thank you ❤️
@RD Automation Learning , could you please help connecting with me. I have an interview in 2 days on Senior Automation engineering. Please sir. Just 30 mins will help.
I have 100 test cases and jenkins is set to run the build at 8:00PM my shift ends at 5:00PM. 1.Use soft assert 20th test failed entire suit fails 2.Use hard assert 20th test fails no proble remaining 99 passes case 1: build not ready and you dont know what happens to other test cases, and get scolds from manager🤣🤣 case 2: modify the failed case and build ready to release, time saved you, manager, & customer happy.
Software Testing Mock Interviews Playlist
th-cam.com/video/tJ5Cv8TVXSw/w-d-xo.html
Sir i have an interview in 2 days as they set it up pretty soon but i really need a help from you on it. Can we please connect.
You are very good in explaining and making candidates comfortable with your gentle tone and respectful demeanor. Keep up the great work. Learning a lot from your videos and hopefully I will do well in my next interview.
It’s totally depends on the scenario which we are testing, we can use soft asset if the next test case doesn’t depends on the previous one, and we will use hard asset if the following execution of following test case depends on the current test case.
For example: If we want to test home age after login then we will use hard assert to verify if the login is successful or not, and if we want to just check that if the image is present on the page or not and doesn’t have to perform any action on that element then we will use soft assert.
Hii
Yes this is perfect answer
@@priyapatil2771 hello
@@amolvijay309 hi
It totally depends on the functionality, but Hard assertions are important since it will block the execution immediately and error can be quickly observed.
Well done on the interview. I'll just share my knowledge here.
It is advised to proceed with a hard assert at the initial build stage, which involves writing the scripts module-by-module.
We use soft assert if you would like to view the complete outcome at the end of the test, i.e., if you would like to continue the test execution even after the test case fails.
It is totally depends on scenario which we are testing.
In hard asset it will abnormally terminate execution so whenever we are expecting actual results must be match with expected result in this case we can use hard assert.
But in you have scenario where you would like to verify broken link .To verify this scenario we have to store link in list webelemet and need to iterate loop in this scenario we should use softassert because for example if you have 100 link available and if 1st 2nd link is not working then it will abnormally terminate execution and it will not verify remaining link so we should use softassert to verify broken link in selenium.
Thanks ji completely understood
Rakesh sir doing a wonderful job for the QA aspirants hats off to u. Keep up the good work videos are very useful.
Topic or subject can be different. But the way to communicate is wow. It's very helpful
Usage of Assert totally depends on the scenario which you are going to verify...mostly hard assert we will use in Login Page becz if login not happened we cant execute other scenarios
Correct 👍
You are great sir! Most the time we work on such tools or systems but don’t know right way to explain at a time of an interview.Thank you for sharing great content😊
Thank you for watching!
@@rdautomationlearning609 sir please upload only automation testing interview questions for fresher
soft assert is usually prefered, as we can assert a validation and keep the test case running, so that other fanctionality or validations can be verified, which are written after that assertion in the test case.
Yes 👍
In soft and hard assert we can use one of the assert depends on the scenario that we have for example if wants to check login page is working or not then in this case we will use hard assert because if the first test case fails then there is no use to go further and check all the test cases...and we will use soft assert if we wants to check all the functionality of the software working fine or not if there is one or two test cases fails then it will goes further and check all other test cases are pass or fail .. it will depend on the situation that we have we can use assert..
Thanks for your explanation
it is recommended to use hard assertions for critical test cases and soft assertions for non-critical test cases. You can also use a combination of both hard and soft assertions to achieve the desired level of test coverage.
You're doing great work. from interview questions to the Q&A you share in description..amazing. and God bless.
Thanks for watching.
I prefer to use soft assert because in soft assert we can get all the failure at a time and fix at a time in other words due to time complexity u can use soft assert
Great interview,thank you for sharing all details.It’s very helpful for those who need to get in to industry
For critical functionality Hard Assert you can use in script but for other verifications Soft Assert is very good. According to your functionality, assertion you will use.
Thank u so much ji..last time I request you to give on videos on Jenkins and Mavens... within a week u had provided....thanks a lot 🙏🙏🙏🙏
Most welcome 😊
@@rdautomationlearning609 Good morning sir,
I am preparing for interview.
Can you please share video Maven and Jenkin.
Thanks very much RD. Kindly do more of these experienced interviews.
it depends on the scenario which assert we need to use, consider there is a Login failure using SoftAssert and there is no pointing of using for next verifications.
Thanks for uploading this interview. It was a very good experience.
Thanks for giving mock interview on our channel!
It's good
Good job priya
hi priya your confidence is very high and talking is very fluentaly...
Depends on how many scenarios we are testing . If we find out exceptions i critical scenarios then we can modify to hard assert .. but usually there is lot of manual observation which is a bad practice... Atleast for smoke scenarios we can use hard assert and later we can use softassert
Soft assert is recommended because even 1 test case fails remaining tests might pass when we use soft assert
Soft assert is preferred because it will not fail you entire code and will continue to the next case but you will still be able to see in your report which assertion failed and why
Hello sir you are doing great job i have cleared so much doubt about Jenkins ci cd git and tc thank you so much 👏
Softassert is mostly use because it will kip our failed test case and continues with execution.and we can get that asset by using asert all method
its a great session...thank you... just reminding you at 20minutes, its DSL(Domain-Specific Language)
Yes, you are right
I would have given a love for the jenkins explanation.. thank you
Hard assertion by default we can use it it throw exception if aasert failes.
If we want run teat cases even some them is failed we can suggest soft assertion
बहुत शानदार इंटरव्यु,
SoftAssert are mostly usde because hard assert is any verificaton are fail then next validation will be stoped and soft asrt are use to overcome assert class drowback , in soft assert any varification fail then next validation will be continue
Thank you so much for doing this one it helps a lot 👏 💐
Glad it was helpful!
Can you also insert introduce yourself part. It will be useful for us
In my opinion a beginner or at least who have 1 year of experience in automation shouldn't be use any tool for finding the xpaths. It will make to totally rely on that tools, you can't solve xpath making problems in the interviews.
This is what I have seen in my career.
It's Based on Schenerios , Hard Assert for Mandatory fields and Soft Assert For Nonmandotary field
usage of assert commands totally depends on the scenario which you are going t verify mostely the hardest will thorw exception imediatly bcz if the login scenario fails we cant excute other scenarios the soft assert will not throw exception it will wait some time
Very good interview questions. Very informative
Glad it was helpful!
Soft assert because it collect errors during test method and will continue with next steps...
Soft assert is more prefered to used bcoz
in soft asseertion,
suppose we have multiple assertion,
and in this our 1st assert got failed....so in that condtion remaining aseertion still executed.
in hard assertion,
if 1st assertion got failed then remaining also failded with that.
If i have multiple assertions i can use softAssert and put assertAll and if i have a single assertions i can use hard assertion.
If I have 100 test cases but I would like to execute 50 test cases how it would be executed on Jenkins?
With groups name and provide build parameter we can set in jenkins or choice parameter
Thank you so much sir for explaining the CI concept with so ease. 😄
Just want to ask if this process is same for GITLAB too ?
Yes, definitely
@@rdautomationlearning609 thank you sir 🙂❤️
@@maheshkumarvishwakarma happy to help!!
Thanks for your explanations :)
Can i get to know that tool we are using to identify an X-Path?
SoftAssert is better, because even if the test cases fails, we can catch it in the reports and complete the tests in parallel
Absolutely True!
One question i want to ask is "Is it compulsory to learn Jenkins if i'm apply for the post automation testing?" Because from the ans it sounds like its a part of DevOps teams and not of testers..
It depends on the company interviewing you. It is not always compulsory but it is an added advantage
Thank you RD automation ❤
Soft assert is more powerful because once all test execution we can check results also
Hard asert if it fail the test case it will stop the execution and go fir next test case
Hii, i can't understand the answer of how do you run the automation suite? you are given the answer so lengthy and it is difficult to remember. So can u give the answer in short form so that it will be easy to understand and easy to remember?
Assert soft is good ,bz it will recorded the start to end failure.
Thanks for response!
Thank you for the interview
Actually assert all method is used to convert the soft assert to hard assert right?
My pointofview is based on priority of the testcases we have to choose soft/hard asserts,
If we compare like popup masgs /welcome masgs we gowith softasserts and remaining test cases we choose hard asserts.
Bless you sir for the knowledge.
Thanks for watching.
Can you explain more about ci and cd pipeline
Hello Sir can u please do a mock interview for test lead interview
Hello Sir, thanks for your video's. I'm unable to crack the interviews I have given multiple interviews so far. Is there any way that I can get the assistance from you to crack the interview.
Thank you.
Thank you for watching and support!
interesting and understandable
Thanks for watching.
Hai sir day after tomorrow i have an interview can i connect with you
Sir your contain is really best..
But i want to suggest something for your channel growth so your channel reach to manny people
1. improve thumbnail
2. Improve editing
3. Need introduction of video
4. Video production
Thank you ❤️
Soft asert because it has to run after test case will fail it will continue to run next if it was fail it is continue to run
hello, sir can you take my mock interview for manual testing??
Please share your CV at rdautomationlearning@gmail.com
No of occurrences of a in java
soft assert
are used more
Sir I am one year experience in manual and automation testing and I want to apply for mock interview please consider for the same
Please share your CV at rdautomationlearning@gmail.com
Groovy
how to attend mock interviews?
nice sis
What is this mock interview? Like the candidate just acting or is she real candidate for interview but not for any company really
@RD Automation Learning , could you please help connecting with me. I have an interview in 2 days on Senior Automation engineering. Please sir. Just 30 mins will help.
I have 100 test cases and jenkins is set to run the build at 8:00PM my shift ends at 5:00PM.
1.Use soft assert 20th test failed entire suit fails
2.Use hard assert 20th test fails no proble remaining 99 passes
case 1: build not ready and you dont know what happens to other test cases, and get scolds from manager🤣🤣
case 2: modify the failed case and build ready to release, time saved you, manager, & customer happy.
Language is groovy scriting language sir
Thank you!!
Soft assert is more preferable to use
Bro I want to interview with u sir
Voice is too low
Hard assert
Please load the vdo for bdd cucumber interview questions/& answers
softassert
Soft assert
Language name is groovy
She is cute dusky
Gherkin language
Thank you for watching!
softassert
soft assert
Soft assert