Monday, December 24, 2018
Deploy ASP.NET Core App to AKS with Azure DevOps
This post will explain how create a new DevOps project with full CI/CD pipeline to get ASP.NET core application deployed to AKS.Let’s look at steps in detail.
Sunday, December 16, 2018
Fixing “The subscription is not registered to use namespace” when deploying Azure Resources
Azure Kubernetes Services (AKS) allow you to run your containerized application without you having to worry about setting up your own infrastructure. It is robust cloud service offering coming with Microsoft Azure for using Kubernetes as a service. Azure DevOps is helping us achieving implementation of CI/CD pipelines for deploying containerized applications to Azure Kubernetes Services. You can use Azure Resource Manager (ARM) templates to deploy an AKS cluster in Azure. However, when deploying a AKS cluster using Azure DevOps, deployment may fail with the error message “The subscription is not registered to use namespace”. Let’s look at the reasons behind this error and how to get it fixed.
Friday, November 16, 2018
Setup Windows 10 VM in Azure to Develop with Docker CE
Docker is a tool which facilitate to create,deploy and run applications by using containers.Container is used to package up an application with all of the parts it needs and ship it all as one package.This post would explain you how to setup Docker CE in Azure VM to use it for developing Docker based applications.
- Create a azure VM by selecting windows client machine.Select Windows 10 professional or enterprise version.Select V3 category size when create a VM.As example D3_V3.I use Windows 10 Pro,Version 1803 VM with D3_V3 size to do this demo.
Tuesday, October 30, 2018
MAQS Faker Data Utility
Thursday, October 18, 2018
Start Test Automation with MAQS Open Framework
First Create a MAQS project as described in previous post.You know one of the main advantages of MAQS framework is we do not need to spend time, to do package installation and configurations.After creating a project, you can find all required drivers and other packages are installed.You will only have to change configuration values according to your project requirements before start scripting.There would be an App.config file under Test project once the project is created for this purpose.
Page Object Model is used in the project created with MAQS.Page Object Model is an object design pattern where web pages are represented as classes. The elements of the page are represented as variables in the class.
Sunday, September 30, 2018
Functional Test Automation with MAQS Open Framework
MAQS open framework help you to quickly setup test automation project and start automation scripting.This post will explain you how to setup visual studio to work with MAQS open framework.
Let’s install latest version of MAQS open framework(version 5.1.0).As pre requirements you need to install .Net Framework version 4.7.1 or above and Visual studio2015 or above.There are two ways to install MAQS open framework. Install via VS or Marketplace.This post will explain you how to install MAQS via Visual Studio.
Thursday, August 23, 2018
Create Azure VM using ARM Template
- To create your first ARM template, go to the Azure portal as we have discussed in Create Azure Virtual Machine post.and follow the steps to create a VM (Virtual Machine) till the final step..
- In the final step you can find a link next to Create button named “Download template and parameters”. Click on that link to download template files.
Saturday, August 18, 2018
Install Azure PowerShell and Execute Commands
Monday, August 13, 2018
Working with Azure PowerShell
Wednesday, July 25, 2018
Scheduled Azure WebJobs Trigger Through C# Script
Following steps show you how to trigger a web job using Web Job API.
- First we need to find site credentials(publish profile credentials).You can find site credentials by following Option 1 or Option 2.
Friday, June 22, 2018
UI Automation with Selenium using jQuery.simulate Plugin
Friday, April 27, 2018
Functional Testing using Selenium and PhantomJS with Python
PhantomJs is one of the widely used headless driver.This helps to run a bunch of test cases without ever having to open a web browser.You can take screen shots of each step while test case is executing even though user doesn’t see the GUI
Monday, March 12, 2018
Create Azure Virtual Machine
While you do testing may execute automated test cases only in visual studio. You may have decided to execute automated functional tests using a test agent and test controller and planning to deploy VMs to do this. But without using on premises machines you can deploy Azure VMs to setup test agents and controller.
But why Azure VMs?
It is hard to predict how your business change. There may be situations you have to improve performance of your automation scripts by increasing resources of agent machines. Or you may need to do parallel test execution using multiple agent machines.
- Due to Scalability and High availability of Azure VMs you can change resources of VMs easily according to your project requirements.
- You can deploy new AVM less than 15 minutes.
Wednesday, February 28, 2018
Obtaining Results While Test Execution with VSTS Release Management
When you are executing automated functional testing, there could be failures in critical test cases. In such situations, it may be worthless to continue test execution further. However, when you run automated functional test cases thorough VSTS/ TFS, until the full test execution finishes, you would not be able to view the individual test case status. This is a feature considered by Microsoft for VSTS in 2018 Q2 (for on premises TFS 2019) and until that shows up here is small workaround.
Tuesday, February 6, 2018
Using Sikuli & Selenium in VS to Detect the Undetectable
While doing GUI automation, We can identify few limitations of the selenium web driver.
- Selenium web driver does not support flash objects.
- Selenium web driver automate only web applications.
Other than these web driver limitations,some times you may have to write automation scripts, while you do not have easy access to GUI’s internal code.
Sunday, January 28, 2018
Functional Testing with Selenium and Python
The visual studio IDE can be used to do the python+selenium script writing. The best thing is, If you use unittest module, Test case is displayed on the test explorer. Which allows to run a test case using test explorer.
-
As DevOps engineers, you get requirements to do scripts to perform several actions on application or get status of the application backend ...
-
If you are familiar with Terraform, you might have experience with terraform state import, which allows to import state of the already prov...
-
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 pipel...