Wednesday, March 4, 2020

Convert/Export Recorded Web, Android & iOS Tests to Java & C# with TestProject


Prerequisites:
1. Sign up: Open a browser  -> Visit TestProject and sign up
2. Activate your TestProject A/C: After signup go to your email and activate account by clicking 
    the link provided through your email
3. Login: Go to TestProject -> Click Login link at the top right corner and log in
4. Get TestProject Agent: Mouse over Agents menu item and download agent for your preferred
    OS (Windows, Linux, Mac)
5. Install, Launch and Register Agent: Install & launch Agent -> Register it
6. Record test: Record your desired tests by following the instructions from the link below:

The following is my recorded tests of Google search:

Now is the time to export your Recorded Tests to Code (Java or .NET C#) ...

Export recorded test to Java or .NET C#:

1. In order to export recorded tests to code, 1st step is to click the Three Dots at the right corner of
    your test and choose to “Generated Code” for the test you want to export as the screenshot as
    below:

2. The following option will be displayed:

3. Select Java or C# as programming language and select your preferred browser (such as Chrome,
    Edge, Firefox, IE, Safari) -> Click Generate button as shown in the screenshot above.
4. Save As option will be appeared for saving the exported code as below screenshot:

5. Now select your desired location -> Click Save button as above screenshot. Click OK from
    Generate code pop up.
6. Extract the zip file you saved (Say, Web_Test_2-My_Test_2-2020_03_02_12_25.zip).
7. Open the extracted code in your preferred IDE. Such as
    for Java you can use Eclipse, IntelliJIDEA.
    for .Net C# you can use Microsoft Visual Studio.


So, You can try TestProject for easier recording your tests as well as to convert your preferred programming language for making flexible & customizable.

Thursday, January 23, 2020

Automation Tools for Testing Desktop/Standalone Applications

List of some automated testing tools for Desktop/Standalone Applications

Free/Open source:

Winium
WinAppDriver
TestStack.White (White Framework)
Jubula
Pywinauto
Oracle Application Testing Suite
SikuliX
FlaUI
AutoIt
ZAPTEST
AirTest
Appium
LDTP (Linux Desktop Testing Project)
Robot Class / Win.form Class
TestArchitect
Tricentis Tosca
Micro Focus UFT (QTP)
Robot Framework
Conformiq

Commercial:

TestComplete
Ranorex

Monday, January 20, 2020

How to install Katalon Recorder on Windows

To install Katalon Recorder for Chrome

1. Open Chrome browser
2. Go to https://chrome.google.com/webstore/detail/katalon-recorder-selenium/ljdobmomdgdljniojadhoplhkpialdid
3. Click "Add to Chrome" button -> Click "Add extension"

To install Katalon Recorder for Firefox

1. Open Firefox browser
2. Go to https://addons.mozilla.org/en-US/firefox/addon/katalon-automation-record/
3. Click "Add to Firefox" button -> Click Add

How to install Genymotion on Windows 10

To install Genymotion on Windows 10

Prerequisites:
1. Go to https://www.genymotion.com/account/create/
2. Sign up and activate -> Sign in

Install Genymotion:
1. Download Genymotion for Windows (without VirtualBox) from
    https://www.genymotion.com/download/
2. Install after download the exe file (Default installation folder/target: C:\Program Files\Genymobile\Genymotion)

How to install Android Studio on Windows 10

To install Android Studio on Windows 10

1. Download Android Studio from  https://developer.android.com/studio
2. Install it on Windows (Default installation folder is  C:\Program Files\Android\Android Studio)
3. You can run Android Studio by executing the exe file (studio64.exe) [Absolute path: C:\Program Files\Android\Android Studio\bin\studio64.exe]

Sunday, January 12, 2020

How to install Java/JDK on Windows 10

To install Java on Windows 10:

1. Go to https://www.oracle.com/technetwork/java/javase/downloads/ and download Java SE Development Kit (in my case "jdk-13.0.1_windows-x64_bin.exe")
2. Simply install the exe

Configuration: It needs to set Path and Classpath
1. Go to System window (Control Panel -> System and Security -> System)
2. Click "Advanced system settings" to go to System Properties window
3. Click "Environment Variables"
4. In <System variables> set the followings as below (The value depends on your installation folder/path):
          JAVA_HOME = C:\Program Files\Java\jdk-13.0.1
          Path = C:\Program Files\Java\jdk-13.0.1\bin
          CLASSPATH = .;C:\Program Files\Java\jdk-13.0.1
5. Open command prompt -> Type the following command and press Enter
java -version

Wednesday, December 11, 2019

List of some API Testing Tools

Some API Testing Tools:

Free & Paid:

  • SOAPUI
  • Postman
  • Apigee
  • Ping API
  • HttpMaster: There are 2 editions -  Express edition is free & Professional edition is paid
  • SOAP Sonar: There are 2 editions - Free Edition & Enterprise Edition (paid)

Free/Open source:

  • Rest-assured
  • JMeter
  • Karate DSL
  • Airborne
  • Rest Console
  • Hippie-Swagger

Commercial:

  • SOAtest
  • Unified Functional Testing (UFT) [Formerly QTP]
  • Tricentis
  • Pyresttest
  • API Fortress
  • vREST
  • API Science
  • APImetrics