Tuesday, February 26, 2019

PHP - Hypertext Preprocessor

What is PHP?
1.PHP is a server-scripting language
2.PHP is also called as Hypertext Preprocessor
3.PHP is a open source scripting language- PHP Course in Chennai

Syntax:
  The Basic Syntax of PHP is
         <?php
           // php code;
         ?>

Comments in PHP:
1.//  -> Is a single-line comment
2.#   -> another single-line comment
3./*..*/ -> It is a multiple-lines comment

Note:
1.Php code are ended with semicolon(;)
2.Php is case-sensitive
3.Variables are mentioned with $” sign
4.Echo is used to print the statement

Variables:
 In PHP,the variables are classified into three different types:
1.Local
2.Global
3.Static

Global Variable:
Global Variable can be accessed the outside given function

Local Variable:
The Local variable can be accessed within the function.PHP Course in Chennai

Conditional Statements in PHP:
1.If
2.If...else
3.If...elseif...else
4.Switch

If Statement:
1.If Statements will check both the conditions in the program It only executed when the condition is True.

Syntax for If-Statement:
       If (condition) {
            //program codes;
   }

If..else Statement:
1.If...else statement will check both the condition 
2.If condition is true mean it will execute the condition or if the condition is false mean it will go to else statement.PHP Certification in Chennai

Syntax for If..else Statement:
           If (condition) {
           //program codes;
           } else {
           //program codes;
           }

If...elseif...else Statement:
The If...elseif...else  Statement is executed when two or more condition.

Syntax for If...elseif...else:
  If (condition) {
   //program codes;
  } elseif (condition) {
  //program codes;
 } else  {
 //program codes;
 }

Switch Statement:
   The Switch statement is executed when the condition want to many task or action.

Syntax:
    switch (n) {
case label1:
    //Program codes;
    break;
   case label2:
    //Program codes;
   break;
   case label3:
    //Program codes;
   break;
   ...
default:
    //Program codes;
}

Looping Statements in PHP:
1.While Loop
2.do..While Loop
3.For Loop

1.It will execute the code until the condition is true.

Syntax:
while (condition) {
Codes;
}

Do..while Loop:
1.The do..while loop will execute once after execution it will check the condition.

Syntax:
do {
   codes;
} while (condition);

For Loop:
1.It will execute the code no of times

Syntax:
  for (init counter; test counter; increment counter) {
       codes;
}

PHP Data Types:
The PHP Data types are classified into following types,they are:
1.String
2.Integer
3.Float
4.Boolean
5.Array
6.Object
7.NULL
8.Resource

PHP-String:
A String is a collection of character enclosed with double quotes.
Eg: “Hello World!”  (or) ‘Hello World’
PHP-Integer:
A Integer is a PHP data type and it ranges from  -2,147,483,648 to 2,147,483,647.
PHP-Float:
In PHP float are used to determine the variable in decimal number.

PHP-Boolean:
The boolean are used only to show the results in true or false state.

PHP-Array:
An Array stores numerous values in a single variable.

PHP-Object:
An object is a PHP data type which stores data and information on how to process that data.

PHP-Null:
The Null data type is holding the value of null when the variable has no value to assign, then preferably NULL is used.

PHP-Resource:
The PHP Course in Chennai resource type is not an actual data type. It is the storing of a reference to functions of PHP to external resources.



Friday, February 15, 2019

Selenium-Automation Testing

Selenium:

Selenium is one of the popular tools in Automation Testing, Selenium is widely used in all browsers and web application. Selenium plays a major role in Automation.


Selenium-Automation Testing Life cycle:


Mechanization testing utilizes particular devices to robotize the execution of physically structured experiments with no human mediation. Computerization testing instruments can get to the test information, controls the execution of tests and think about the genuine outcome against the normal outcome. Subsequently, producing a point by point test reports of the framework under test. Selenium Training in Chennai


Robotization testing covers both practical and execution test on an application. Utilitarian robotization is utilized for computerization of practical experiments. For instance, relapse tests, which are dull in nature, are mechanized.

Execution computerization is utilized for mechanization of non-utilitarian execution experiments. Selenium Testing Training in Chennai, For instance, estimating the reaction time of the application under significant (state 100 clients) load.


