Enroll in Selenium Training

In the previous tutorial, we got familiar with the LambdaTest Dashboard and learned about the various section available on the dashboard. Since dashboard is our overview of the tests that we do, we will keep on looking at the dashboard after the tests wherever it is necessary to show the difference. Now it is time we start some Real Time Testing with LambdaTest. In this tutorial, we will be focussing on

  • What is Real Time Testing?
  • What is Virtual Machine and VM in Lambda?
  • How to perform Real Time Testing on a Desktop Device using Lambda Test?
  • How to perform a Real Time Testing on a Mobile Device using Lambda Test?
  • How to view Execution Results on Lambda Test?

What is Real Time testing?

Real-Time Testing in LambdaTest is the process of testing your website in real-time. In real-time means that you can run your website on the cloud machine and perform the testing operations, which is exactly similar to testing the same website on your local machine with the desired configurations like (Windows & Browser Version). So you can just go through the website as you would normally do and then with the help of certain tools, you can perform testing and share them with your teammates then and there. This way you can do all of the things at one screen only.

How to Create a Virtual Machine in LambdaTest?

A virtual machine is a software program that exhibits the behavior of an actual operating system or machine. We can also say that a virtual machine is an emulation of the specification you want to achieve without having a physical machine at your desk. This machine will be run on the same specs as you decide and will behave in the same way as that machine would have behaved. A virtual machine can perform every task that a physical machine with the specs would perform and in a similar way. It is very important to note that a virtual machine shares the physical resources of the host machine. A host machine in a virtual environment is the physical machine on which we run the host machine. The virtual is hence called the guest. So you need to allocate a few GBs of RAM to the virtual machine and space on your drive for the smooth functioning of the virtual machine. This method creates an advantage for us to run a machine inside a machine without actually purchasing the machine. You can use Linux on a virtual machine to run Linux on a windows machine. Here we are creating a virtual machine to select the browser and version of our choice. By doing so we can run our desired website on the same selected specs and see how the website will behave without actually installing the browser or getting the machines. Let's start our testing with this.

How to perform Real Time Testing in LambdaTest?

Since we majorly test our websites either on Desktops or Mobiles, Lambda Test gives us functionality to achieve both. Below we will look at testing websites on Desktop and Mobile device.

Real Time Testing in LambdaTest on a Desktop Device.

  1. Go to LambdaTest and Login to the website if you are not logged in.

  2. Select Real Time Testing from the sidebar. Real Time Testing with LambdaTest

  3. A new window will open up. Real_Time_Testing_Window

  4. Enter your website name in the URL box. url_enter_real_time_testing

  5. Leave the optional tunnel feature as it is and choose the browsers from the list.

  6. You can choose any browser from the list and any version. I have chosen Google Chrome and version 58. choosing_browser_version_real_time_testing

Note: Please use any version as you like as some of them (like I used above) might not be available for a free plan.

  1. Choose the operating system and resolution on which you want to run your website. Operating_System_Real_Time_Testing

  2. Press Start to run the VM with the selected specs. Start_Button_RTT

  3. This will initialize the VM and the following screen confirms this status. Processing_VM

After a few seconds, the home page of the website opens up as it should open in Google Chrome ver 58 on Windows 8.1 with resolution 1366x768. Home_Page_ToolsQA_GC_58_8.1

You can now check the complete website on this screen like you would on your normal machine. After this, you can close this session by selecting end session option from the side tool panel. Side_Tolol_Panel This will end your session and will take you back to the real-time testing panel.

Real Time Testing in LambdaTest on a Mobile Device

In the above section, we ran the virtual machine on the desktop. You can also test your website on any mobile device. For this choose the mobile option in the real-time testing dashboard. mobile_rtt

  1. Select the mobile operating system and the device you want to test your website in. select_device_mobile_rtt

  2. Select the model number and the browser you want to run your website in. Device_OS_Mobile_RTT

  3. Run the virtual machine and the emulator will start with your website. mobile_emulator

Again, you can end your session once you are done and go back to the real-time testing dashboard.

Lambda Test Execution Results over Dashboard

Since now we have performed a total of two tests, one each on desktop and mobile, we can look at our dashboard and see how the stats have changed since then.

Go to Dashboard.

Dashboard_2_Tests

As it is seen in the above image, the count for real-time tests have increased to 2 and the real-time minutes have increased to 2. As you perform other tests, this will be reflected accordingly in your dashboard. It should be noted that real-time minutes can be different for you. Now that we have tested our website on LambdaTest, I recommend you keep practicing with other browsers and other devices (with different versions) and see how the website behaves differently. In the next tutorial, we will talk about the tool panel in the left sidebar.

LambdaTest Walk Through
LambdaTest Walk Through
Previous Article
LambdaTest Tool Panel in Real Time Testing
LambdaTest Tool Panel in Real Time Testing
Next Article
Harish Rajora
I am a computer science engineer. I love to keep growing as the technological world grows. I feel there is no powerful tool than a computer to change the world in any way. Apart from my field of study, I like reading books a lot and developing new stuff.
Reviewers
Lakshay Sharma's Photo
Lakshay Sharma

Similar Articles

Feedback