Friday, December 27, 2019

Enabling the Disabled Manage Test Controller window in Visual Studio When Using After Configuring a New Test Rig

This post discusses the issue that testers face while using the load test rig created with Visual Studio for the first time.After configuring the test controller and test agent for the test rig, you might need to track the status of the controller and agents. For that purpose, you can use Manage Test Controller section of the visual studio.

Prerequisites:
Load test rig configured using several machines

Saturday, December 21, 2019

Resolving reading mal-formatted XML with PowerShell

This post explains a small issue faced while reading the XML configuration file values using a PowerShell script. You may have experienced the same issue while reading XML files with PowerShell. So, this post would help you to learn how we can resolve the issue.

Our requirement was to get the content of the App.config file and App.dll.config file to a PowerShell variable. It was possible to get the content of the App.config file to a PowerShell variable with following command.$appConfig is the App.config file path.

Sunday, December 15, 2019

Updating App config in Azure Pipeline Using Octopus Variable set


This post discuss how to update App.Config in Azure pipeline using  Octopus variable set.

Prerequisites:

  • Octopus environments
  • Octopus variable sets
  • Octopus project with variable sets attached

Let's identify how we configure a project and variable sets in the Octopus. Following image shows the Octopus variable and values defined with the scope.

Saturday, November 30, 2019

Reusing Steps in Azure DevOps Build Pipelines with YAML Templates

Azure DevOps allows us to create yaml build pipelines. If you use yaml build pipelines you may have realized, there are repetitive steps which can be reused in multiple build pipelines. You can create a yaml template with include all the repetitive steps and reuse that template with in other yaml file which defines a build pipelines. This post will explain how to create a yaml template and use it in a pipeline.

Following is the yaml script which doesn't use templates. It has all the steps in the same yaml file which makes a script not manageable.

Saturday, November 16, 2019

Resolving "user lacks permissions" in NuGet push task of Azure Pipelines

This post will discuss the issue you might get when trying to push the nuget package to the Azure DevOps Artifact feed using the build pipeline.

pre requisites: Azure DevOps arifacts feed
Let’s get started.
  • You can implement the build pipeline to pack and push the nuget package to the the Azure DevOps nuget feed as explained in this post.Using NuGet Packages as Azure DevOps Artifacts Once you configured the build pipeline, it will look as follows.

Friday, November 8, 2019

Setting up Multiple YAML Builds in the Same Azure Git Repo With Path Filters

Azure DevOps has mainly two ways of creating build definitions to build your code. You can use either classic editor or YAML scripts to create a build. You can write YAML scripts to create various types of builds according to your project requirements. This blog post explains how to write YAML scripts to setting up different YAML builds in the same repo.

Pre-requisites : Azure DevOps project with multiple solutions in the same repo

Let's get started.

Tuesday, October 29, 2019

Automated Cross Browser Testing with LambdaTest and Azure DevOps

Testing is very important process of the software development life-cycle which improve the quality of the software product by identifying issues of the software in various pre-release stages. Cross browser, device testing is important to verify application performance in different browsers and devices.  Hence, test teams use both manual and automated test mechanisms to perform test activities. This post explains how to perform automated cross browser, device testing with LambdaTest and Azure DevOps.

Pre-requisites: Selenium script which use LambdaTest selenium grid
                            Azure DevOps project

Monday, October 14, 2019

Attach UI/Functional Test Run Video to Tests in Azure DevOps

When you have Automated test scripts integrated with Azure DevOps pipelines and run test scenarios using Test client machine, you can’t see what actually happens inside the test client machine. You only get the test run results at the end of the test run with all necessary details as execution time, failure test cases with failure reasons. To get more detail of the test scripts, we can attach screen shots and videos to the Azure DevOps pipelines test result section. This post explains how we can add test run video to the Azure DevOps pipeline.

Sunday, October 6, 2019

Getting started with Web Performance Test Scenarios


Web Performance and Load Test is important part of the test cycle which help to verify the performance of the web application under load. Visual studio is one of the well known tool for  Load and Performance test.Hence let's try to learn how to work with web performance test with Visual Studio in this post.

  • Create New Project. Go to File-->New—>Project
  • Popup window will open. Select Web Performance and Load Test Project from test projects section.

Sunday, September 8, 2019

Resolving Windows Machine File Copy Task Failed With Access Denied Issue

Windows machine file copy task in Azure DevOps pipeline is used to copy files to remote windows machines. In this blog we are going to discuss the access denied issue which might occur in this task. When we use this task in the deployment pipeline to copy automation scripts to test client machine, suddenly, deployment pipeline started failing with an access denied issue as stated below. Let’s look at how it was resolved to which might help you as well if you run into the same problem.

Thursday, August 22, 2019

Using NuGet Packages as Azure DevOps Artifacts


When we work with Azure DevOps deployment pipelines, we have several options to select the build artifacts. Most common way is selecting the build artifacts published in the build pipeline. Other than this we can publish the artifacts as NuGet packages and save in the Azure DevOps Artifacts feeds. This post will explain how to create a NuGet feed, build and push NuGet packages using an Azure DevOps build pipeline to the feed. Finally, we will discuss how to deploy artifacts packaged as the NuGet packages using Azure DevOps deployment pipelines. 