Mechanization Testing devices which are utilized for practical computerization:

  • Speedy Test Professional, given by HP.
  • Sound Robot, given by IBM.
  • Coded UI, given by Microsoft.
  • Selenium, open source.
  • Auto-It, Open Source.

Mechanization Testing devices which are utilized for non-practical computerization:

  • Burden Runner, given by HP.
  • JMeter, given by Apache.
  • Burp Suite, given by PortSwigger.
  • Acunetix, given by Acunetix.

Why Automated Testing

Mechanization testing has explicit focal points for enhancing long haul productivity of any product. The key advantages of test mechanization are:

Computerized testing has for quite some time been viewed as helpful for huge programming associations. Selenium Training Institute in Chennai. In spite of the fact that usually thought to be excessively costly or troublesome for littler organizations to actualize.


Robotized testing instruments can be modified to construct and execute test contents at a particular time without including any human intervention. For example, a computerized test can be naturally commenced medium-term, and the analyzers can examine the consequences of the mechanized the following


  • Mechanized testing apparatuses can playback pre-recorded and pre-characterized activities.
  • Mechanization testing underpins visit relapse testing.
  • It gives fast criticism to engineers.
  • It gives boundless cycles of experiment execution.
  • It gives restrained documentation of experiments.
  • The computerized test produces redid imperfection reports.
  • Less blunder inclined when contrasted with manual testing.

Test Automation for Web

On the off chance that we investigate the sort of programming applications winning in the current market situation, the greater part of the product applications is composed as online applications to be kept running in a web program. The testing system for electronic applications changes broadly among organizations and organizations. In a period of profoundly intuitive and responsive programming forms where numerous associations are utilizing some type of spray technique, test robotization is as often as possible turning into a necessity for programming ventures. Selenium Coaching Institute in Chennai


The best way to complete test mechanization for a web application is to receive a pyramid testing strategy. This pyramid testing technique incorporates computerization tests at three unique dimensions. Unit testing speaks to the base and greatest level of this test computerization pyramid. Next comes, administration layer, or API testing. Lastly, GUI tests sit at the best. The pyramid looks something like this:


Wednesday, February 13, 2019

Basics of Dot Net and its Components


Dot Net can also write as .Net . Based on Dot Net technology training provided in Dot Net Training in Chennai we can refer to this training for DOT Net. Currently, Dot Net technology is very successful in the software market. It is developed by Microsoft in software development platform .By use this framework to create applications that run on a Windows platform. The Dot Net Framework supports programming languages ​​such as c, c ++, Visual Basic, etc.

Software produced by programmers by combining their source code with Dot Net Framework and libraries. The Chennai Framework's Dot Net classes allow to create new applications for the Windows platform. Microsoft also produces a development for Dot Net software called Visual Studio.

Dot Net Components:

Common Language Runtime (CLR):

It is one of the components of the Dot Net Training Center in Chennai The Common Language Infrastructure (CLI) is a platform run by Dot Net programs.

CLI with few key features:

  • Handling-Exception exceptions are errors that occur while running the application.
  • Garbage Collection - Garbage collection is about removing unwanted resources when they are no longer needed.
  • Using various programming languages: A developer can develop an application in various .Net programming languages.

Class Library:

This library is common to all applications and identical to other programming languages. It is also one of the components of Best Dot Net Training in Chennai for communication between programs written in any .NET complaint language. The types must be compatible at the basic level.

Different types of libraries using the Dot Net class library:

  • Windows application
  • Console application
  • Web application
  • Windows Services

Common type system (CTS):

This is the third component of Dot Net Course in Chennaiand It describes the types of data. It describes a set of data types that can be used in different .Net languages ​​in common. CTS objects written in different .Net languages ​​can interact. This system supports two types of types, namely value types and reference types.

Common Language Specification (CLS):

It is a subset of CTS and specifies a set of rules that must be respected or satisfied by all language compilers targeting the CLR. This helps in inheritance and debugging between languages.

The net domain name is a generic top-level domain (gTLD) used in the Internet Domain Name System. The name is derived from the word network, indicating that it was originally intended for organizations involved in networking technologies, such as Internet Service Providers and other infrastructure companies. This is Dot Net Training Institute in Chennai used for the domain name.

