SailPoint Identity IQ Automation Testing

Introduction:

Automation testing refers to the testing of the software in which tester write the test script once with the help of testing tools and framework and run it on the software. The test script automatically tests the software without human intervention and shows the result.

 Prerequisites for Automation:

Programming Language: As selenium support 14 different programing language Ex: java, python, Ruby, JavaScript, R. we can chose anyone but, I have chosen java.

Integrated Development Environment (IDE): Install an IDE such as Eclipse, IntelliJ IDEA, or Visual Studio Code to write and manage your Selenium scripts. i have used Eclipse

Java Development Kit (JDK): If you are using Java, you need to install the Java Development Kit (JDK) on your system.in my case I am using jdk 21 but we can use any version which is above 1.8, Since selenium 4th version has stopped supporting JDK 1.8 or below version.

  1. Automation Testing Framework: we can choose any of the testing framework like TestNG, or Junit for java language. 
  2. Automation Testing Tool: We can use selenium, Appium, or similar tools based on the application type (Web, Mobile, etc)

I am using selenium because I am automating web page.

Let us walkthrough the Presentation for the same in the below link

  • Version control system: Git is commonly used for source code version control, which we have used for the demo
  • Build Tool: we can choose maven or Gradle for java project. I have used maven for demo
  • Continuous Integration server: I have used Jenkins

Tools used for Automation testing:

Eclipse:

Eclipse is a digital workspace for automation testing. It’s a special software that makes creating and running automated tests easier. It is used by testers because it’s super flexible and works with different programming languages. It helps in writing, organizing, and running tests for finding problems or bugs in software.

    Selenium:

    Selenium is an Open source, It Supports multiple languages like java, python, Ruby. Scripts can be run on Multiple browsers like Chrome, Firefox, IE, Microsoft Edge. It supports Multiple operating systems like Linux, Windows, MacOS. It can be integrated with third party applications like TestNG, Cucumber.

    TestNG:

    TestNG is a testing framework used with Selenium for automating tests. It allows for organizing test cases, running tests in a specific sequence. It offers annotations to manage test execution flow, such as @Test for defining test cases, @BeforeMethod and @AfterMethod for pre and post-test setups, and @DataProvider for parameterization. The combination of Selenium and TestNG helps in efficient and structured automation testing, enabling testers to create, manage, and execute test cases reliably. Generates HTML reports showing test execution details.

    Please find the below video which covers the entire demo on how automation works in SailPoint IIQ.

    Advantages of Automation testing:

    1. Efficiency: Automation testing can execute repetitive and complex tasks faster than manual testing.
    2. Accuracy: Automated tests perform the same steps precisely every time, reducing the chance of human errors.
    3. Reusability: Test scripts can be reused across different phases of development and in various testing scenarios.
    4. Faster Feedback:  Automated tests provide rapid feedback on the software’s stability and functionality.