Automated Screenshot Testing?


Automated Screenshot testing will help you in capturing bulk screenshots through different desktops and mobile devices running on various OS in a single go! It is facilitated by instrumented UI test cases to help you realize how seamlessly your web app renders through different screen sizes using different browsers. At LambdaTest, you can capture up to 25 screenshots of different configurations of browsers and OS in a single session. You can choose from a wide range of latest to oldest browser versions of Chrome, Firefox, Safari, Edge, Internet Explorer & Opera. You also get to test on different operating systems Windows, macOS, Android, and iOS.

How To Do Screenshot Testing?


Step 1: Click the screenshot test in the Visual UI Test menu.

Step 2: Place your URL you need to test in the place your URL bar.

Step 3: Choose combinations of different browsers, their versions, and the OS. Then hit on capture.

Running Gauge Tests On LambdaTest Selenium Grid


The creators of Selenium, Thoughtworks came up with another open-source test framework for handling test automation of web-applications and they named it Gauge. The Gauge framework helps you to do more acceptance testing with less involvement of code. Like Selenium, Gauge also offers support for various languages such as JavaScript, C#, Ruby, Python, and Java. This document will help you execute your Gauge automation testing script in Java, over the LambdaTest Selenium Grid.

Prerequisites For Gauge Automation Testing


  • Install Maven.
  • Gauge plugin must be configured with your IDE or Gauge must be installled if you are running test from CMD/Terminal.
  • Make sure you have Java installed in your system. We recommend installing Java 8 or above version for more stable execution.
  • LambdaTest Authentication Credentials
  • You will need your LambdaTest authentication credentials i.e. your LambdaTest username, access key and HubURL. You need to set them up as your environment variables. You can retrieve them from your LambdaTest automation dashboard by clicking on the key icon near the help button.

    • For Linux/Mac:
    • For Windows:

  • Clone LambdaTest GitHub repository for Gauge framework.

Note: You can also mention your LambdaTest credentials in env/default.properties file.

Executing Your First Gauge Script On LambdaTest


Step 1: Navigate to the LambdaTest Gauge cloned directory.

Step 2: Compile Maven dependencies. Using the below command.

Note: You may also want to run the command below to check for outdated dependencies. Please be sure to verify and review updates before editing your pom.xml file. The updated packages may or may not be compatible with your code.

Test Scenario: Go to Google and search for LambdaTest login. After that, verify the page title.

Step 3: Navigate to the cloned gauge-selenium-sample and run either of the following commands in cmd/ terminal:

Or

Testing Locally Hosted Pages Using Gauge Framework


LambdaTest offers an SSH(Secure Shell) tunnel that helps you build a unique and secure connection between your system and our cloud servers so you could perform cross browser testing over your locally hosted web applications. We call it the Lambda Tunnel.

OS-specific instructions to download and set up Lambda Tunnel binary can be found at the following links:

To execute automated browser testing using the LambdaTunnel you need to set the tunnel flag to true as your desired capabilities. You can set tunnel to true by adding the below capabilities in env/[browser]/lambdatest.properties file:

Note: If you wish to change your desired capabilities then you can leverage our Desired Capabilities Generator.

Parallel Testing With Gauge Framework


LambdaTest GitHub repository for Gauge framework will help you run parallel testing over our online Selenium Grid. If you look at the cloned repository, you will find the below code for another test scenario.

Test Scenario 2: Open the sample Todo App. Select the desired items and add new item “Yay, we using the Gauge Framework”.

Navigate to the cloned gauge-selenium-sample and run either of the following commands in cmd/ terminal:

Or

Kudos! That is all you need to know to learn Gauge automation scripts on LambdaTest online Selenium Grid. In case you have an questions feel to let us know. You can drop a message to our 24/7 customer chat support, or you could mail them to us over support@lambdatest.com. Happy testing! 🙂

Pivotal Tracker Integration


Pivotal Tracker offers a project management platform on cloud. Designed for Agile teams, the tracker helps you organize your release cycle through an intuitive dashboard where everyone can monitor who is working on what, along with their upcoming tasks! Also, a shared backlog is there to help the team prioritize tasks which require more attention. Tracker automatically calculates your team’s velocity by analyzing the past iterations, to help you calculate ETAs on your future sprints.

LambdaTest integration with Pivotal Tracker will help you instantly log UI bugs from LambdaTest to your projects on the Pivotal Tracker. That way, you can report any cross browser compatibility issues with your team as soon as you encounter them while cross browser testing with LambdaTest.

How To Integrate Pivotal Tracker With Your LambdaTest Account?


Step 1: Login to your LambdaTest account. You would need to have Admin or User level access to see and install integrations.

