|
1 | 1 | ## TESTAR Scriptless testing tool |
2 | 2 |
|
3 | | -[](https://github.com/TESTARtool/TESTAR_dev/actions/workflows/test-windows.yml) |
4 | | -[](https://github.com/TESTARtool/TESTAR_dev/actions/workflows/release-docker.yml) |
5 | | -[](https://github.com/TESTARtool/TESTAR_dev/actions/workflows/release-distribution.yml) |
| 3 | +[](https://github.com/TESTARtool/TESTAR_dev/actions/workflows/test-windows-desktop.yml) |
| 4 | +[](https://github.com/TESTARtool/TESTAR_dev/actions/workflows/test-windows-webdriver.yml) |
| 5 | +[](https://github.com/TESTARtool/TESTAR_dev/actions/workflows/release-docker.yml) |
| 6 | +[](https://github.com/TESTARtool/TESTAR_dev/actions/workflows/release-distribution.yml) |
6 | 7 | [](https://opensource.org/licenses/BSD-3-Clause) |
7 | 8 |
|
8 | 9 | This is the github development root folder for TESTAR development. |
@@ -124,64 +125,6 @@ Example: |
124 | 125 |
|
125 | 126 | ``testar sse=desktop_generic ShowVisualSettingsDialogOnStartup=false Sequences=5 SequenceLength=100 Mode=Generate SUTConnectorValue=" ""C:\\Program Files\\VideoLAN\\VLC\\vlc.exe"" " SuspiciousTags=".*[eE]rror.*|.*[eE]xcep[ct]ion.*"`` |
126 | 127 |
|
127 | | -## State Model / Graph database support |
128 | | -TESTAR uses orientdb graph database http://orientdb.com , to create TESTAR GUI State Models. |
129 | | -Detected Widget's, Actions, States and their respective relations are recorded to this graph database. |
130 | | - |
131 | | -### Use of the State Mode and the graph database |
132 | | -The State Model consists on Widgets and States obtained from getState() method together with Actions of deriveActions() method. This model is stored in three different layers: Abstract, Concrete and Sequence. |
133 | | - |
134 | | -The protocols ``desktop_generic_statemodel`` and ``webdriver_statemodel`` contain the default settings implementation which shows how TESTAR State Model could be used. |
135 | | - |
136 | | -### Download OrientDB 3.0.34 GA Community Edition (August 31st, 2020) |
137 | | -https://www.orientdb.org/download |
138 | | -https://repo1.maven.org/maven2/com/orientechnologies/orientdb-community/3.0.34/orientdb-community-3.0.34.zip |
139 | | - |
140 | | -``Warning: Since August 2020 there is version 3.1.X of OrientDB, however TESTAR currently requires the use of versions 3.0.X`` |
141 | | - |
142 | | -### Install and configure OrientDB Server |
143 | | -In order to use the graphdb feature it's advised to install a graph database on your machine or in a remote server. |
144 | | - |
145 | | -Follow the installation instructions about how to configure TESTAR State Model on slide 28: |
146 | | -https://testar.org/images/development/TESTAR_webdriver_state_model.pdf |
147 | | - |
148 | | -Also TESTAR HandsOn (Section 6) contains more information about State Model settings: https://testar.org/images/development/Hands_on_TESTAR_Training_Manual_2020_October_14.pdf |
149 | | - |
150 | | -When orientdb is started the first time. The root password needs to be configured. Make sure you remember this password. |
151 | | - |
152 | | -In order to use the graphdb feature. A database must be created in OrientDB. To do this follow the following procedure: |
153 | | -- Start the database server (ORIENTDB_HOME/bin/server.bat) |
154 | | -- Start orientdb studio in a webbrowser [http://localhost:2480](http://localhost:2480) |
155 | | -- Choose "New DB" and provide the name, root user and password. (The database will also get a default admin/admin user/password). |
156 | | -- Go to Security tab and create a new user (testar/testar) with an active status and the admin role |
157 | | - |
158 | | -### Using OrientDB graphdb on the local filesystem |
159 | | -OrientDB graph database can be used remotely or locally. |
160 | | -Default TESTAR settings are predefined to connect with remote mode to a local OrientDB server: |
161 | | - |
162 | | - StateModelEnabled = true |
163 | | - DataStore = OrientDB |
164 | | - DataStoreType = remote |
165 | | - DataStoreServer = localhost |
166 | | - DataStoreDB = testar |
167 | | - DataStoreUser = testar |
168 | | - DataStorePassword = testar |
169 | | - |
170 | | -Also is possible to connect at file level without deploy the OrientDB locally: |
171 | | - |
172 | | - StateModelEnabled = true |
173 | | - DataStore = OrientDB |
174 | | - DataStoreType = plocal |
175 | | - DataStoreDirectory = C:\\Users\\testar\\Desktop\\orientdb-community-3.0.34\\databases |
176 | | - DataStoreDB = testar |
177 | | - DataStoreUser = testar |
178 | | - DataStorePassword = testar |
179 | | - |
180 | | -## Docker chromedriver image |
181 | | -https://hub.docker.com/u/testartool |
182 | | - |
183 | | -https://hub.docker.com/r/testartool/testar-chromedriver |
184 | | - |
185 | 128 | ## Supported Operative Systems |
186 | 129 | If you encounter any errors, please create an issue and provide details about your operating system, Java, and TESTAR version. |
187 | 130 |
|
@@ -210,11 +153,22 @@ It is possible to prepare an Emulator, Docker container, or Virtual Machine that |
210 | 153 |
|
211 | 154 | ## Supported Java SE versions |
212 | 155 |
|
213 | | -TESTAR needs Java Standard Edition (SE) to run and we support the Java SE Long-Term Support (LTS) versions that are currently under Oracle Extended Support ( https://www.oracle.com/java/technologies/java-se-support-roadmap.html ) . Other versions might work. |
| 156 | +TESTAR needs Java Standard Edition (SE) to run and we support the Java SE Long-Term Support (LTS) versions that are currently under Oracle Extended Support (https://www.oracle.com/java/technologies/java-se-support-roadmap.html). Other versions might work. |
214 | 157 |
|
215 | 158 | - Java 8 support has been maintained up until TESTAR v2.6.6. From this point forward, it is important to note that future updates may introduce incompatibility issues with Java 8 due to potential changes in libraries. |
216 | 159 | - Starting from TESTAR v2.6.7, we offer official support for Java 11, 17, and 21, which are the last three LTS versions. If you encounter any errors, please create an issue and provide details about your operating system, Java, and TESTAR version. |
217 | 160 |
|
| 161 | +## State Model / Graph database support |
| 162 | +TESTAR uses the [OrientDB graph database](http://orientdb.com), to create TESTAR GUI State Models. |
| 163 | +Detected Widget's, Actions, States and their respective relations are recorded to this graph database. |
| 164 | + |
| 165 | +[Follow these instructions to download, install, and launch the State Model feature](https://github.com/TESTARtool/TESTAR_dev/wiki/4-TESTAR-State-Model-with-OrientDB). |
| 166 | + |
| 167 | +## Docker chromedriver image |
| 168 | +https://hub.docker.com/u/testartool |
| 169 | + |
| 170 | +https://hub.docker.com/r/testartool/testar-chromedriver |
| 171 | + |
218 | 172 | ## Increase Java memory |
219 | 173 | https://github.com/TESTARtool/TESTAR_dev/wiki/Development:-Increase-Java-memory |
220 | 174 |
|
|
0 commit comments