Friday, January 11, 2019

Introduction to C Language

C is a procedural programming language. It was at first created by Dennis Ritchie somewhere in the range of 1969 and 1973. It was essentially created as a system programming language to compose OS. The main features of C language are – low-level access to memory, the simple set of keywords, and clean style. These highlights make C language reasonable for system programmings like OS or compiler development.
Many later languages have borrowed syntax/features specifically or in a roundabout way from C language. For example, Java, PHP, JavaScript, and numerous different languages are principally founded on the C language. C++ is almost a superset of C language (There are few programs that may accumulate in C, yet not in C++).
Follow the link to get c and C++ training in Gurgaon.
C Program:
Any program can be written in prefix structure only. Anywhere in a program, if you don’t follow the structure, it will produce an error.
Structure of a program is a below-
Header
Main()
Variable Declaration
Body
Return
We will discuss an example in another post.
Please like a share the post if you found the information is useful for you.

Friday, January 4, 2019

Job Scope in Selenium

There are many testing tools available in the market like QTP, SilkUI, Selenium etc.
But jobs for Selenium testing are increasing in the market day by day. Selenium blows all the other testing tools out of the market. Since applications delivered on the web are increasing, even the demand for tools testing web applications is increasing.
Why Selenium is better than other testing tools:
  • Selenium is an open source (i.e. you can download this tool for free) automation testing tool. We have QTP also for automation testing but you need to pay to HP guys if you want to use QTP.
  • It is used exclusively for web-based applications.QTP can work on windows but Selenium can be used exclusively for web-based applications.
  • You can work on multiple operating systems using Selenium. Selenium is the only tool which can work on MAC, Windows, Linux, Solaris.
  • Currently, it supports mobile as well. There is another tool called Appeium which is an extension to Selenium. Appeium provides support to IOS as well as Android.
  • You can write Selenium code in any of the below languages:
    • Java
    • C#
    • Ruby
    • Python
    • PHP
    • Perl
NOTE: If your application is built on one language, you may use some other language to automate it. Like if your application is developed in C# and to automate its testing you may use Java.
SO THE LANGUAGE WHAT YOU WRITE YOUR AUTOMATION CODE IS INDEPENDENT OF THE LANGUAGE WHAT YOUR APPLICATION IS BUILT ON.
  • Selenium is the only tool which supports cross browsers.
    Selenium support below browsers:
    • Internet Explorer
    • Firefox
    • Chrome
    • Safari
Due to so many features (like multiple language support, multiple browser support, multiple OS support) provided by Selenium, it is so popular in the market.
Below is the Google trends image which shows why Selenium Testing is the most pursued skill.
As per the above graph, the only leader in the market is Selenium.
Look at the below graph to understand how the number of vacant jobs is continuously increasing.
selenium-job-vacancy-trend


In case you are interested to learn Selenium, then join Redbush Technologies. We are the best selenium training institute in Gurgaon.

Tuesday, January 1, 2019

Selenium Conference Tokyo 2019 Confirmed


A conference designed for selenium professionals around the world is confirmed. An announcement at Twitter handler is:
The message about the conference is 
SeleniumConf Tokyo is a two-day conference for test automation professionals on April 18 & 19 preceded by a full day of workshops on April 17. You can look forward to inspiring and insightful talks, in-depth Selenium training workshops, fantastic networking opportunities in the 'hallway track', and so much more.
You can check the details at their official website - https://conf.selenium.jp If you like the information being shared on this blog, please share it with other selenium professionals. The information shared by RedBush, the best selenium training institute in Gurgaon.

Wednesday, December 26, 2018

Introduction to C++

I am writing this article to share some information about C, C++ languages. You might read my last article which was about the History of C++. So here I’ll not explain about the history. Please go to the previous article in case you missed that one.
Comparison between C and C++
  • C++ is a superset of C i.e all features of C (if else, loop, functions, Arrays, Strings ) can be used in C++.
  • C++ programs can use existing C software libraries.
  • C follows top down approach programming(i.e first we will create main () and decide the flow of the program and then we create detailed programs/functions)
  • While C++ follows bottom up programming approach(first we create detailed functionality and in last we’ll create main by assembling all these detailed functionalities)
  • C adopts procedure-oriented programming
  • C++ adopts object-oriented programming
