Automation Testing Interview Experience| Real Time Interview Question & Answer| Part 2

Sdílet
Vložit
  • čas přidán 4. 09. 2024
  • What is TestNG?
    TestNG is a Testing framework that overcomes the limitations of another popular testing framework called JUnit. The "NG" means "Next Generation." Most Selenium users use this more than Junit because of its advantages. There are so many features of TestNG, but we will only focus on the most important ones that we can use in Selenium.
    There are three major advantages of TestNG over JUnit:
    Annotations are easier to understand
    Test cases can be grouped more easily
    Parallel testing is possible
    2. Mention five locators newly added in Selenium 4:
    above: It is to locate a web element just above the specified element
    below: It is to locate a web element just below the specified element
    toLeftOf: It is to locate a web element present on the left of a specified element
    toRightOf: It is to locate a web element present on the right of a specified element
    near: It is to locate a web element at approx. 50 pixels away from a specified element. The distance can be passed as an argument to an overloaded method.
    3. What are the annotations available in TestNG?
    @BeforeTest
    @AfterTest
    @BeforeClass
    @AfterClass
    @BeforeMethod
    @AfterMethod
    4. What is the importance of testng.xml file?
    testng.xml file allows to include or exclude the execution of test methods and test groups
    It allows to pass parameters to the test cases
    Allows to add group dependencies
    6. How to disable a test case in TestNG ?
    To disable the test case we use the parameter enabled = false to the @Test annotation.
    @Test(enabled = false)
    7. How to Check Broken Links and Images?
    For find out the broken links, you have to go through with the following steps:
    Find all the links of the web page based on the a tag.
    Send HTTP requests to all the links and read the HTTP response codes.
    Based on the response code we can find out the valid and broken links based on the response code.
    Iterate all the links one by one to get all the response code.
    200 - valid Link
    404 - Link Not Found
    400 - Bad Request
    401 - Unauthorized
    500 - Internal error
    8. How will you automate Image in selenium
    Use sikuli
    Sikuli is a Graphical User Interface Automation Tool. Using Sikuli Automation tool we could automate whatever we see on the screen. It basically uses image recognition technology to identify and control GUI elements. We all know that using Selenium we cant automate windows objects. Integrating Sikuli with Selenium allows us to overcome this issue. Using Sikuli with Selenium, we could automate windows objects. Using Sikuli we could automate both Web and Windows based applications.
    10. What is the use of @TestinvocationCount=x?
    The invocationcount attribute tells how many times TestNG should run a test method
    Java Scanner class provides the nextLine method to facilitates line by line of file’s content.
    12. Difference between Array and ArrayList?
    Array
    Array is static ArrayList is dynamic
    Size of the array should be given at the time of array declaration. We cannot change the size of array after creating it
    Size of the array may not be required. It changest the size dynamically. Capacity of ArrayList increases automatically whenever we add elements to an ArrayList
    Array can contain both primitive data types as well as object.
    ArrayList cannot contain primitive data types. It contains only objects
    Arrays are multidimensional ArrayList is always single dimension
    12. What is difference between Cherio and Node JS
    Cheerio :
    Cheerio is a Node.js module that is built on the top of Core JQuery and its function. With Cheerio, we can use JQuery on the server-side. Cheerio is capable enough to parse HTML and XML files.
    2. Selenium :
    Selenium is an automation tool that is used to automate the browser. It is much more powerful tool as compare to cheerio. Selenium provides a playback tool for authoring functional tests without the need to learn a test scripting language so it is widely used for testing web applications.
    14. What are the common Myths about Testing Website Accessibility
    Myth 1: It’s expensive.
    Fact: Precaution is always better than cure, so we can think of accessibility issues at the design stage itself and reduce the cost.
    This Video is helpful for people who are looking for :
    aCCENTURE Interview Questions and Answers
    Accenture Telephonic Interview
    deloitte online interview
    Capgemini java Interview Questions
    L&T Interview Questions for Experienced
    AMAZON interview questions for java
    amazon interview questions and answers for freshers
    Accenture interview questions geeksforgeeks
    Deloitte questions and answers
    deloitte interview call
    Deloitte interview process quora
    Deloitte member technical interview questions
    Deloitte interview experience quora
    How to clear Deloitte written test
    deloitte mock interview
    deloitte selenium interview questions
    deloitte selenium interview questions for experienced
    #deloitte #deloitteversanttest #deloitte_interview
    #rdautomationlearning

