Posts

Selenium - 1

Image
Selenium   Selenium is a very popular name in the software testing field which is known as an automation testing tool.  Mainly selenium uses to automate the testing of various web browsers. It supports many browsers such as, Chrome Mozilla Firefox Safari IE Advantages of Selenium Selenium is an open-source tool. Selenium supports various programming languages to write Test scripts such as, java C# Perl Python PHP Ruby It supports various operating systems, MS Windows Linux Macintosh Selenium uses less Hardware resources. Selenium supports Parallel Test Execution. Disadvantages of Selenium 1) No reliable Technical Support from anybody. (Since It is Open Source software nobody provides reliable technical support, if it is UFT/QTP Vendor (HP) provides Technical Support) 2) It supports Web-based applications only. (Selenium automates Web browsers only, using Selenium we can automate Computer Web Applications and Mobile Web Apps, but Selenium doesn’t support Computer Desktop Applications, M
Image
Difference between Compile Time Errors and Run Time Errors Compile-time During compile time the source code is converted into an executable code. Run time   During the run time the executable code which is generated during the compile time, is started running.  Both the compile-time and runtime refer to different types of error. Compile-time errors Occurs due to the wrong syntax or semantics of any programming language. The compiler will not allow to run the program until all the errors are removed from the program.  When all the errors are removed , only then the compiler will generate the executable file. There are two types of compile time errors. Those are Syntax errors Semantic errors 1. Syntax Errors When we does not follow the syntax of the used programming language, then the compiler will throw the syntax error.   2.  Semantic errors   The semantic errors occurs when the coding statements are not meaningful to the compiler. After correcting the semantic error, Run time errors O

What is an API?

Image
What is an API? API  stands for Application Programming Interface and it used as a communication protocol between a client and server which intended to simplify the building of client-side software.It allows users to communicate without knowing how they are implemented.Also it can be described as a contract between the client and the server.When client makes a request in a specific format, it will always get a response in a specific format  from the server. An API can be used in,  Web-based systems Operating systems Database systems computer hardware Software Libraries API is a simplified way to connect your infrastructure through cloud-native app development. It also allows you to share your data with clients and other external parties. Public APIs represent unique business value because they can simplify and expand how you connect with your peers. For example, A newspapers distributing company can give an app for their customers These kind of ap

Angular 08 - How to create Angular CRUD operations with web API (Part A)

Image
How to create Angular CRUD operations with web API Today we are going to build a  application using and Angular with web API to add ,delete and update employee details .  Step 01 -  Create a project using visual studio First we should create a Microsoft Visual Studio Project to develop the web API. when you are creating new project follow below steps. File →  New  →  Project  →  AP.Net.Web Application → Give a name and location (webapi)  → select "ok"→ select "web API" → select "ok". Step 02  -  Create database and tables in SQL After that we can create database using Microsoft Server Management Studio.Follow below steps to create a database. Create Database Database →New Database → give a name to database (EmployeeDB) → Select "ok". Now you can see the database which we created under database node. Create Table  Table → New Table → give a name to table.(Employee) Step 03 Create model L

Enterprise Resource Planning - 2

Image
Challenges in Adopting Enterprise Resource Planning  Systems Most of the ERP systems are developed in European countries and those ERP systems are not 100% fit with developing countries. Because there are technical and economic gaps between developed and developing countries. Adopting an Enterprise Resource Planning Systems in a developing country is a challenge.  we can categorize those challenges as Economical, Implementation and cultural challenges. Economic Challenges Cost of software acquisitions. Cost of license. Cost of ERP consultants. High Configuration cost. Lower turnovers of companies. Implementation Challenges Poor level of business best practices. Poor quality of data. Lack of proper experience. Lack of consultation. Poor level of interaction. Unavailability of hardware. Cultural Challenges Poor level of business best practices. Poor quality of data. Lack of proper experience. Lack of consultation. Poor level of interactio

Angular 7 - Angular Routes

Image
Angular Routes Today i am going to tell you about Angular Routing and I will show you how to navigate the application with router links.Let's start learning Angular Routing. The Angular Router is used to navigate from one view to the next view when users perform certain application task. We normally use browser for navigation.We use browser for navigation as follows.  Enter a URL in the address bar and  navigates to a required page. Click links on the web page and navigates to a new page. Click the browser's back and forward buttons and navigates by using browser history. Angular Routing also based on above browser model.It used URL as an instruction to navigate to a view. When we bind the router to links on a page and it will navigate to the appropriate application or component view when the user clicks a link.  Also we can navigate users when they clicks a button. Also the router logs activities in the browser's history .Therefore we can use back

Angular 6 - Data Binding Part 2

Image
 Data Binding - 2 Event Binding Event binding used to build interactive angular applications with the flow of data from component to the element and from element to component . Event binding syntax will have a target event name within parentheses on the left of an equal sign, and a quoted template statement on the right. Eg 1: In this example I used a button to demonstrate the event binding. In here we are binding an onClick() event to the button element. When the user clicks on the button, event binding listens to the button's click event and calls the component's onClick() method in component.ts file. Eg:2  . In here there is  a method named "onUpdateServerName" and add an event with it.