What is object-oriented programming
OOPs is a programming approach which revolves around the below concepts:
  • Object(set of data & methods which can act on that data)
  • Class
  • Encapsulation— an act of combining properties and methods related to the same object
  • Data hiding
  • Abstraction
  • Polymorphism
  • Inheritance
Classes & Objects:
  • The class is a blueprint of an object
  • The class is a description of the object’s property set and a set of operations
  • Creating a class is as good as defining a new data type
  • Class is a means to achieve encapsulation
  • An object is a runtime entity(Class don’t get memory, object are allocated memory)
  • An object is an instance of a class
Example :
class box
{
int l,b,h;
void setDimension(int x, int y , int z){ }
Void showDimension(){  }
};
box b1;
Here box is a class(datatype) & b1 is a object. How much memory will be allocated to b1 will depend on how we have defined box.
Why Do We Need Object-Oriented Programming?
Procedural Languages
C, Pascal, FORTRAN, and similar languages are procedural languages. That is, each statement in the language tells the computer to do something: Get some input, add these numbers, divide by six, display that output.
Division into Functions
When programs become larger, a single list of instructions becomes unwieldy. Few programmers can comprehend a program of more than a few hundred statements unless it is broken down into smaller units. For this reason the function was adopted as a way to make programs more comprehensible to their human creators. (The term function is used in C++ and C. In other languages the same concept may be referred to as a subroutine, a subprogram, or a procedure.) A procedural program is divided into functions,
The Object-Oriented Approach
The fundamental idea behind object-oriented languages is to combine into a single unit both data and the functions that operate on that data. Such a unit is called an object.
An object’s functions, called member functions in C++, typically provide the only way to access its data. If you want to read a data item in an object, you call a member function in the object. It will access the data and return the value to you. You can’t access the data directly. The data is hidden, so it is safe from accidental alteration. Data and its functions are said to be encapsulated into a single entity. Data encapsulation and data hiding are key terms in the description of object-oriented languages. If you want to modify the data in an object, you know exactly what functions interact with it: the member functions in the object. No other functions can access the data. This simplifies writing, debugging, and maintaining the program. A C++ program typically consists of a number of objects, which communicate with each other by calling one another’s member functions. What are called member functions in C++ are called methods in some other object-oriented (OO) languages (such as Smalltalk, one of the first OO languages). Also, data items are referred to as attributes or instance variables. Calling an object’s member function is referred to as sending a message to the object.
Characteristics of Object-Oriented Languages
  • Encapsulation: Act of combining properties and methods related to an object
  • Data hiding
  • Abstraction
  • Polymorphism
  • Inheritance
TERMS:
Objects
When you approach a programming problem in an object-oriented language, you no longer ask how the problem will be divided into functions, but how it will be divided into objects.
Classes
In OOP we say that objects are members of classes.
Analogy: Almost all computer languages have built-in data types. For instance, a data type int, meaning integer, is predefined in C++. You can declare as many variables of type int as you need in your program:
int day;
int count;
int divisor;
int answer;
In a similar way, you can define many objects of the same class. A class serves as a plan, or blueprint. It specifies what data and what functions will be included in objects of that class. Defining the class doesn’t create any objects, just as the mere existence of data type int doesn’t create any variables.
A class is thus a description of a number of similar objects. This fits our non-technical understanding of the word class. Prince, Sting, and Madonna are members of the rock musician class. There is no one person called “rock musician,” but specific people with specific names are members of this class if they possess certain characteristics. An object is often called an “instance” of a class.
Inheritance
Classes divided into subclasses. Suppose the animal class is divided into mammals, amphibians, insects, birds, and so on. The vehicle class is divided into cars, trucks, buses, motorcycles, and so on.
The principle in this sort of division is that each subclass shares common characteristics with the class from which it’s derived. Cars, trucks, buses, and motorcycles all have wheels and a motor; these are the defining characteristics of vehicles. In addition to the characteristics shared with other members of the class, each subclass also has its own particular characteristics: Buses, for instance, have seats for many people, while trucks have space for hauling heavy loads.
inheritance

