LambdaTest Selenium Grid offers a set of hooks also known as Lambda Hooks that you can leverage to modify your automation test cases and perform multiple operations in your automation scripts.
Below is the representation of the available Lambda Hooks along with the function it performs.
Check whether the test is passed or failed.
For Passed Test:
For Failed Test:
Check whether the downloaded file exists in the test machine.
Retrieve file metadata such as md5 code, modified time, name and size.
Download file content using base64 encoding.
List down the file in download directory.
Got Questions? Give a shout to us. We’re here for you 24/7. Happy testing! 🙂
Cerberus Testing is an open-source tool that helps you cover the complete test cycle from a single place. It can be used for both Automation testing, as well as Manual testing.
LambdaTest now provides an integration with the Cerberus Testing tool, to help you perform cross-browser testing on over 2000 real desktop browsers, mobile viewports, and operating system combinations. With this document, you will learn how to integrate LamndaTest with the Cerberus Testing tool and get started with your first test.
Setting Up LambdaTest As The Executor Robot
Inside your Cerberus Testing tool, you need to set up LambdaTest as your Test Executor. So follow the below steps to set up LambdaTest as your Executor Robot:
- Click on ‘Create’ a new Robot
- Enter the Robot name as per your choice, such as “LambdaTestChrome85Win”. Also choose the platform, browser, browser version and screen size of your choice.
- You can also add optional desired capabilities of your choice, in the Capabilities tab. To know more about Desired Capabilties, you can refer to our guide on our Capabilties Generator.
- Then switch to Executors tab, and click on “Add Executor”.
- In this Add Executor window, you need to pass following values to their corresponding options, as stated below:
1234Host: hub.lambdatest.comPort: 80Host User: <your LambdaTest username>Host Password: <your LambdaTest access key>
To get your LambdaTest username and access key, please refer here.
Executing Your Cerberus Test On LambdaTest
Since you have the LambdaTest Executor ready, you can now execute your tests from Cerberus directly on the LambdaTest platform. To do so:
- Select your test from the “Run Test Case” section of Cerberus tool. For this demo purpose, we have used the existing sample test case available, as shown in the image below
- Then you need to select the environment, and country of your choice, in which you want to run the test case.
- Then you need to select the executor for your test case, in the Robot Settings section. Here, you need to select the earlier created LambdaTest Executor, from the list of available Robots.
Now if you open your Automation dashboard, you can see your Cerberus test case running as per the chosen Robot Executor details.
Once the test is complete, you can view the result of the test on LambdaTest, with all its details. You can view logs, mark bugs, and do much more for each executed test from your LambdaTest platform. To explore more about the LambdaTest’s Automation Dashboard, refer this guide.
Congrats! You have successfully executed your Cerberus test case on the LambdaTest platform, which provides you 2000+ browser and operating system combinations to perform cross-browser testing. If you have any doubt or face any issues, please feel free to contact us via 24×7 chat support, or you can also mail us at email@example.com. Happy Testing!!
TestingWhiz is a codeless automation testing tool that can be used for Software testing, Web testing, Mobile testing, Database testing, Cloud testing, Web Services testing, and API testing.
LambdaTest now integrates with TestingWhiz to help perform cross-browser testing of your website or web app, over 2000+ real desktop devices, mobile viewports, and operating system combinations. This document will help you learn how to integrate your TestingWhiz account with your LambdaTest account.
How To Integrate LambdaTest With TestingWhiz?
Below is the step by step guide to help you integrate LambdaTest with your TestingWhiz app.
- Go to Configurations from the Setting menu in your TestingWhiz app. A window will open with all the configuration settings in it, as shown below.
- Go to Cloud Execution menu from the left bar, and you will find LambdaTest there.
- Now you need to provide access of your LambdaTest account to your TestingWhiz app. To do so, click on Add button.
- In the open dialog box, you need to enter your Profile name, username, and access key. You can use any name for your profile on TestingWhiz.
- Click on Validate and then on OK once the credentials are validated successfully.
- Now apply your changes by clicking on Apply and then press OK.
That’s it. Your TestingWhiz account has been integrated successfully with your LambdaTest account.
Running First Test From Your TestingWhiz App On Your LambdaTest Account
Consider a test scenario which includes:
- Opening <a href="https://lambdatest.github.io/sample-todo-app/" rel="noopener" target="_blank">LambdaTest ToDo App</a>
- Check first item in the list
- Check second item in the list
- Add a new item in the list
As soon as you do, an automation test will start instantly, and you can view its build running directly on your LambdaTest automation dashboard. Once the test is complete, you can view the result of the test on LambdaTest, with all its details, as shown in the image below:
You can view logs, mark bugs, and do much more for each executed test from your LambdaTest platform.
The default list of Mobile and Desktop browsers for Automated Screenshot Testing includes:
Default Desktop Browsers
|1||Windows 10||Google Chrome||71|
|2||Windows 10||Google Chrome||70|
|3||Windows 10||Internet Explorer||11|
|5||macOS High Sierra||Safari||11|
Default Mobile Browsers
|1||Android||Samsung||Galaxy Note 9|
|5||iOS||iOS 12.0||iPhone XR|
|6||iOS||iOS 12.0||iPhone XS|
|7||iOS||iOS 12.0||iPhone XS Max|
With LambdaTest Plugin for Shopify, you can now capture full-page automated screenshots of your Shopify store across multiple Mobile and Desktop browsers & operating systems in a single click.
How To Install LambdaTest Shopify Plugin?
To install LambdaTest Shopify plugin, follow the below steps:
Step 1: Login to your LambdaTest account and go to Integrations tab from the leftbar.
Step 3: Enter your store domain URL in the given textbox and click on Install.
Step 4: This will take you to your Shopify store domain and ask your confirmation to install LambdaTest into your store, once you are logged in. Click on the Install button and you are all set with LambdaTest plugin.
Step 5: Congrats! Your Shopify store has been integrated with LambdaTest successfully. You will see a confirmation message on the top right corner of your screen stating the same. Also, you can find the Shopify app in the My Integrations section, after the integration is successful as shown in the image below.
You can also find LambdaTest plugin installed on your Shopify store’s App section.
How To Take Full Page Screenshot Of Your Shopify Store?
Once you have integrated your Shopify store with LambdaTest, here’s how you can take full page cross-browser screenshots of your store:
Step 1: Visit your product on your Shopify store and select any page that you want to take a screenshot of. Not only your published product pages, but you can also perform a screenshot and cross-browser testing on your drafts as well, using this plugin.
Customize Your Screenshots Configuration
By default, the screenshots of your store will be taken in the Default list of browsers. But, you can always select your favorite combination of Mobile and Desktop browsers for automated screenshot testing via this LambdaTest Shopify plugin.
Let’s see you can save your favorite list of browsers. First visit our Screenshot Testing feature. You can see a list of browser and OS combinations for Desktop and Mobile, as shown in the image below:
Then select your favorite list of browsers by either clicking on them, or by selecting them in bulk. You can choose up to 25 different browsers in a single list. For example, first, select some Desktop browsers. In the below image, as you can see, some Firefox browser versions are selected for Windows 10, and some Chrome browser versions are selected for Windows 7.1. As a result, you can see the count of selected browsers mentioned at the top.
Now you can also select some Mobile browser combinations, as per your choice. For example, in the image below, we have chosen a few Mobile device and browser combinations. As a result, you can see now all 25/25 browsers have been selected.
Once you have selected your favorite list of Mobile and Desktop browsers, you need to select your list, as per your choice, in which you want to store these. And then click on Star icon to mark them as your favorite.
Now you need to set this list as your chosen configuration for automated screenshots. So, in the Shopify app under My Integrations section, you can see an option to customize the integration Settings. When you click on it, you can see a drop-down to select the saved list of favorite browsers for one-click screenshot testing. Initially, the Default List will be selected. However, you can choose among the Default or the saved Lists (List 1, List 2, or List 3), as per your choice.
Note: If the selected list does not have any saved browsers, then Default list will be used to generate the screenshots.
To know about how to save your favorite list of mobile and desktop browsers, refer here.
Now you can repeat the above steps to generate full page automated screenshots and this time they will be according to your favorite list of browsers.
AppVeyor CI is a very popular continuous integration and deployment platform based on .NET applications. It can also be easily integrated with GitHub and BitBucket projects for CI/CD. It makes testing, deployment, and monitoring builds very easy for developers. It is free for open-source projects.
LambdaTest now integrates with AppVeyor CI to boost your go-to-market delivery. You can perform automated cross-browser testing with LambdaTest to ensure seamless code render through an online Selenium grid. LambdaTest provides 2000+ real browsers running through machines, on the cloud. You can perform automation testing in parallel with LambdaTest’s Selenium grid, which can help you trim down your test cycles drastically.
Prerequisites For Integrating AppVeyor CI With Our Online Selenium Grid
To perform your tests with LambdaTest, you would need the below things to be already set up:
- A GitHub or BitBucket repository on which you want to activate the CI pipeline.
For demo purposes, we have used this Github repository.
- You also need your LambdaTest authentication credentials, which include your LambdaTest username, and access key.
To get your Username and Access Key, go to your LambdaTest automation dashboard and click on the “key” icon left to the help button, on the top right corner.
Update your username and access key in the “Config.properties” file.
Activating A Github Repository For CI/CD
Here are the steps to activate and integrate your Github repository with AppVeyor CI on LambdaTest:
Login to your AppVeyor CI platform and click on New Project to enable CI/CD on your selected repository. For demo purposes, we have used the GitHub repository mentioned in the pre-requisites above.
Once your repository is added, go to the Settings -> Build, and select the trigger choice for build purpose. For this demo, we have used Script trigger and passed the below code in command line (Cmd). Save the build settings when done.
Congratulations!! Now you have successfully activated your repository for CI/CD on the AppVeyor platform.
Execution Of The AppVeyor CI Pipeline On LambdaTest
Below is the step-by-step execution of the AppVeyor CI pipeline.
Make sure to add your LambdaTest’s hub URL and Desired Capabilities in your test setup, as done in the AppveyorCI/src/main/java/stepDefinitions/ToDoStepDefinition.java file of the mentioned GitHub repository.
- Push the changes to your integrated GitHub repository. For example, we have changed the test name in the forked repository.
Once the edit is complete, click on “Commit Changes” to save and commit the changes made. AppVeyor CI is activated as soon as this step is done since we have used “push event” for triggering the AppVeyor CI.
As soon as the AppVeyor CI is triggered (through push event in this case), a new build can be seen in the “Timeline” on your LambdaTest’s automation dashboard. The current status of this build will be “running” or “executing”.
- Now based on the tests, this build can pass or fail. If passed, a green tick along with the term Passed will appear in the summary of the test. Else if failed, a red cross will appear instead, along with the term Failed, as shown below.
Deploy your code in a reliable manner at scale using AppVeyor CI integration with LambdaTest, and ensure it looks robust across every browser to provide a seamless user experience to all your visitors. If you have any doubt, please feel free to reach out to us via 24/7 chat support or by mailing to us on firstname.lastname@example.org. Happy testing! ?
To get the error report of your unrendered URL, navigate to the ‘Error Report’ button in the URL bar as highlighted below.
Upon clicking the Error Report button, your Error Report will be generated.
LT Browser allows you to replicate the touch screen devices. Now you can use the touch mode for both mobile devices, desktops, laptops, and navigation in the same way as you would use the touch feature on your mobile device.
To enable the touch mode, navigate to the ‘Settings’ button from the top left and enable the ‘Mouse Pointer’ button.
Once enabled, when you hover to any screen it shows a touch icon as highlighted below.
LT Browser lets you capture full-page screenshots of your pre-installed mobile devices, desktops, and laptops. Now you can capture your website’s long content with the full-page screenshot feature and compare it across multiple devices.
Step 1: To capture full-page screenshots, navigate to the settings button from the top-left and click on the ‘Screenshot Full Page’ button.
Step 2: Click on the ‘Screenshot’ icon.
Upon clicking on the Screenshot icon, you will receive a prompt message stating “Capturing screenshot in progress!”.
After the screenshots are taken, you will again receive a prompt message confirming the same.
Step 3: Then, you will be guided to the page where you can download your full-page screenshots into the LT Browser by pressing the ‘Save’ button or you can download your screenshots into your local system by clicking on the ‘Arrow’ button.
LT Browser allows you to test your mobile website view over different networks such as fast 3G, slow 3G, online, or even offline. With network throttling, you can change your network profile to test its functionality when exposed to different network environments.
Step 1: To test your website over different network environments, click on the ‘Network Throttling’ button.
Step 2: For the demo, we will test the website over the slow 3G network. Select the Slow 3G option from the network list.
Once you are done with selecting the network, you can test your responsive mobile view of your website over a slow 3G network.