Can we automate the data ingestion into Adobe CQ CRXDLite through any third party tool or using selenium webdriver api.
To find a mechanism to read data ( nodes and their properties) from CRX , here are the methods.
here we need to have method call(s) from the test cases that fetch this expected data. The data can be retrieved using one of the following methods:
a) You can access the data from CRX in xml or json format - You will need to pass the appropriate URL to the method and parse the response.
b) You can access the data from your CRX instance using apache jackrabbit api
If we think deeper on this, its better to refrain from using selenium or web driver to read data from CRX because the process will be slow, error prone and will require lot of exception handling.
Adobe shipped inbuilt selenium automation test suite based on selenium RC along with adobe day cq5. solution is in the form of zip file. But If we need to modify java source file and rebuild solution how can we do that?Is there any way to automate adobe day cq5 using selenium webdriver or RC.
Here CQ generates dynamic html ids for the elements so 'id' should not be part of object location strategy. Using firebug we can find out that html elements have many other attributes like class, name etc. By making use of these attributes to locate the objects to get a solution.
For elements with only ids , narrow down on them locating their parent elements and then select the element using a distinctive factor like index, copy text etc.