Skip to content

Files

Latest commit

 

History

History
114 lines (87 loc) · 4.37 KB

siesta-integration.md

File metadata and controls

114 lines (87 loc) · 4.37 KB
id title hide_title sidebar_label description keywords url site_name slug
siesta-integration
Siesta Integration
true
Siesta Integration
Integrate LambdaTest with Siesta to perform automated browser testing of your locally hosted websites and web pages across 3000+ real browsers and operating systems.
lambdatest integration with siesta
lambdatest and siesta integration
lambdatest siesta
LambdaTest
siesta-integration/
<script type="application/ld+json" dangerouslySetInnerHTML={{ __html: JSON.stringify({ "@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{ "@type": "ListItem", "position": 1, "name": "Home", "item": "https://www.lambdatest.com" },{ "@type": "ListItem", "position": 2, "name": "Support", "item": "https://www.lambdatest.com/support/docs/" },{ "@type": "ListItem", "position": 3, "name": "Siesta Integration", "item": "https://www.lambdatest.com/support/docs/siesta-integration/" }] }) }} ></script>

Siesta Integration


Siesta is a JavaScript and UI testing tool for web pages and Node.js processes. You can run tests in browsers, Node.js, and Deno on Linux, macOS, and Windows.

LambdaTest and Siesta integration lets you perform automated browser testing of your locally hosted websites or web apps across 3000+ real browsers and OS combinations.

Prerequisites


  1. A LambdaTest account. In case, you don't have an LambdaTest account, sign up for free.

  2. Download Siesta from official Bryntum website.

  3. In order to run your Siesta tests, you will need to set your LambdaTest username and access key in the environment variables. Click the Access Key button at the top-right of the Automation Dashboard to access it.

<img loading="lazy" src={require('../assets/images/playwright-testing/key.webp').default} alt="Image" width="625" height="374" className="doc_img"/>

Windows

set LT_USERNAME="YOUR_LAMBDATEST_USERNAME"
set LT_ACCESS_KEY="YOUR_LAMBDATEST_ACCESS_KEY"

macOS/Linux

export LT_USERNAME="YOUR_LAMBDATEST_USERNAME"
export LT_ACCESS_KEY="YOUR_LAMBDATEST_ACCESS_KEY"

Running Single Test With Siesta


Configure your local web server "localhost" on port 80 and then run the below command in the CMD terminal -

C:\xampp\htdocs\siesta\bin\webdriver http://localhost/siesta/examples/browser/index.html --filter basic --lambdatest LT_USERNAME, LT_ACCESS_KEY --cap browserName=firefox --cap platform=windows

<img loading="lazy" src={require('../assets/images/siesta/siesta-single-test.webp').default} alt="Image" width="1366" height="625" className="doc_img"/>

To generate desired capabilities for your test script, head over to our Desired Capabilities Generator.

Parallel Testing With Siesta


LambdaTest lets you to perform parallel testing with Siesta across 3000+ browsers and OS. You can run one test case across multiple browsers, or you can run multiple test case scenarios in the same browser with different browser versions.

To run your tests in parallel, pass the below command in the CMD terminal-

C:\xampp\htdocs\siesta\bin\webdriver http://localhost/siesta/examples/browser/index.html --filter basic --lambdatest LT_USERNAME, LT_ACCESS_KEY --cap browserName=firefox --cap platform=windows --max-workers

If you come across any issue or doubt, feel free to reach out to us via our <span className="doc__lt" onClick={() => window.openLTChatWidget()}>24/7 chat support. Or you can even mail us at support@lambdatest.com Happy Testing!!