An OOP class can become a parent of several subclasses. In C++ the original class is called the base class; other classes can be defined that share its characteristics, but add their own as well. These are called derived classes. Don’t confuse the relation of objects to classes, on the one hand, with the relation of a base class to derived classes, on the other. Objects, which exist in the computer’s memory, each embody the exact characteristics of their class, which serves as a template. Derived classes inherit some characteristics from their base class, but add new ones of their own.
Reusability
Once a class has been written, created, and debugged, it can be distributed to other programmers for use in their own programs. This is called reusability. It is similar to the way a library of functions in a procedural language can be incorporated into different programs. However, in OOP, the concept of inheritance provides an important extension to the idea of reusability. A programmer can take an existing class and, without modifying it, add additional features and capabilities to it. This is done by deriving a new class from the existing one. The new class will inherit the capabilities of the old one, but is free to add new features of its own.
Creating New Data Types
One of the benefits of objects is that they give the programmer a convenient way to construct new data types. Suppose you work with two-dimensional positions (such as x and y coordinates, or latitude and longitude) in your program. You would like to express operations on these positional values with normal arithmetic operations, such as
position1 = position2 + origin
where the variables position1, position2, and origin each represent a pair of independent numerical quantities. By creating a class that incorporates these two values, and declaring position1, position2, and origin to be objects of this class, we can, in effect, create a new data type.
Polymorphism and Overloading
The = (equal) and + (plus) operators, used in the position arithmetic shown above, don’t act the same way they do in operations on built-in types such as int. The objects position1 and so on are not predefined in C++ but are programmer-defined objects of class Position. How do the = and + operators know how to operate on objects? The answer is that we can define new behaviors for these operators. These operations will be member functions of the Position class. Using operators or functions in different ways, depending on what they are operating on, is called polymorphism (one thing with several distinct forms). When an existing operator, such as + or =, is given the capability to operate on a new data type, it is said to be overloaded. Overloading is a kind of polymorphism; it is also an important feature of OOP.
C++ and C
C++ is derived from the C language. Strictly speaking, it is a superset of C: Almost every correct statement in C is also a correct statement in C++, although the reverse is not true. The most important elements added to C to create C++ concern classes, objects, and object-oriented programming. (C++ was originally called “C with classes.”) However, C++ has many other new features as well, including an improved approach to input/output (I/O) and a new way to write comments.
Reference – I get the above informative content from a trainer of RedBush Technologies. It is the best training institute, provide C++ training in Gurgaon along with many other programming languages. You may contact for Selenium too, as it is the best selenium training institute in Gurgaon.

Tuesday, December 25, 2018

History of C++

Till now, I write about the selenium i.e. selenium training program. It is about RedBush Technologies. It is the best selenium training institute in Gurgaon. Today, I am writing about C++. The history of C++ is as below.
C++ was developed by Bjarne Stroustrup. In 1978 he started creating C++ and in 1979 he launches the first version of C++. Initially, there were some enhancements in C language & it was known as C with classes.


C was developed by Dennis Ritchie & in 1983 it was given a name as C++.
  • C++ is not the first object-oriented programming language. C++’s oops aspect is inspired by a computer simulation language called Simula67 (Simula67 is the world’s first object-oriented programming language).
  • Java is written in C++.
  • Major operating systems of modern times are written in C++
  • C++ is the world’s 4th most used programming language

I'll share some more C++ content soon.

Wednesday, December 19, 2018

10 Reasons Why You Should Learn Selenium

On the off chance that you’re perusing this blog, the odds are that you either need to kick-begin your profession in the IT field or you need to develop from being a manual tester to turning into an automation tester. In any case, you are at the correct place since YOU have to learn Selenium.
You may likewise need to know, how to begin a profession in testing, and if Selenium is the correct track to begin. In the event that such inquiries hold on, don’t stress on the grounds that, in this blog, I will give you 10 persuading reasons why you ought to learn Selenium.


