If else program in Java

Posted Posted in Android, Apache, Automation Framework, Automation/QTP/Selenium Blogs, Jmeter, Others, questions, Technical blog, Travel, Trending, Uncategorized
If else program in Java import java.util.Scanner; class IfElse { public static void main(String[] args) { int marksObtained, passingMarks; passingMarks = 40; Scanner input = new Scanner(System.in); System.out.println(“Input marks scored by you”); marksObtained = input.nextInt(); if (marksObtained >= passingMarks) { System.out.println(“You passed the exam.”); } else { System.out.println(“Unfortunately you failed to pass the exam.”); } […]

Summary of Web services and API testing using UFT

Posted Posted in Android, Apache, Automation Framework, Automation/QTP/Selenium Blogs, Google adsense, Java, JavaScript, Technical blog, Wordpress
Summary of Web services and API testing using UFT   Web services   Demand of Web services is already high in the new internet era since applications are built in different technology / databases and connected through internet. So communication between is only possible through a commonly accepted media which are Web services   Web […]

Maven TestNG framework with reporting features and switching pages

Posted Posted in Android, Apache, Automation Framework, Automation/QTP/Selenium Blogs
Maven TestNG framework with reporting features and switching pages   1.  Setup a Maven project in Eclipse with POM file as below Refer the Post-Man plugin highlighted below in yellow Refer the reporting directory path highlighted below in yellow   POM file sample as below – you can copy paste this contents for any Maven TestNG project. […]

Cucumber Scenario data table and Scenario Outline data table

Posted Posted in Android, Apache, Automation Framework, Automation/QTP/Selenium Blogs, Cucumber Selenium, Google adsense, Java, JavaScript
Cucumber Scenario data table and Scenario Outline data table   1.   Cucumber Scenario data table   Sample feature file contents as below:   Feature: Login and Logout Action   Scenario: Successful Login with Valid Credentials        Given User is on Application Home Page          When User Navigates to Application LogIn Page        And User […]

4 Dimensional Arrays in Java

Posted Posted in Android, Apache, Automation Framework, Automation/QTP/Selenium Blogs, Cucumber Selenium, Java, JavaScript, Technical blog, Wordpress
4 Dimensional Arrays in Java   Sample code for 4 Dimensional Arrays in Java   package javaArrays; import java.util.Scanner;   public class FourDimArray {               public static void main(String[] args) {                 int a[][][][] = new int[5][4][3][2];               int i,j,k,l, num = 1;                                           for (i=0; i<5; i++)               {                      […]

Summary on Cloud, Machine learning, Artificial intelligence and other emerging technologies

Posted Posted in Android, Apache, Automation Framework, Automation/QTP/Selenium Blogs, Cryptocurrency, Cucumber Selenium, Google adsense, Hadoop Big data, Java, JavaScript, Technical blog, Trending, Wordpress
Summary on Cloud, Machine learning, Artificial intelligence and other emerging technologies Salesforce Salesforce.com is an American cloud computing company. Salesforce offers Software as a Service (SaaS) platform which helps in Customer Relationship Management. It has a multi-tenant architecture and subscriptions.  The following are the application clouds in Salesforce CRM. Sales Cloud 2. Service Cloud 3. Marketing […]

Summary about Jmeter and performance testing

Posted Posted in Android, Apache, Automation Framework, Automation/QTP/Selenium Blogs, Cucumber Selenium, Google adsense, Java, JavaScript, Jmeter, Performance testing/Loadrunner/Jmeter blogs, Technical blog, Trending, Web server/application server/Web services, Wordpress
Summary about Jmeter and performance testing Jmeter recording How to create Jmeter scripts? Recording Jmeter scripts using Jmeter’s HTTP(S) Test Script recorder. There are two ways 1)      Manually adding scripts ( Test plan >> Tread Group >> Add>> Sampler >> HTTP Request ) 2)      Recording using Jmeter’s HTTP(S) Test Script recorder How to record Jmeter […]

Summary about Jenkins, Selenium and QTP automation frameworks

Posted Posted in Android, Apache, Automation Framework, Automation/QTP/Selenium Blogs, Cucumber Selenium, Google adsense, Java, JavaScript, Technical blog, VB scripting, Wordpress
Summary about Jenkins, Selenium and QTP automation frameworks How to run Jenkins locally 1) go to //jenkins.io and download Jenkins.war file 2) place the war file in a folder (e.g. C:\Jenkins\Jenkins.war ) 3) then open command prompt (windows start menu > run > cmd will open command prompt ) 4) in command prompt, go to […]