Clarify DAML Script docs (#8198)

"UI testing" has caused some confusion since DAML Script clearly
doesn’t replace something like puppeteer.

changelog_begin
changelog_end
This commit is contained in:
Moritz Kiefer 2020-12-08 13:54:15 +01:00 committed by GitHub
parent 880d290285
commit 9447fdadca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,11 +17,11 @@ e.g., your UI or :doc:`DAML triggers </triggers/index>`.
DAML Script addresses this problem by providing you with an API with
the simplicity of DAML scenarios and all the benefits such as being
able to reuse your DAML types and logic while running against an actual
ledger in addition to allowing you to experiment in :ref:`DAML Studio <scenario-script-results>`.
This means that you can use it to test automation logic, your
UI but also for :ref:`ledger initialization <script-ledger-initialization>`
where scenarios cannot be used (with the exception of :doc:`/tools/sandbox`).
able to reuse your DAML types and logic while running against an
actual ledger in addition to allowing you to experiment in
:ref:`DAML Studio <scenario-script-results>`. This means that you can use it for
application scripting, to test automation logic and also for
:ref:`ledger initialization <script-ledger-initialization>`.
You can also use DAML Script interactively using :doc:`/daml-repl/index`.