Komentáře • 24

  • @vikrantverma4674
    @vikrantverma4674 Před 2 lety +1

    Really appreciate her.. given her experience she is answering confidently and even asking counter questions... Your mock interview videos are very helpful.. more power to you.. keep them coming it helps to revise easily..

  • @kalyanipidurkar7299
    @kalyanipidurkar7299 Před 2 lety +1

    Thank you so much sir..I have learnt so many new things....

  • @kshipra4504
    @kshipra4504 Před 3 lety +2

    Interview session is nice!! It would be great if video includes supporting code snippets also with each answer and not just theory.

  • @RajKumar-ij5rr
    @RajKumar-ij5rr Před 3 lety +2

    Rakesh sir always helpful.. Thanks a lot sir.

  • @marlynj7930
    @marlynj7930 Před 3 lety +1

    Sir,Please include mock interview if possible, for manual mobile testing. Thank you for your support !

  • @roopadolli1910
    @roopadolli1910 Před 3 lety +1

    Very nice sir....

  • @surajrajput4701
    @surajrajput4701 Před 2 lety

    please make a session for automation on python

  • @ajinkyadhotre3502
    @ajinkyadhotre3502 Před 3 lety

    Sir I'm a fresher and don't have much knowledge on frameworks , and every time in interview i get stumbled upon framework questions , plz give me some guidance on how can I tackle framework questions as a beginner?

  • @everythingandtech.
    @everythingandtech. Před 3 lety +1

    Hi sir, I mailed u my CV, looking forward for ur time for a mock interview, thanks

  • @amangupta-xj5yi
    @amangupta-xj5yi Před 3 lety +1

    Could you please answer these questions I was asked in an interview:-
    1. Execute API test and you get error, How will you identify is it bug thrown by API or error from your side?
    2. Executing GET Request and there is body data also, what will be the result

    • @rdautomationlearning609
      @rdautomationlearning609  Před 3 lety +2

      1. Using Postman tool you will get number of types of assertions which you can use to test what is expected response for eg
      pm.test("Status code is 200", function() {
      pm.response.to.have.status(200);
      });
      2. If you want to check body data then it depends what type of data you are getting i.e single data or list if its a list you can use for loop to traverse through all values
      Refer this link: community.postman.com/t/assertions-for-api-test-scripts/8717

    • @amangupta-xj5yi
      @amangupta-xj5yi Před 3 lety +1

      @@rdautomationlearning609 Thank you this is so helpful

    • @rdautomationlearning609
      @rdautomationlearning609  Před 3 lety

      @@amangupta-xj5yi happy to help!!

  • @vn9389
    @vn9389 Před 2 lety

    How to perform testing of conditions where free access of first 30 days( of our application) to user is expired and on 31st day,a message will be sent to purchase paid version of our application?

  • @abhilashkasbe8273
    @abhilashkasbe8273 Před 2 lety

    tilde is the mark "~"

  • @nikhilaggarwal9325
    @nikhilaggarwal9325 Před 3 lety

    How much experience does she have?

  • @dksgamer4639
    @dksgamer4639 Před 3 lety +1

    Hi Sir,
    I also want to give the interview.
    How do I do that ?

  • @mayurmahajan6303
    @mayurmahajan6303 Před 3 lety

    Sir,I want to give mock interview shared My cv on u r mail