Sobes.tech
Junior

What testing technologies have you worked with?

sobes.tech AI

Answer from AI

  • Manual Testing: Exploratory, smoke, regression, user acceptance testing (UAT), functional and non-functional testing.
  • Test Case Management Tools: Jira, TestRail.
  • Defect Tracking Tools: Jira, Bugzilla.
  • Test Automation Frameworks:
    • Selenium WebDriver (Java, Python)
    • Selenide
    • Appium (mobile automation)
    • Cypress (JavaScript)
  • API Testing Tools:
    • Postman
    • Rest Assured
  • Performance & Load Testing Tools:
    • JMeter
    • LoadRunner
  • CI/CD Tools:
    • Jenkins
    • GitLab CI/CD
  • Version Control Systems:
    • Git
  • Programming Languages (for automation):
    • Java
    • Python
    • JavaScript
  • Build Tools:
    • Maven (Java)
    • Gradle (Java)
    • npm / yarn (JavaScript)
  • Databases:
    • SQL (basic queries for data validation)
  • Cloud Platforms (basic understanding):
    • AWS
    • Azure

Example of using Selenium with Java:

// Simple test example using Selenium WebDriver and TestNG
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;

public class SimpleSeleniumTest {

    private WebDriver driver;

    @BeforeMethod
    public void setup() {
        // Set path to driver (assuming ChromeDriver is installed)
        System.setProperty("webdriver.chrome.driver", "path/to/your/chromedriver");
        driver = new ChromeDriver();
    }

    @Test
    public void testPageTitle() {
        driver.get("https://www.example.com"); // Open webpage
        String pageTitle = driver.getTitle(); // Get page title
        assert pageTitle.equals("Example Domain"); // Check title
    }

    @Test
    public void testFindElement() {
        driver.get("https://www.example.com");
        WebElement element = driver.findElement(By.tagName("h1")); // Find element by tag
        assert element.isDisplayed(); // Check if element is displayed
    }

    @AfterMethod
    public void teardown() {
        if (driver != null) {
            driver.quit(); // Close browser
        }
    }
}

Example of using Postman for API testing:

// GET request example in Postman (without headers and request body in this case)
GET https://jsonplaceholder.typicode.com/posts/1

// Expected status code 200 OK and response content check
// In the "Tests" tab in Postman:

// Check status
pm.test("Status code is 200", function () {
    pm.response.to.have.status(200);
});

// Check for specific field in response
pm.test("Response includes userId", function () {
    var jsonData = pm.response.json();
    pm.expect(jsonData).to.have.property('userId');
});

// Check value of specific field
pm.test("UserId is 1", function () {
    var jsonData = pm.response.json();
    pm.expect(jsonData.userId).to.equal(1);
});