Top 10 motivations to learn Selenium are:
  1. Open source
  2. No OS/ browser demands
  3. Multi-Language Support
  4. Availability of Frameworks
  5. Strong presence in the DevOps lifecycle
  6. Easy integration
  7. Parallel & distributed testing
  8. No dependency on GUI based systems
  9. Flexibility while designing test cases
  10. Demand for Selenium testers
I’ll explain these points in my next post.
If you are looking for Selenium Training (Automation Training), you may opt to RedBush Technologies. It is the best selenium training institute in Gurgaon.

Thursday, December 13, 2018

Don’t Automate Every Test

100% Test Coverage is beyond the realm of imagination since there can be a huge number of mixes. We generally execute a subset of possible tests. A similar rule applies to automated testing.
To make an automated script, it requires time and exertion, and going for “automating Each Test”, we require a lot of resource and time, which in many cases is beyond the realm of imagination.
Rather, utilize a Risk-based way to deal with figure out which tests should be automated. To get the most incentive out of automation, just automate the most important business cases and scenarios.
Likewise, a high number of automated tests adds maintenance cost and hard to maintain.
Another note to keep remember is that not all tests can be automated. A few tests are extremely unpredictable in nature and require numerous downstream system checking and can be conflicting. In these cases, it is best to leave these checks for manual testing.
Follow my blog for more such posts. In case, you are looking for selenium training, you can opt RedBush Technologies.

Wednesday, December 5, 2018

Software Testing Need

Software testing is the place everything comes down to. The present universe of innovation is totally commanded by machines, and their behavior is controlled by the software driving it. Will the machines act precisely as we need them to? Every-time? All over the place? The response to these inquiries lies in software testing.



Toward the day’s end, it is the software application’s prosperity rate which will control your business development. A similar thing can be said for web applications in light of the fact that most organizations today are totally dependent on the web.
Take, for instance, any internet business organization. Be it Amazon or E-Bay or Flipkart, they depend on the client movement on their sites and activity on their mobile applications for business.
Envision, if something calamitous happens like the costs of various items being topped off at 10$, all as a result of a little bug in a “not all that effectively comprehensible” some portion of the code. At that point what should be possible, and how might we avoid it in the future?
By testing the code before deployment right? So, that is the requirement for software testing.
Here I’ll like to introduce you with Selenium testing tool. It is the best automation testing tool available in open source testing tools. You may ask, what is Selenium? To get the answer you can visit this blog. It has many articles about selenium.
Before I go any further, let me clear out that, Software testing is of two sorts: Manual Testing and Automation Testing. Selenium was established as an automation testing tool to overcome the disadvantages/restrictions of Manual testing. Along these lines, in the following area of this what is selenium blog, how about we comprehend the difficulties with manual testing.
To know more about software testing or selenium automation tool, please visit RedBus. It is the best selenium training institute in Gurgaon.

Thursday, November 22, 2018

Introduction to Selenium

There are many testing tools in market like QTP, SilkUI, and Selenium and so on. However, individuals lean toward Selenium because Selenium is an open source (i.e. you can download this tool free of cost) automation testing tool. We have QTP likewise for automation testing yet you have to pay to HP folks on the off chance that you need to utilize QTP.
You can work on multiple operating systems using Selenium. Selenium is the only tool which can work on MAC, Windows, Linux, and Solaris.
It is used only for web-based applications. QTP can work on windows but Selenium can be used only for web-based applications or websites.
By using Selenium, you can work on multiple OS. Selenium is developed to work at MAC, Windows, Linux, and Solaris.
Platforms supported By Selenium:
  • Windows
  • OS X (Mac OS)
  • Linux
  • Solarsis
Presently, it supports mobiles too. There is another tool called Appeium which is an expansion to Selenium. Appeium offers help to IOS and also Android.
Languages used with Selenium:
You can write Selenium code in any language mentioned below:
  • Java
  • C#
  • Ruby
  • Python
  • PHP
  • Perl
NOTE: In the event that your application is based on one language, you may use any other language to automate it. Like if your application is created in C# and to automate its testing you may use Java.
SO THE LANGUAGE WHAT YOU WRITE YOUR AUTOMATION CODE IS INDEPENDENT OF THE LANGUAGE WHAT YOUR APPLICATION IS BUILT ON.
Browsers supported by Selenium:
  • Internet Explorer
  • Firefox
  • Chrome
  • Safari and many more
