Tag: C#

[Updated] ExecuteAutomation speech in New Zealand – Meetup 1

Dear Friends,

I am pretty excited to share you all, probably you might have know that before, I am going to talk for the first time in Auckland, New Zealand @WeTest community meetup on BDD with Specflow.

We are expecting to have around 60+ participant from across Auckland joining physically since we have space limitation, but there are still around 40+ waiting list to attend the meetup, and many have shown interest from across the globe to participate but unfortunately not everyone can fly for just 1 hour session, hence we are going to Go Live in YouTube on 12th Dec as shown below

Please Join with me for complete session happening on 12th Dec right from your Mobile/Desktop.

 

Update

Meetup yesterday was fantastic and I could see lot of people turn around even during their busy working day schedule, great questions and great hospitality from Clearpoint.

 

 

 

 

 

 

 

 

 

 

 

Thanks,
Karthik KK

 

Running Xamarin.UITest on specific iOS Simulator

In this video we will discuss how we can run Xamarin.UITest on specific iOS simulator instead of the default simulator configured in MacOS by XCode.

So far we executed all our tests on default Android emulator and iOS simulator. But there are times we would like our test to run on specific device or simulator versions and type.

This we can do with our Xamarin.UITest using DeviceIdentifier option of iOS configuration

DeviceIdentifier via code

DeviceIdentifier method can be used to locate and run specific target iOS simulator as shown below

Here is the complete video of the above discussion

This complete discussion is part of detailed Udemy course https://www.udemy.com/xamarin-uitest/

Thanks for reading the post and watching the video!!!

Please leave your comments and let me know if there is anything I should update in this post.

Thanks,
Karthik KK

Running Xamarin.UITest code in MacOS for Android/iOS Operating System

In our last post we discussed how to run Xamarin.UITest code using Xamarin Test Recorder in MacOS. In this post we will discuss how to work with Xamarin.UITest with our CrossPlatform framework that we created in our course “Mobile Automation testing with Xamarin.UITest” in Udemy.

Here is the complete video on how to run Xamarin.UITest code in MacOS for both Android and iOS application

Here is the code snippet of the above video to switch with different platform

Thanks for reading the post and watching the video!!!

Please leave your comments and let me know if there is anything I should update in this post.

Thanks,
Karthik KK

 

Selenium PageFactory does not work in .NET Core 2.0

In this post we will discuss one of the recent burning issue with Selenium PageFactory which does not work in .NET Core 2.0 framework.

Selenium 3.6.0 and 3.7.0 are the first official package to natively support .Net Standard 2.0 as opposed to earlier version which even though works in .NET Core 2.0 framework, will still see warnings in references as shown below

 

But the problem now with Selenium 3.6.0 and Selenium 3.7.0 is its missing one of the most important Class PageFactory used for Page Object Model and Page Navigation, which we can literally see from the Object browser of visual studio in comparison with .NET framework 4.7

 

Here is the change log of Selenium 3.6.0

Here is the complete video of the above discussion

Thanks for reading the post and watching the video!!!

Please leave your comments and let me know if there is anything I should update in this post.

Thanks,
Karthik KK

Xamarin Test Recorder in MacOS for iOS/Android mobile automation

In this post we are going to discuss recording Xamarin.UITest Test for iOS mobile application running in MacOS via Xamarin Test Recorder.

Xamarin Test Recorder

The Xamarin Test Recorder reduces the effort and the time it takes to create automated UI tests that can be submitted to Xamarin Test Cloud as well as local testing running via Xamarin.UITest in Visual Studio for Mac 2017

Xamarin Test Recorder is the first ever tool in mobile automation testing space which gives automation testers to

  1. Record the test
  2. Export the test as clipboard 
  3. Run the test 
  4. Export the test on Xamarin Test cloud (with very minimal configurations)

Most of the above options are already discussed in lot more detailed in the course https://www.udemy.com/xamarin-uitest

Here is the complete video of the above discussion.

Thanks for reading the post and watching the video!!!

Please leave your comments and let me know if there is anything I should update in this post.

Thanks,
Karthik KK

Running ASP.Net MVC application on RaspberryPi 3 with .Net Core 2

In our last post we discussed running console application with .Net core 2. In this post we will extend the concept even further by running an ASP.Net MVC application on Raspberry Pi 3 with .Net Core 2

You can see we will run an full blow ASP.Net application on Windows 10 IoT core, which is really awesome !

Here is the complete video discussing the concept

Make sure you don’t forget to turn off <MvcRazorCompileOnPublish>false</MvcRazorCompileOnPublish> 

Here is the complete project in GitHub of ExecuteAutomation

Thanks for reading the post and watching the video!!!

Please leave your comments and let me know if there is anything I should update in this post.

Thanks,
Karthik KK

Running Chrome in headless mode with Selenium C#

In this post we are going to discuss about running Chrome in headless mode with Selenium C#

Chrome headless

Headless Chrome is a way to run Chrome browser without the actual browser UI being spawned. Essentially its running Chrome without chrome! It brings all modern web platform features provided by Chromium and the Blink rendering engine to the command line and automation testing tool such as Selenium in our case

Where is it useful ?

  • A headless browser is a great tool for automated testing and server environments where you don’t need a visible UI shell.
  • And again its not a completely new technology, since there are other big players in this area such as
    • PhantomJS
    • HTMLUnitDriver

So when is Chrome Headless available ?

  • Chrome Headless is supported from Chrome 59.x and above.
  • The current stable version for Windows 10 is Chrome 60.x
  • ChromeDriver v2.30 and above supports headless mode

What changes should I make in my Existing Selenium test ?

Here is the complete video of the above discussion Read more