All Classes and Interfaces

Class
Description
Created by Claudia Agache on 3/9/2017.
 
POJO for Alfresco Identity Service Token
A method interceptor that sorts test classes alphabetically.
Return differed DesiredCapabilities for WebDriver
Identify one test case as being a fixed or an opened bug
 
 
 
 
 
 
 
Use this class if you want to update the properties of a CMIS Document of CMIS Folder You can use this class in correlation with DataContent.createCustomContent(org.alfresco.utility.model.ContentModel, String, CustomObjectTypeProperties)
 
DataAIS provides access to Alfresco Identity Service users resource.
 
Handle Database operations, like execution of queries over DB, getting status of db or search results
 
Utility for creating files and folders, asserting they exist in repository
 
Data Preparation for Groups
 
 
 
 
 
Created by Claudia Agache on 11/18/2016.
{@link https://community.alfresco.com/thread/202546-cmis-data-list}
 
Created by Claudia Agache on 6/23/2017.
 
Created by Claudia Agache on 6/14/2017.
 
Data Preparation for Sites This class with handle all aspects of creating sites using dataprep project In the future we will remove this dataprep dependencies if there will be another solution of creating sites.
Data Preparation for Users
This class extends DataUser by adding the functionality to create/delete users in Alfresco Identity Service (AIS).
 
 
Created by Claudia Agache on 10/11/2016.
 
 
 
 
 
DSL for interacting with JMX (using direct JMX call see JmxClient or JmxJolokiaProxyClient
Extend this class if you want add implementation for a new protocol.
 
Client Wrapper
Represents the element State.
 
Logger class for WebDriver
 
Java class for anonymous complex type.
Java class for anonymous complex type.
Java class for anonymous complex type.
 
 
 
 
Created by Claudia Agache on 6/14/2017.
 
Basic implementation of HtmlPage
Enables ReportManager to generate custom HTML reports of failed/skipped/passed tests How to use it a) one approach is to add this listener to your test class Example:
 
An unchecked exception to wrap IOExceptions.
 
 
Handles JMX calls to server use JmxBuilder to define this service
 
 
Jolokia is a JMX-HTTP bridge giving an alternative to JSR-160 connectors.
 
 
 
 
Created by Claudia Agache on 11/18/2016.
 
 
 
 
 
 
Use this listener if you want to exclude automatically tests based on your operating system.
Error thrown for PageObject that will not implement AccessibleByMenuBar interface
Indicates that an annotated class is a "Page Object".
Alfresco page operation exception thrown when an operation fail to execute
Throws an exception if the operation of RenderTime has exceeded the max wait time.
 
 
 
 
Represents a simple query object that will contain the search text string and the expected results count returned by that query
 
Render one element using selenium's expectedCondition.
Render one element using selenium's expectedCondition.
 
 
Render one element using selenium's expectedCondition.
Render one element using selenium's expectedCondition.
Render one element using selenium's expectedCondition.
Render one element using selenium's expectedCondition.
Render one element using selenium's expectedCondition.
The Locator By annotated with RenderWebElement can be rendered while calling the render on Page.
 
Handling ExtentReports
This is a model from repo that has the following fields: nodeRef and identifier
This will handle the last objects created in repository On some protocols, the location of the content created has a prefixed keyword Example: smb://
:/Sites/....
"id": 49922, "test_id": 531635, "status_id": 1, "created_by": 65, "created_on": 1484598969, "assignedto_id": null, "comment": "Executed by awesome TAS project", "version": null, "elapsed": null, "defects": null
 
Represents on Run from TestRail { "id": 1, "suite_id": 1, "name": "Test Run 9/3/2016", "description": null, "milestone_id": null, "assignedto_id": null, "include_all": false, "is_completed": true, "completed_on": 1472920906, "config": null, "config_ids": [], "passed_count": 0, "blocked_count": 0, "untested_count": 4, "retest_count": 0, "failed_count": 1, "custom_status1_count": 0, "custom_status2_count": 0, "custom_status3_count": 0, "custom_status4_count": 0, "custom_status5_count": 0, "custom_status6_count": 0, "custom_status7_count": 0, "project_id": 1, "plan_id": null, "created_on": 1472920404, "created_by": 1, "url": "https://pauly.testrail.net/index.php?/runs/view/1" }
The model compatible with TestRail v5.7.0.3951 "id": 6457024, "case_id": 309025, "status_id": 5, "assignedto_id": null, "run_id": 749, "title": "getDefaultRepositoryInstalledModules", "template_id": 1, "type_id": 6, "priority_id": 2, "estimate": null, "estimate_forecast": null, "refs": null, "milestone_id": null, "custom_executiontype": true, "custom_platform": 1, "custom_automation_type": null, "custom_testlink_id": null, "custom_auto_ref": "org.alfresco.rest.discovery.DiscoveryTests#getDefaultRepositoryInstalledModules", "custom_description": "Sanity tests for GET /discovery endpoint", "custom_test_notes": "\n\nTestCase Steps\n=========\n* REST API: Basic Authentication using user {\norg.alfresco.utility.model.UserModel@363751f2[\r\n username=User-FOEUSgiRWEkvBHC\r\n password=password\r\n domain=\r\n firstName=\r\n lastName=\r\n userRole=\r\n]}\n* Request: GET http://localhost:8084/alfresco/api/discovery/\n\n* REST API: Assert that status code is 200", "custom_preconds": null, "custom_expected": null, "custom_steps_separated": null, "custom_exce_type": [ 2 ], "custom_max_version": [], "custom_min_vers": []
Listener class to generate a XML tests suite file, based on given TestGroups added as parameters.
Represents a Section from TestRail { "id": 1, "suite_id": 1, "name": "rest-api", "description": null, "parent_id": null, "display_order": 1, "depth": 0 }
 
 
 
 
 
 
 
Properties specific to Alfresco Identity Service.
 
Generic Properties class that will load and override properties based on environment defined For "test" environment just define {code} System.setProperty("environment", "test"); {code} or run your test passing -Denvironment=test
 
Represents one Test Case object from Test Rail v5.7.0.3951 { "id": 10, "title": "adminShouldCreateComments", "section_id": 2, "template_id": 1, "type_id": 3, "priority_id": 2, "milestone_id": null, "refs": null, "created_by": 1, "created_on": 1472905188, "updated_by": 1, "updated_on": 1472905188, "estimate": null, "estimate_forecast": null, "suite_id": 1, "display_order": 1, "custom_automation_type": 0, "custom_preconds": null, "custom_steps": null, "custom_expected": null, "custom_steps_separated": null, "custom_mission": null, "custom_goals": null, "custom_testlink_id": null }
Saves the details of all Section assigned for a Test Case the string passed from annotation, the root Section object from TestRail and the destination child Section
Saves the information of a test case that is executed
 
 
 
 
 
 
 
 
Basic implementation of interacting with Test Rail
TestRail Interaction
Is the author that will perform actions using TestRailAPI
Listen for all test cases created and update them accordingly in Test Rail (configured based on *.properties file) This is the seconds approach of updating TestRail test cases based on test execution.
 
Default TestType as defined in our Test Rail Management System.
 
Interface for any authentication mechanism like LDAP, LDAP-AD, Kerberos, etc.
 
Alfresco User Roles
 
A wrapper around an arbitrary WebDriver instance which supports registering of a WebDriverEventListener for logging purposes.
Factory of WebBrowser object This will initialize automatically local/remote WebDriver based on settings defined *.properties/spring XML file/system environment Take a look on ContextAwareParallelSampleTest for a simple example on how to use it
 
 
 
 
 
 
 
Each XML item should have a name and should be created by a particular user
abce
 
 
XML structure for Test Data
Provides test data providers based on XML input file This class is working in correlation with XMLDataConfig annotation
Writer class to generate XML tests suite.