Setting up Alchemy to use Alchemy GridWorks Execution

Created by Michael Deveaux, Modified on Tue, 20 Aug at 6:54 PM by Michael Deveaux

Alchemy gives you the ability to run your tests in a selenium grid cloud environment. This gives you a lot of capabilities that will enhance your testing. You can run multiple tests on multiple different browsers in parallel.


There are several steps to set up your Alchemy to utilize the cloud grid.


First, click on My Profile:



Next click on Security, then Create Key:

Click the drop down and choose Cloud Execution:


Fill out the description and click create:



In your test suite, click on Integrations and ensure “Alchemy GridWorks” is in the list. If it is not, click on “+ Add Integration” and add it.



Click on “Alchemy GridWorks” in the Integration List.

Fill out the necessary fields.



Checking the launchUI box (optional) will launch the Alchemy GridWorks environment grid UI when running the test (see image below*)


If necessary, check the localTesting or launchLocalTesting box. For details on Local Testing, please see Alchemy GridWorks - Local Testing.


You may also want to add the Alchemy Execution Console integration which will launch a console based execution view showing the live status of the current execution, and/or the Alchemy GUI Execution Console which is a GUI based execution view showing the live status of the current execution.


Name your package and choose Router Type “Alchemy GridWorks”. Check the appropriate browsers, then click “+ Execution Package”:


You are now ready to generate the test suite executable. For instructions on generating your test executable, please see this article Generating the Test Suite Executable.


Once your tests are generated, you can run them using the command line. There are 2 ways to do this.


First, if you just want to automatically spin up a grid and run your tests on them, you can simply open a command prompt and run the command to execute your test suite.

java -jar YourTestName.jar


You can also specify a grid that is already spun up by specifying the grid URL information in the command line:

java -Dalchemy.cloud.url=https://proxy.alchemytesting.cloud/grid/blahblahSessionTokenblahblah -jar YourTestName.jar


More command line execution information can be found at this article: Command Line Execution


If you have the Alchemy GUI Execution Console integration, the Alchemy GUI Execution Console will launch, and you can view the status of the test runs as they happen.



*If you have launchUI checked in your “Alchemy GridWorks” Integration, the GridWorks Execution GUI will launch and you can watch your grids run the tests live.


When the tests complete, if you have the HTML Generator integration, the HTML results file location will be listed at the end of the output:




Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article

© Orasi Software, Inc. | All Rights Reserved.