Step 2: Select ‘Integration’ from the left navigation menu bar. This will guide you to a screen where you will find a list of 3rd party applications, available to integrate with your LambdaTest account.

Step 3: Under the category of Project Management, click on the block that says ‘Pivotal Tracker’.

click on pivotal tracker

Step 4: You will be routed to the below screen where you are required to fill your Pivotal Tracker API token.

fill Pivotal Tracker API token

Step 5: Log into your Pivotal Tracker account and visit your Profile.

visit your Pivotal tracker profile

Step 6: Scroll down on your Profile page and you will find a section where you have your API token generated. This API token will help you authenticate your access as you integrate your Pivotal tracker with any third-party applications. Please handle the API token with care. Treat them as your passwords as somebody else can authenticate a third-party application on your behalf. In case you feel your API token has been revealed to someone you don’t trust then you can create a new API token in the Pivotal tracker. You can also remove an older API token if you like.

Find API token in profile

Step 7: Copy the API token from your Pivotal Tracker profile and paste it on LambdaTest authentication and hit the Install button.

provide API token to LambdaTest

Step 8: Once you hit the Install button, you will notice that you have successfully integrated Pivotal Tracker with your LambdaTest account. You can find it under the section which says “MY INTEGRATIONS”.

Note: You can leverage the Resync button to synchronize your latest projects of Pivotal Tracker into your LambdaTest accounts.

Log Your First Bug From LambdaTest Integration With Pivotal Tracker


Step 1: Go for any of the test from the left navigation menu. For demo, we will be taking “Real Time Test” option.

Step 2: Present a URL of the web-app you need to test in the dialog box. After that, select any configuration for browser and operating system of your choice & hit ‘Start‘.

launch a real time test

Step 3: After the VM is launched and operable. You can perform testing on your web-app for finding bugs. If a bug gets revealed, then you need to click on the Bug icon from the left panel for capturing a screenshot of the same. We have highlighted that option with yellow in the below image.

Click on bug icon to mark a bug

Step 4: After a screenshot is captured, you can annotate any issue or a task with an in-built image editor. Once you are done highlighting the bug, click on the button that says “Mark as Bug”.

Step 5: After clicking on “Mark as Bug” button a form specific to Pivotal Tracker would open up. Fill the fields as per your requirement, and create the issue.

create issue
Note: After you click on “Create Bug”, you will be able to observe it being successfully marked through a single click effort. You will get prompt messages on top of your Virtual Machine indicating the progress of bug logging. After few seconds you will be notified with a prompt message “Bug successfully marked” indicating that the screenshot has been pushed to your Pivotal Tracker project.

LambdaTest & Microsoft Teams Integration

Step 6: Now, go to your Pivotal Tracker project and you will notice your logged task under the Icebox of your project as a story.

Step 7: Click on the task under Icebox and you will find all the details that you shared while logging the bug from LambdaTest.

Remove LambdaTest Integration With Pivotal Tracker


You can work with one integration at a time. So if you would want to integrate to a similar 3rd party application, then you would have to remove your current integration. Here is how you can do that.

Step 1: Login to your LambdaTest account.

Step 2: Select ‘Integrations’ from the left-navigation menu. This will guide you to a screen where you will find 3rd party applications, available to integrate with your LambdaTest account.

Step 3: Under the section of MY INTEGRATIONS, you will find the remove button. Click on it to remove LambdaTest integration with Pivotal Tracker.

That was all you need to know for integrating LambdaTest with Pivotal Tracker. In case you have any questions, feel free to share them with out product experts on 24/7 chat support. Happy testing! 🙂

Performance Tips


How To Maximize Test Execution In A Minimum Time Period?

Please note, if you are running your tests on a cloud-based Selenium Grid then it may take a little longer time to complete an execution when compared with Local WebDriver execution. When running one to one sequential automation test threads, with LambdaTest cloud grid it may take around 1.3-1.5 times longer to complete the test depending upon the network latency.

To serve you better we are running multiple complementary services in our machines that perform various functions like take screenshots after every command given, capture complete test execution video logs, capture network logs, console logs etc. This takes a little bit processing power which when combined with network latency leads to higher overall test execution times.

You can certainly decrease this execution time by turning off the complimentary services though desired capabilities object. To decrease your test execution times you can set the below capabilities as “false” if these are set to “true”:

  1. Visual: Enable step by step screenshot
  2. Network: Enable network logs
  3. Console: Capture console logs

Note: Console, network and visual capabilities are “false” by default.

Here’s an example of such a capability object

If you are facing any latency or slowness even after setting the above capabilities as “false”, you can reach out to us on our in-app chat support or by emailing to automationsupport@lambdatest.com with a screenshot of trace-route command that would really help us checking the reason behind latency.

For Windows:

For Linux/Mac:

Running Geb Tests On LambdaTest Selenium Grid


Based on Groovy, Geb is a web testing automation framework. It is build as a wrapper over Selenium WebDriver which makes it ideal for automated browser testing. Geb can help you automate cross browser testing over every browser that is supported by Selenium WebDriver. Geb offers excellent features for web testing, screen scraping, and more. What makes Geb unique is the way it queries your HTML pages, it does so by offering the jQuery-like syntax. Also, it provides built-in support for the Page Object pattern.

LambdaTest integration with Geb will help you execute your Geb automation scripts on our online Selenium Grid of 2000+ real browsers to ensure your web application renders well on as many browsers as you are targeting to test. This topic will talk about the:

  • Prerequisites for running Geb script on LambdaTest.
  • Executing first Geb script on LambdaTest.
  • Executing parallel testing using Geb on LambdaTest.
  • Executing automated browser testing on locally hosted web application using Geb.

Prerequisites To Run Geb Scripts On Our Selenium Grid


  • Install Maven.
  • Make sure you have Java installed in your system. We recommend installing Java 8 or above version for more stable execution.
  • LambdaTest Authentication Credentials
  • You will need your LambdaTest authentication credentials i.e. your LambdaTest username, access key and HubURL. You need to set them up as your environment variables. You can retrieve them from your LambdaTest automation dashboard by clicking on the key icon near the help button.

    • For Linux/Mac:
    • For Windows:
  • Clone LambdaTest GitHub repository for Geb framework.

Executing Your First Geb Script On LambdaTest


Step 1: Navigate to the LambdaTest Geb cloned directory.

Step 2: Compile Maven dependencies. Using the below command.

Note: You may also want to run the command below to check for outdated dependencies. Please be sure to verify and review updates before editing your pom.xml file. The updated packages may or may not be compatible with your code.

Step 3: Edit the capabilities.json file with the Desired Capabilities of your preference as shown below.

Note: If you wish to change the desired capabilities for your Selenium automation testing scripts then you can leverage our Desired Capabilitites Generator. The Capability Generator will help you with the syntactically correct Desired Capabilities class based upon your selections from the drop-down menus.

Step 4:Use the command below from the root of the project to run your tests.

Executing Parallel Testing With Geb


You need to clone the LambdaTest Geb repository. To run your Geb automation scripts in parallel over different browser testing configuration, you would need to add extra capabilities in your capabilities.json file. For example:

After specifying the extra capabilities, you need to run the same command as you did for running your first script from the root of your project.

It will run the tests in your project with each of the configurations listed concurrently by configuration. i.e. all configurations will run at the same time. Individual test outputs will be routed to a log file named after the configuration in the project root folder.

Note: It may be useful to use a Java IDE such as IntelliJ or Eclipse to help troubleshoot potential issues.

Testing With Geb On Locally Hosted Web Applications


LambdaTest offers a SSH(Secure Shell) tunnel to help you test your locally hosted web application on cloud servers hosted by us. We call it the Lambda Tunnel. Using Lambda Tunnel, you can establish a unique, private and reliable connections on our cloud machines and run your automation testing scripts.

To run your test cases on Lambda Tunnel, you would need to set the tunnel flag to true in our desired capabilities generator or you could simply add the below in your capabilities.json file.

Kudos! That is all you need to know to learn Geb scripts on LambdaTest online Selenium Grid. In case you have an questions feel to let us know. You can drop a message to our 24/7 customer chat support, or you could mail them to us over support@lambdatest.com. Happy testing! 🙂

Backlog Integration


Backlog provides an online platform for project & code management. Using Backlog, you can collaborate with your teams working in different parts of SDLC(Software Development Life Cycle). It lets you organize, discuss, and track all the work in one place. It offers out-of-the-box features to help you orchestrate your release cycles better. Some of the important features include Git hosting, Git version control, and issue tracking.

LambdaTest integration with Backlog will help you file any UI bug on your Backlog project instance, directly from LambdaTest. If you ever come across a browser compatibility bug while cross browser testing on LambdaTest, all you need to do is hit a single click and the bug will be logged into your Backlog project.

How To Integrate Backlog With Your LambdaTest Account?


Step 1: Login to your LambdaTest account. You would need to have Admin or User level access to see and install integrations.

Step 2: Select ‘Integration’ from the left navigation menu bar. This will guide you to a screen where you will find a list of 3rd party applications, available to integrate with your LambdaTest account.

Step 3: Under the category of Project Management, click on the block that says ‘Backlog’.

click on backlog

Step 4: You will be routed to the below screen where you are required to fill your Backlog URL and API key.

backlog API and URL

Step 5: Login to your Backlog account and you will find the Backlog URL on top of your browser’s address bar.