In Software framework programming is abstract which is providing software functionality can be selective code written by the user, thereby providing application-specific software. Dot Net Coaching Institute in Chennai software as part of Chennai provides a standard way to build and deploy applications.

ASP.NET training in Chennai is a framework for developing dynamic web applications. It supports languages ​​such as VB.Net, C #, Jscript.Net, and so on. The content and logic programming can be developed by Asp.Net.This course covers some important aspects of ASP.NET, such as reusable code and deployment.

Dot Net Framework Features:

  • Interoperability.
  • Common Language Runtime Engine (CLR)
  • Linguistic independence.
  • Basic class library.
  • Simplified deployment.
  • Security.
  • Portability.

Thursday, February 7, 2019

Basics of Software Testing


Software Testing:



Testing is the process of checking the system or application is in working condition or not, in other words, it is a process of evaluating the developed system or application.




Testing is also checked errors or bugs in the program or code.Testing only we can able to know the system is in a running condition or not.



Types Of Software Testing


  1. Manual Testing
  2. Automation Testing

Manual Testing:


Manual Testing Training in Chennai is the testing the application or software by testers without using any testing tools. Moreover, it gives a reliable result.





Types Of Manual Testing

  1. White-Box Testing
  2. Black-Box Testing
  3. Unit Testing
  4. System Testing
  5. Integration Testing
  6. Acceptance Testing

White-Box Testing



white-Box is the testing of the internal structure of software and the testers know the internal structure and other parts are being tested.



The other name of white-Box testing is Clear Box Testing, Open Box Testing, Glass Box Testing, Transparent Box Testing, Code-based Testing, Structural Testing.Software Testing Training Institute in Chennai



Black-Box Testing



Black-Box is the testing of the internal structure of software and the testers are not known the internals software is being tested.



Other names of the black-box test are Behavioral Testing. Testing Courses in Chennai



Unit Testing



In Unit Testing, the software is tested by units or components



System Testing



In System Testing, the particular application software system is tested. Testing Courses in Chennai



Integration Testing



In Integration Testing are placed by testing the integrated parts in the software.



Acceptance Testing



In Acceptance Testing the tester test the software acceptability. Best Software Testing Training Institute in Chennai



Automation Testing



Automation Testing is testing the software with the help of automation tools.



Tools of Automation Testing


  • Selenium
  • HP Quick Test Professional
  • Test Complete
  • Ranorex
  • Watir
  • Cucumber
  • Test Studio
  • Tricentis Tosca

Selenium:



Selenium is the framework for testing software & application.its an Automation Tools and it has numerous features.Selenium testing is easy to do.



HP Quick Test Professional:



HP QuickTest Professional gives utilitarian and relapse test computerization for programming applications and conditions.



Test Complete:



TestComplete enables analyzers to make mechanized tests for Microsoft Windows Web, Android (working framework), and iOS applications. Tests can be recorded, scripted or physically made with watchword driven tasks. Software Testing Coaching in Chennai



Test Complete contains three modules::


  • DeskTop
  • Web
  • Mobile

  • Ranorex:



    Ranorex Studio is a GUI test mechanization system given by Ranorex GmbH, a product advancement organization. The system is utilized for the testing of the work area, electronic and versatile applications.



    Watir:



    Watir (Web Application Testing in Ruby, articulated water), is an open-source group of Ruby libraries for computerizing web browsers.



    Cucumber:



    A cucumber is a product apparatus utilized by PC developers for testing another programming. It runs computerized acknowledgment tests written in a conduct driven improvement (BDD) style. Vital to the It permits anticipated that product practices should be indicated in a legitimate language that clients can get it.



    Test Studio:



    The instrument ships with a module for Visual Studio and an independent application that utilizes similar document groups. Test Studio bolsters HTML, AJAX, Silverlight, Test Studio bolsters test execution in Internet Explorer, Firefox, Safari, and Chrome.



    Tricentis Tosca:



    TTricentis Tosca joins different parts of programming testing (experiment configuration, test computerization, test information structure and age, and investigation) to test GUIs.Two of the most as often as possible noted advancements utilized in Tricentis Tosca are identified with Model-based testing and Risk-based testing.