Selenium is the only tool which supports cross browsers testing.
Due to such a large number of features (like various language support, numerous browser, different OS support) given by Selenium, it is so well known in the market.
Selenium History:
Selenium came into existence in 2004 when Jason Huggins was testing an internal application at ThoughtWorks.
 Available versions of Selenium:
  • Selenium 1.0 – formally we call it RC (Remote control server).
It is officially depreciated by Selenium team.
The purpose behind Depreciation is:
Selenium 1.0 Architecture:

  • Selenium 2.0 –Web Driver
  • Recently Selenium 3.0 version also came (for it minimum java version required is 1.8)
Selenium 2.0 Architecture– Web Driver:

So we are conquering the first disadvantage of Selenium 1.0.
How the second disadvantage is survived:
Editor instead of using java to trigger the events, utilizes Browsers own/native language to trigger the events (or to converse with the application). Suppose our Firefox browser is built in Java so to converse with a site which is running on Firefox, editor use java. Our IE is based upon C# so editor uses C# to converse with the application in C#. The site which is running on IE can’t stop C# to trigger an event so hence the second issue is settled.
Working of Selenium WebDriver:
Selenium WebDriver working can be clarified in 2 different ways:
  • Nontechnical- using the analogy
  • Technical
Nontechnical- using the analogy:  To explain working, the analogy used is taxi driving.
The manner in which a cab driver drives a taxi, same way Selenium WebDriver drives a browser.
In taxi driving, there are 3 sections:
  • The customer, who chooses where to go and how to arrive, he advises this to the cabbie.
  • The cab driver, the cab driver, who goes about according to the customer’s solicitations and sends his very own solicitations to the vehicle.
  • The vehicle, it goes about according to cabbie’s solicitations.


So also, in Selenium WebDriver test automation (and other tools), there are 3 sections:
  • Test engineer, who writes the automation code, which sends requests to the browser driver component.
  • The browser driver component, who executes the test requests, sent by the engineer, it sends its own request to the browser.
  • The browser, who executes the browser driver requests.
So this is the analogy:
  1. Test engineer <-> The customer
  2. The browser <->Cab driver
  3. The browser <->Vehicle(Car)
Technical explanation :
Beneath steps happen when the automation script is executed:
  • For each Selenium command, an HTTP request is created and sent to the browser driver
  • Using the HTTP server, the browser driver get the HTTP requests
  • The HTTP server implements the Selenium command and executes them on the browser
  • The execution status is sent back to the HTTP server which in turn sends the status back to the automation script.

Selenium Job Roles

The mainstream programming testing work titles after doing Selenium WebDriver training are:
  • Quality Engineer
  • Automation Test Lead
  • QA Engineer
  • Selenium Automation Analyst
  • Senior Test Engineer
Visit the link for Best Selenium Training in Gurgaon.

Who should choose Software testing as a career?

  • One who is good in comprehending intelligent riddles: Software will go to the market if a tester says there are no bugs in the product and it is prepared to release. Tester discovers bugs and likewise breaks the framework as far as stress testing.
  • One who love helping other people: A tester help in releasing a quality product to the market. To release a decent product, engineers give a valiant effort. Yet at the same time risks are there will be a few errors. Being a tester you have to discover those mix-ups.
  • One who loves to take challenges: A tester needs to investigate the framework for comprehension and discovering bugs. At that point, he reports the bugs, which are settled by the engineer. Thus, at last, a quality product is conveyed to the market.
  • One who loves coding: An Automation Tester writes code to discover the bugs in the framework. And in this way, a quality product will be conveyed.
  • One who loves to communicate with people: A tester needs to associate with engineers and client to get more information on domain knowledge.
  • One who loves to be in a team where quality products will be delivered: Being a tester one help in conveying a quality product which makes everyone cheerful.

Introduction to C Language

C is a procedural programming language. It was at first created by Dennis Ritchie somewhere in the range of 1969 and 1973. It was essentia...