Wednesday 8 August 2018

How to start your career with Automation?Step by step guide to know where to start and what are the area need to focus/want to learn automation/manual tester/fresher tips

There is a common question in everyone's mind who are just 1-2 years of experience or someone who has joined a mnc as a manual tester just to start their career.But they want to do something with automation or want to learn the technology and as all say to be a "Coder".

Below are some very important points to keep in mind when you try to shift your technology:

STEP-1:
Learn scripting and programming language:
 Don't focus on automation tools, coz tools will come and go but the design pattern and framework structure is common for almost all the tools in the market. So better to learn a OOPS language so that you can cope up with any tool or framework.

STEP-2: 
Linux/Unix:
Next step will be learning Linux/Unix OS. No one will say to learn Linux or Unix for automation but trust me if you want start your automation career then now a dayz and going forward all major technology will work on Ubuntu or Linux. So be well equipped with these, and if you don't know docker but you are very good with Ubuntu then they are going to hire you for sure.

STEP-3:
SQL/Database:
Third thing which is most important is learning database, you must think that it is only needed for database testing but automation means validation of data and when we talk about data then the first thing that comes to our mind is database. Learn SQL thoroughly so that you can cope up with the market efficiently.

STEP-4:
TOOL/Technology:
So now we are ready to select a automation tool which we want to learn. In market there are n number of tools and it is better to learn the tool which will be there in market for a longtime, so below I have mentioned some of the automation technology according to the priority:

1. Selenium webdriver
2. API Automation
3. Test Complete
4. UFT
5. Coded UI



So here I have given a brief idea, going further I will add individual topic on each technology.
 

*************************************************

API Testing Interview Question Set:
https://automationreinvented.blogspot.com/search/label/Rest-API

 
Kubernetes Interview Question Set
https://automationreinvented.blogspot.com/search/label/Kubernetes

 
Docker Interview Question Set
https://automationreinvented.blogspot.com/2020/02/top-18-docker-commands-for-aytomation.html

 
Linux Interview question Set
https://automationreinvented.blogspot.com/search/label/Linux

 
Automation Testing/SDET Framework Design
https://automationreinvented.blogspot.com/search/label/FrameworkDesign


Java Related Interview Question Set

https://automationreinvented.blogspot.com/search/label/Java


GIT Interview Question Set:
https://automationreinvented.blogspot.com/search/label/GIT


Coding Interview Question Set:
https://automationreinvented.blogspot.com/search/label/Coding%20Questions

Wednesday 1 August 2018

Explain testNG annotation in sequence with real time scenario?example of @After@Before in TestNG?selenium interview qus/testng

Explained TestNG annotations in sequence, very imp interview questions.

Execute the script and try to observe how @test @Method @Suite @Class works.

In the interview they may ask to tell how many time @test and @method will run. I have added the output after executing it to eclipse.As we have pass three pair of values in dataprovider so 3 times test script got executed.

public class NewTest {
  @Test(dataProvider = "dp")
  public void f(Integer n, String s) {
  System.out.println(n + s);
  }
  @BeforeMethod
  public void beforeMethod() {
  System.out.println("Beforemethod:");
  }
  @AfterMethod
  public void afterMethod() {
  System.out.println("Aftermethod:");
  }
  @DataProvider
  public Object[][] dp() {
    return new Object[][] {
      new Object[] { 1, "a" },
      new Object[] { 2, "b" },
      new Object[] { 0,"2test" }
    };
  }
  @BeforeClass
  public void beforeClass() {
  System.out.println("Beforeclass:");
  }

  @AfterClass
  public void afterClass() {
  System.out.println("AfterClass");
  }

  @BeforeTest
  public void beforeTest() {
  System.out.println("BeforeTest:");
  }

  @AfterTest
  public void afterTest() {
  System.out.println("AfterTest");
  }

  @BeforeSuite
  public void beforeSuite() {
  System.out.println("BeforeSuite");
  }

  @AfterSuite
  public void afterSuite() {
  System.out.println("AfterSuite");
  }

}



Output:

BeforeSuite
BeforeTest:
Beforeclass:
Beforemethod:
1a
Aftermethod:
Beforemethod:
2b
Aftermethod:
Beforemethod:
02test
Aftermethod:
AfterClass
AfterTest
PASSED: f(1, "a")
PASSED: f(2, "b")
PASSED: f(0, "2test")

===============================================
    Default test
    Tests run: 3, Failures: 0, Skips: 0
===============================================

AfterSuite

===============================================
Default suite
Total tests run: 3, Failures: 0, Skips: 0
===============================================

All Time Popular Posts

Most Featured Post

API Status Codes with examples for QA-Testers

  🔺 LinkedIn: https://www.linkedin.com/in/sidharth-shukla-77b53145/ 🔺 Telegram Group:  https://t.me/+FTf_NPb--GQ2ODhl 🏮In API testing, it...