Wednesday, February 6, 2019

Learn the Basics of JAVA


Introduction To Java Programming:


Java was created by James Gosling in 1991 and later it was developed by Oracle Corporation.


Why Java?

  • Simple programming language
  • Writing and debugging is easy
  • Compiling a program is very easy in java


Features of Java:


The following are the features of java. They are:


  • Simple
  • Robust
  • Object-oriented
  • Secure
  • High performance
  • Multithreading
  • Platform independent
  • Portable

Simple:


Java Training Institute in chennai is easy to learn and also it’s a High-level programming language



Robust:


Java is reliable because it checks the error quickly. Even it check the complex program and solve the error, that’s why it’s a robust language.



Object-Oriented:


It is a way of organizing programs as a collection of objects.


Four Main Concepts of Object-Oriented Language are:


  • Encapsulation
  • Inheritance
  • Polymorphism
  • Abstraction

Secure:


Core Java Training in Chennai has lots of security features and by default, this feature is available in java



High-performance:


It operates on full speed.we can get a solution for our program easily.java program is converted to bytecode.so it’s a performance also increased.



Multithreading:


Java Training Institute in chennai. Multithreading is a Java feature that allows execution of multiple threads.



Platform independent:


A compiler converts Java source code into bytecode and that bytecode was executed by jvm. JVM might different for another operating system, but its performance and solution is the same.



Portable:


Java code is written on one operating system can run on another operating system



Java Terms:

  1. JDK
  2. JVM
  3. JRE

Java Development Kit:


The JDK is the Java Development Kit and it also includes JRE. In order to create, compile and run Java program,JDK has to be installed.



Java Runtime Environment:


The JRE is the Java Runtime Environment and its a part of JDK.By installing the JRE only you can run a program but it won’t compile the program.it contains all the library jar files.



Java Virtual Machine:


JVM is the Java Virtual Machine. the JVM has the primary javac compile and the compiler will convert the Java source code into bytecode .because the machine doesn’t understand the .class file, so it has to be converted into bytecode then the results of the program will be displayed in the console.




By learning the Core Java Training in chennai basics it is important to know the functions of Java execution and it's also take a major role play in the execution time. for that java basics is necessary.




So we have to know what happening in the JVM while executing the program and what is the purpose of installation of jdk and jre.


Variables and Data Types in Java



Variables:


A variable is a name given to the value. For Example: Where, int i =10;
  • int= Data Type
  • i = Variable
  • 10 = Value
  • semicolon(;) is given after the end of the action.


Types Of Variables:

  1. Static Variable
  2. Instance Variable
  3. Local Variable

  4. Let’s know little deeper about Java training institute in Chennai


    1.What is Static Variable?

    • Static Variable is a class level Variable
    • It can be accessed within the class only
    • Static Variable can be accessed without the use or creation of an object.
    • For Static Variable, We have to mention Static
    • For Example: static int i = 10; static String st= ” NAME”;

    2.What is Instance Variable?

    • Instance Variable is not like Static Variable.
    • No need to mention any Instance
    • It’s a copy of its own instance variable

    3.What is a Local Variable?

    • Local Variable is Method Level variable, Java training institute in Chennai
    • It can be accessed within the method only.
    • To call the local variable, we have to create an object.
    • It cannot be accessed outside the method.

    So I have covered mostly all variable types …… So let’s jump into another topic is Data Types




    Data Types In JAVA


    Types of Data Types in Java:


    Data Types are classified into two types, they are:


    1. Primitive Data Type
    2. Non-Primitive Data Type

    3. Primitive Data Types:


      Primitive Data Types are classified into Eight types of Core java training in Chennai.

      1. Byte
      2. Short
      3. Int
      4. Long
      5. Float
      6. Double
      7. Boolean
      8. Char

      Non-Primitive Data Types:


      Non-Primitive Data Types are classified into two types. they are:


      1. Arrays
      2. Strings

      Primitive Data Type:


      Byte:

      • For Storing whole Numbers
      • It stores a value between -128 to 127
      • Size = 1 byte
      • Value = 0

      Short:

      • For Storing Whole Numbers
      • It stores value between -32,768 to 32767
      • Size = 2 byte
      • Value = 0

      Int:

      • For Storing Whole Numbers
      • It stores value between -2,147,483,648 to 2,147,483,647
      • Size = 4 byte
      • Value = 0

      Long:

      • For Storing Whole Numbers
      • It stores value between 9,223,372,036,854,775,808 to 9,223,372,036,854,775,807.
      • Size = 8 byte
      • Value = 0

      Double:

      • It is used for Fractional Numbers
      • It stores upto 15 decimal digits
      • Size = 8 byte
      • Value = 0

      Float:

      • It is used for Fractional Numbers
      • It stores upto 7 decimal digits
      • Size = 4 byte
      • Value = 0

      Boolean:

      • It is used to tell either true or false

      Char:

      • It is used in character
      • Size = 2 bytes


      For Example:

      int i = 10; byte b = 5; short s = 10; long = 123l; float = 23.9f; double = 34.98d; or 34.98 boolean = true; or false; char = ‘A’;


      Non-Primitive Data type:


      Array:


      Array is classified into two types:


      1. 1.Single-Dimension Array
      2. 2.Multi-Dimension Array

      String:

      • String is a collection of character
      • It can be initialized into double quotes

      For example:


      String st=”My Name”;



      I hope this will be helpful for the beginners in java ...See you in the Next topic. core java training in chennai