Backlog URL

Step 6: On top-right corner of your Backlog instance, you will find a drop-down menu with your profile icon. Click on the drop-down and go to “Personal Settings”.

go to backlog personal settings

Step 7: In your personal settings, go to API. Enter a random string of characters in the Memo field and hit the Submit button. You will find an API key generated based on the Memo. Copy this API key as it would be used to authenticate yourself while integrating LambdaTest with Backlog.

backlog API

Step 8: Paste your Backlog URL and API key on the LambdaTest, and then hit the Install button.

click install button

Step 9: You will now be routed back to the integrations where you will notice a green tick over the block for Backlog indicating that the integration has been successful. The refresh button will help you synchronize your Backlog account with LambdaTest in just a single click. So if in near future you add more projects on you backlog dashboard then all you need to do is hit that refresh icon and LambdaTest will be able to fetch your latest projects instantly.

green tick

Log Your First Bug From LambdaTest Integration With Backlog


Step 1: Go for any of the test from the left navigation menu. For demo, we will be taking “Real Time Test” option.

Step 2: Present a URL of the web-app you need to test in the dialog box. After that, select any configuration for browser and operating system of your choice & hit ‘Start‘.

Step 3: After the VM is launched and operable. You can perform testing on your web-app for finding bugs. If a bug gets revealed, then you need to click on the Bug icon from the left panel for capturing a screenshot of the same. We have highlighted that option with yellow in the below image.

Click on bug icon to mark a bug

Step 4: After a screenshot is captured, you can annotate any issue or a task with an in-built image editor. Once you are done highlighting the bug, click on the button that says “Mark as Bug”.

click mark as bug

Step 5: After clicking on “Mark as Bug” button a form specific to Backlog would open up. Fill the fields as per your requirement, and create the issue.

mark a bug
Note: After you click on “Create Bug”, you will be able to observe it being successfully marked through a single click effort. You will get prompt messages on top of your Virtual Machine indicating the progress of bug logging. After few seconds you will be notified with a prompt message “Bug successfully marked” indicating that the screenshot has been pushed to your Backlog project.

LambdaTest & Microsoft Teams Integration

Step 6: Now, go to your Backlog project and you will notice your logged task under the specific project that you assigned it through LambdaTest. All the test environment details will already be present in the created task.

bug details on backlog

Remove LambdaTest Integration With Backlog


You can work with one integration at a time. So if you would want to integrate to a similar 3rd party application, then you would have to remove your current integration. Here is how you can do that.

Step 1: Login to your LambdaTest account.

Step 2: Select ‘Integrations’ from the left-navigation menu. This will guide you to a screen where you will find 3rd party applications, available to integrate with your LambdaTest account.

Step 3: Click on ‘REMOVE’. You can find the remove button under the ‘Backlog’ block which would be highlighted with a green tick.

remove backlog from integrations

That was all you need to know for LambdaTest + Backlog Integration. Increase your productivity with our integrations. If you still have any questions for us, please feel free to let us know. Our experts are always available on chat to help you out with any roadblock regarding our product. Happy testing! 🙂

Team Communication Tools


LambdaTest allows you to integrate your LambdaTest account with your favourite communication tools. That way you can instantly share any UI bug that you come across while cross browser testing over 2000+ real browsers hosted by LambdaTest cloud servers. Here are the instant messaging tools that you can integrate with LambdaTest.

Got something to recommend?
We would love to hear it. Drop the suggestion in the 24/7 customer chat support for any other instant-messaging or team communication tool that you may want us to integrate with.

Plugins and Extensions


LambdaTest offers you plugins with various third-party application to help you perform cross browser testing on 2000+ real browsers with pace and convenience. Here are all the plugins and extensions available to integrate LambdaTest and perform testing in a jiffy.

Got something to recommend?
We would love to hear it. Drop the suggestion in the 24/7 customer chat support for any plugin that you may want us to integrate with.

Test Reporting & Test Management Tools


LambdaTest offers integration with test reporting and test management tools, allowing you to conveniently manage your test execution reports, as you perform cross browser testing using LambdaTest. Using the integration with your favourite test reporting and test management tools, you can view and analyze the results of your automated browser testing on 2000+ real browsers and operating systems, executed over LambdaTest.

If your favourite test reporting and test management tool is not in the above mentioned, then just give us a shout and we will have it ready shortly for you.

Codeless Automation Tools


LambdaTest offers integration with codeless automation tools to help you expand your cross browser testing coverage. Using the integration with your favourite codeless automation tool, you can perform automated browser testing on 2000+ real browsers and operating systems.

If your favourite project management or bug tracking tool is not in the above mentioned, then just give us a shout and we will have it ready shortly for you.