Sunday, August 11, 2019

Deploy Jenkins Build Artifacts using Azure DevOps Deployment Pipeline

There are various build and deployment tools available in the market today, enabling you to automate software delivery. Each of these tools have different capabilities. So, when we work in projects it is better if we can use these tools integrated together to make our project successful. This post will explain how we can deploy Jenkins build artifacts to Azure app service web app using an Azure DevOps pipeline, showing you the Azure DevOps and Jenkins build pipeline integration capability.

Thursday, August 1, 2019

Enhance Collaboration of Your Team Using Azure DevOps Service Hooks and MS Teams

One of the main characteristic of a successful team is a strong communication and collaboration between the team members. There are many tools that we can use to build up this bond between the team members. Each and every team member need to knows the latest status of the team progress. Hence, development teams use different tools to update their teams. Microsoft Teams is one of the most known team's collaboration tool. Most teams use MS Teams to share documents and  to conduct the team discussions. This post will discuss more advanced use of the Microsoft teams by integrating it with the Azure DevOps.

Thursday, July 25, 2019

Setting up a Load Test Rig


Load testing is very important part of the testing cycle. It allows you to test your application under stress by increasing the parallel users of the application. To perform a good load test, you need to generate more and more traffic, which you can't do only using your development machine. As a solution, you can use load test rig to generate more traffic to your application. Load test rig is made up of one test controller machine and one or more test agent machines. Test controller coordinate the agent machines and agent machines generate load against the application.

Sunday, June 30, 2019

Deploy Functional App to Azure Functional App Service - Part 2

This post explains how to create an azure function app service in Azure and deploy a .NET Azure function app, using Azure DevOps deployment pipeline to Azure. In the previous post Deploying Azure Function App with Azure DevOps - part 1 we have discussed how to create .NET function app and publish and generate the app package using Azure DevOps build. Let's discuss the steps to deploy the published function app package to the Azure function in this post.

Let's  get started.
  • Go to portal with Azure subscription credentials.
  • Select Create a resource then Azure market place pane will open
  • Find and click on Function App .

Tuesday, May 28, 2019

Deploying Azure Function App with Azure DevOps - part 1

Azure function is a small piece of code in cloud which you can write as a solution for the problem without worrying about an application or infrastructure to run it. Azure Functions let you develop server less application with several development languages.This post will discuss how to create an Azure function project with visual studio and package the function application using Azure DevOps build.

Saturday, May 11, 2019

Deploy Container to Web App–Part 2

This post explains how to deploy a container image to azure app service web app using Azure DevOps.In the previous post Deploy Container to Web App - Part 1, we have learned how to build and push container image to the Azure container registry(ACR) using Azure DevOps build.Let’s learn how to deploy the ACR image to Azure app service web app using Azure DevOps deployment pipeline.
Find the steps as follows.

Tuesday, April 30, 2019

Deploy Container to Web App–Part 01

This is the first post of two post series, which explains how to deploy containerized Web App to the Azure App Service Web App via Azure DevOps CD pipelines.The first post explains how to create a docker image and push it to the Azure container registry via Azure DevOps build.
Let’s look at the steps.
1. As the first step let’s create an Azure container registry.The container registry is the place where container images are saved.Azure provide facility to create our own private registries.Hence let’s create an ACR called DemoWebApp  to save our container images.You can learn how to create an ACR from my previous post Create Azure Container Registry – Part1.
2. Create Azure DevOps project with a Git repo. Find guide here.
3. Now prepare the development environment to create a container image of the simple .NET core application.

Saturday, March 30, 2019

Install Azure DevOps Server 2019 RC2

This post explains how to install Azure DevOps on perm server 2019 with multi server configuration.Before perform the steps explain in this post, you need to have a windows domain to setup Azure DevOps server,configure the SQL server instance.You can find the prerequisites as follows.

Saturday, February 9, 2019

Create Azure Kubernetes Cluster Using Azure CLI


This post explains how to deploy a kubernetes cluster using Azure CLI (Command Line Interface). Let's look at the steps.

  • Install the Azure CLI. Find the installation details from this location.(https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest)
  • After installation completed, open windows PowerShell.
  • Type az login command to login to your Azure subscription.
  • A browser window will prompt for you to login. Enter your Azure subscription credentials and login.
  • After login succeed, list of all the subscriptions which you have access will be displayed in the PowerShell window.

Saturday, January 12, 2019

Create Azure Container Registry–Part 2

In the previous post ( Create Azure Container Registry Part1) we have discussed how to create an Azure container registry through the Azure portal.This post explains how to create an Azure container registry using Azure CLI(Command Line Interface). Azure CLI is a tool that provide great support to manage Azure resources. Let’s look at the steps.

Wednesday, January 2, 2019

Create Azure Container Registry–Part1

When you work with Docker containers, you are using Docker registry to store Docker images. Microsoft Azure provides a good platform to run containerized applications with Azure Kubernetes Services(AKS), Azure Container Instances, Azure Web Apps or using Azure Service Fabric.When you are using Azure to run containers it is useful to keep the Docker images in Azure.For this purpose,you can use Azure Container Registry.This post will explain you how to create an Azure Container Registry .Let’s look at the steps in detail.