Skip to content

Releases: mkrishna4u/smart-testauto-framework

Minor changes

14 Dec 20:50
Compare
Choose a tag to compare
  1. Updated STAS to use 6.0.1 version of step definitions and STAF.
  2. Updated document to reflect the step definitions changes.

Major release with Smart-TestAuto-Studio

12 Dec 03:41
Compare
Choose a tag to compare

This release includes the major changes as given below (It has summary of all 6.0.0-alpha versions):

  1. Add support of STAS (Smart-TestAuto-Studio) along with document to configure new project and configure applications to STAS.
  2. Added in-built command line support to configure the STAS and run the test cases on different types of environments like Windows, Linux, MacOS etc..
  3. Added support of Standard Cucumber Step Definitions (English) to prepare / automate test scenario easily to support NO CODE / LOW CODE model. Refer https://github.com/mkrishna4u/smart-testauto-cucumber-stepdefs-en link documentation / source code for more details. STAS documentation is available at [https://github.com/mkrishna4u/smart-testauto-framework/blob/main/smart-testauto-studio/latest/docs/STAS-TestDevelopersGuide.pdf] (https://github.com/mkrishna4u/smart-testauto-framework/blob/main/smart-testauto-studio/latest/docs/STAS-TestDevelopersGuide.pdf "").
  4. Enhanced code in many files and fixed many defects.
  5. Fixed download file issues in AppDriver.yaml files.
  6. Added meaningful / useful sample scenarios.

Minor enhancements related to conditional steps execution

30 Nov 22:07
Compare
Choose a tag to compare

Added support for conditional steps execution.

Minor change to support use default stepdefs hooks

26 Nov 20:46
Compare
Choose a tag to compare
  1. Added support of useDefaultStepDefsHooks falg in TestConfig.yaml file.

Major release with Smart-TestAuto-Studio

26 Nov 00:15
Compare
Choose a tag to compare

This release includes the major changes as given below:

  1. Add support of STAS (Smart-TestAuto-Studio) along with document to configure new project and configure applications to STAS.
  2. Added in-built command line support to configure the STAS and run the test cases on different types of environments like Windows, Linux, MacOS etc..
  3. Added support of Standard Cucumber Step Definitions (English) to prepare / automate test scenario easily to support NO CODE / LOW CODE model. Refer https://github.com/mkrishna4u/smart-testauto-cucumber-stepdefs-en link documentation / source code for more details. STAS documentation is available at [https://github.com/mkrishna4u/smart-testauto-framework/blob/main/smart-testauto-studio/latest/docs/STAS-TestDevelopersGuide.pdf] (https://github.com/mkrishna4u/smart-testauto-framework/blob/main/smart-testauto-studio/latest/docs/STAS-TestDevelopersGuide.pdf "").
  4. Enhanced code in many files and fixed many defects.

Minor bug fixes and enhancements

16 Aug 23:07
Compare
Choose a tag to compare
  1. Fixed defects to validate the downloaded files.
  2. Added some more validation methods in downloaded file validator.

Minor bug fixes, enhancements

02 Aug 12:04
2aeba67
Compare
Choose a tag to compare
  1. Added support of Remote Machines communications to execute any command like file upload, file download and file presence verification etc. using secured shell (SSH / SFTP) protocol.
  2. Fixed minor defects and enhanced the existing functionality.

Minor changes

22 Jul 12:36
Compare
Choose a tag to compare
  1. Made scenario context more generic and developer friendly to access param values easily in different data types.
  2. Supported validate methods chaining to call validation methods in chaining way.
  3. Added more utility methods.

Minor changes related to DB and some utility functions

07 Jul 19:50
Compare
Choose a tag to compare

Changes are:

  1. Added support to call function and stored procedures for DB.
  2. Added utility methods in SmartCucumberUiScenarioContext, SmartCucumberApiScenarioContext to apply context parameter values and return the updated text.
  3. Added utility methods in ObjectUtil class to get converted value of object as String, Integer, Long, Double.
  4. Added utility methods in ObjectUtil class to get Array, List and Set value as String using delimiter and value enclosed mechanism.

Major change in release and requires properties files migration

20 Jun 17:39
Compare
Choose a tag to compare

The major changes in this release are:

  1. Converted all *.properties file to *.yaml file for better configuration. this requires migration from old *.properties to .yaml file by taking the sample file from src/main/resources/sample-config/ directory and copying your key values from *.properties file to corresponding *.yaml files.
    NOTE: Keep the yaml file structure as is but you can still be able to add additional properties as a child properties of additionalProps element.

  2. In your pom.xml file you can specify smart-testauto-framework version to 5.0.0 and change the corresponding versions for other 3rd party libraies as per smart-testauto-framework pom file.

  3. SmartCucumberUiScenarioContext and SmartCucumberApiScenarioContext scenario context classes are very generic and useful to maintain the scenario context among multiple step definitions (that can be defined in single file or in multiple step definition files). Inject these scenario context classes in each Step Definition class file (whichever is applicable). Note scenario must be set in beforeScenario hook (@ Before) and scenarioContext must be closed in afterScenario hook (@ After) to proper maintain the scenario lifecycle and data cleanup.

  4. Java code changes may be required, it is not hard as there is a corresponding implementation provided by the framework.

  5. Generic implementation of relational database is provided using SqlDatabaseActionhandler class that can be registered to database configuration profile and can be accessed using SmartDatabaseManager class. Also if you want to add support for any other database like MongoDB or anything else you can create your database action handler class that should extends AbstractDatabaseActionHandler class and configure it in database profile. After that it will be accessible using SmartDatabasemanager class to perform CRUD operations.

  6. Generic implementation for api crud operations is provided using AbstractApiActionHandler class. You can create your own api action handler class that should extend the AbstractApiActionHandler class and configure it into ApiConfig.yaml file. Refer ApiConfig.yaml present in sample-config directory. After that your api action handler class will be available using SmartApiTestManager class to perform HTTP operations (GET, POST, PUT, DELETE...) on the target server.

  7. You can run test cases in sequential way or parallel way by specifying the system property in mvn command: -Dparallel.threads=. If THREAD-COUNT is 1 then it is not parallel else it will be parallel execution of the thread. Also we have to make sure that in your TestNG TestRunner class you must specify the following code:

    @ CucumberOptions(
    features = {
    "cucumber-testcases/features/ui" },
    plugin = {"pretty", "json:test-results/cucumber-reports/json/smart-testauto-results.json"},
    glue = {"stepdefs.features.ui" }
    )
    @ Listeners(SmartUiTestNGExecutionListener.class)
    public class TestRunner extends AbstractTestNGCucumberTests {
    @ Override
    @ DataProvider(parallel = true)
    public Object[][] scenarios() {
    return super.scenarios();
    }
    }

  8. You can use the configuration from sample projects given below:
    https://github.com/mkrishna4u/smart-testauto-quickstart-java
    https://github.com/mkrishna4u/smart-testauto-quickstart-android-native-java

  9. This upgrade will break the native windows application support using WinAppDriver (From microsoft) as it is not w3c compliant and not selenium 4.2.2 compliant and appium 8.x.x version does not support it. But still you can use *SI classes to perform operations on windows applications.

  10. This version support fully data driven test automation that you can extends by adding your own database action handlers and api action handlers.

  11. OrmDatabaseHandler class is removed in support to SqlDatabaseActionHandler class and SmartDatabaseManager.