Tuesday, February 5, 2019

Introduction to Selenium Automation Testing




Selenium Testing Training Providing in Chennai. Selenium Automation Testing is an open source platform suitable for Web Applications and it is an independent platform. Selenium Testing refers as a Testing done by using Selenium tool. It is not a single tool but suitable for each software to different testing needs.

Selenium having Four Components:

  • Selenium Integrated Development Environment (IDE)
  • Selenium Remote Control (RC)
  • WebDriver
  • Selenium Grid

Selenium Integrated Development Environment (IDE):

Selenium IDE is one of the tools in Selenium Training Institute in Chennai This tool is added to Firefox that creates tests through its records and functionality. Selenium IDE used for only ProtoTyping tool but not suited for developing and complex test suites. Before going to learn this we should minimum knowledge on HTML, JavaScript, Document Object Model(DOM) then only we can utilize this tool.

Serves Mainly Two Purposes:

  • It helps to enter commands more quickly.
  • It restricts the user from entering invalid commands.

Features of Selenium IDE:

  • Menu bar
  • Base URL bar
  • Toolbar
  • Test case pane
  • Log Pane / Reference Pane / UI-Element Pane / Rollup Pane
This selenium testing Technology providing in Selenium Coaching Institute in Chennai

Selenium Remote Control (RC):

Selenium RC is a most powerful test-suite for your applications.

Selenium RC components are:

  • The Selenium Server supports all browsers, interprets and runs the Selenese commands passed from the test program, and acts as an HTTP proxy, intercepting and verifying HTTP messages passed between the browser and the application under test(AUT).
  • Client libraries provide the interface between the programming language and the Server.

Selenium Server:

  • Selenium server is the program that drives all browsers.
  • It embeds Selenium Core framework into the browser
  • It communicates with the running test client.
  • Client tests send commands that the server.
  • The client gets the results from the server.
  • HTTP GETs and POSTs methods by communicating client and server

WebDriver:

WebDriver is a framework of web automation that allows you to execute tests against different browsers, not just Firefox, Chrome.WebDriver also used for a programming language in creating your test scripts.W e can use Conditional Operations like if-then-else or switch-case and looping like do-while.Best Selenium Training Institute in Chennai providing WebDriver.

WebDriver supported by the following Programming Languages:

  • Java
  • PHP
  • Python
  • .Net

WebDriver Limitations:

  • WebDriver Cannot Readily Support New Browsers.
  • Selenium RC Has Built-In Test Result Generator.

Selenium Grid :

Selenium-Grid is the last component of Selenium Testing Training in Chennai Selenium-Grid allows your tests to run on different machines against different browsers in parallel. Running various tests at the same time against different machines running different browsers and operating systems(os). Selenium-Grid support distributed test execution.

Two Reasons for using Selenium-Grid:

  • To run your tests against multiple browsers and different operating systems.
  • For the test to complete a test pass takes less time.