28 August 2014

Difference between Quality analyst and Quality Controller..?

Here we discuss about quality analyst and quality controller.

Quality Analyst:
             A set of activities designed to ensure that the development and maintenance process to ensure system can meets objectives and requirements.

Quality Controller:
            A set of activities designed to evaluate to developed worth product.

Explaining about Test Engineers Responsibilities..?


Here we discussing about test engineer responsibilities.
They are
1.Analyse requirements
2.Involved in preparing the test plan
3.Involved or prepared test scenarios and test case modules.
4.Prepare test data for test cases
5.Preparing test environment to execute test cases
6.Analyse test cases prepared by team members
7.Executing test cases and preparing defect report.
8.Giving mandatory information of a defect to modify a defect.
9.Attending daily meetings and preparing daily reports.
10.After completion of defect reports,suggestion document to improve the quality of the application.
11.Communication with test lead and senior tester's and customers.
12.Conducting review meeting the team and
13.Involved in prepare test summary reports.

Explaining briefly about Test Execution in S/W Testing Life Cycle..?

Test Execution:
- After completion of test design,Tester concentrating on test execution.
- At this stage,we need to compare expected value,actual value are equal or not.
- Executing a formal meeting,Formal test/informal test cases to conform the business requirements and To identify the defects is called " Test Execution".

-While conducting test execution,tester can follow below approaches:
1.Formal meeting
2.Configuration Repository
3.Establish Test Environment
4.Test Execution Levels.

Explaining about Test Cases and Types?

Test Cases:
 - Test case is a set of pre-conditions,test scripts,input data and expected result to validate functionality of system.
OR
 - Test case is a brief description of what to test and how to test in application.

Types of Test-Cases:
 1.Positive Test-case:
    - If test case is prepared to check what system supports to do,then it's called positive test case.
ex: Check login with valid inputs.
 2.Negative Test-case:
    - If test case is prepared to check what system not supports to do then it's called negative test case.
ex: check login with invalid inputs.

- while preparing test-cases,Every tester can follow IEEE A29 format.


Explaining about Test Scenario's..?

Test Scenario:
  - An Item/Functionality to be tested in the application is called Test Scenario.
  - what to test is called " Test scenario ".

Example:
 Teset scenario's for Gmail application:
   - verify login functionality of Gmail application login page.
   - verify need help functionality of gmail application login page.
   - verify create an account functionality of gmail application login page.
   - verify listbox functionality of gmail application login page.
   - verify links functionality of gmail application login page.

Example of Test scenario prepared for bank application: 


 

18 August 2014

Explaning about Non-Functional System Testing and these types?

Here,we are discussing about non-functional system testing and these types.
- After completion of functional system,test engineers concentrating on non-functional of the application.
- while conducting non-functional testing,we should concentrating on expectations of customers like
   1.GUI Testing
   2.Usability Testing
   3.Comparability Testing
   4.Hardware Configurable Testing
   5.Performance Testing
           - Load testing
           - Stress testing
           - Spike testing
           - Endurance testing
   6.Inter System Testing
   7.Installation Testing
   8.Recovery Testing
   9.Complex Testing
 10.Security Testing
           - Authentication/Authorization testing
           - Access control testing
           - Encryption/decryption testing

24 July 2014

Explaining about Test plan components of STLC..?

  • here we discussing about components of test plan document in STLC process.
  • After completion of Test strategy preparation,Test lead concentrating on prepared plan document with the help of project manager and test manager.
  • It is detailed plan of the testing requirements like scope,approach,resources and schedules.
  • While preparing test plan document,test lead follow IEEE A 29 format.
  • The plan consists of
  1. Project Overview
  2. References
  3. Scope
  4. Test Strategy
  5. Test environment
  6. Test deliverable's
  7. Staffing plan(Roles & Responsibilities)
  8. Risks & Assumptions
  9. Milestones
  10. Approvals

Explaining about Test strategy and these components..?

  • Test Strategy document is a high-level document and developed by test engineer with the help of project manager.this document defines software testing approach to achieve testing objectives.
  • Test strategy normally developed from B.R.S document and it is static document.
  • In some companies,includes the test strategy inside the test plan.it is mostly for small projects.but for long projects,there is one test strategy document and number of test plans for each phase.
  • components of the test strategy document are shown below:
  1. Scope and objectives
  2. Business issues
  3. Roles and responsibilities
  4. Communication and status reporting
  5. Test deliver-ability
  6. Industry Standards to follow
  7. Test automation and tools
  8. Testing measurements and metrics
  9. Defect reporting and tracking
  10. Training plan

Explaining about Software Testing Life Cycle( STLC ).?

  • while conducting a system testing,to conduct a testing on application test engineers can follow SDLC process.
  • STLC process in different stages.They are shown below:
1.Test Strategy
2.Test Plan
3.Test analysis
4.Test Design
5.Test Execution
6.Test Closure

21 July 2014

Explaining briefly about Non-Functional System Testing..?

Here,we discussing about non-functional system testing and these types.
  • Non-Functional System Testing:
          - it is a special type of testing performed to test the non-functional requirements like response time,portability,stability etc.
          - after completion of functional system testing,test engineers concentrating on Non-functionality of an application.
          - while conducting non-functional system testing,we should concentrating on expectations of customer like 
  1. GUI Testing
  2. Usability Testing
  3. Compatibility Testing
  4. Hardware Configurable Testing
  5. Performance Testing
  6. Inter System Testing
  7. Security Testing
  8. Installation Testing
  9. Recovery Testing
  10. Complex Testing.

20 July 2014

Explaining about Functional System Testing..?

Here,we discussing about functional system testing and these sun-testings.
  • Functional System Testing:
          - Customer requirements or validating functional business requirements of the system is called "Functional System Testing ".
          - While connecting system testing,Test engineers first concentrating on functionality of the application.
          - To check functionality,Test engineers concentrating on functional system testing.
          - During this test,testers concentrating on below sub-testings...
  1. Input Domain Testing
  2. Output Domain Testing
  3. Error Handling Testing
  4. Database testing
  5. Smoke Testing
  6. Real Testing
  7. Re Testing
  8. Regression Testing.

Explaining about Black-box Testing Techniques and these advantages & disadvantages.?

Here,we discussing about black-box testing techniques and black-box testing usages and disadvantages.

BLACK-BOX TESTING TECHNIQUES:
                         following are some techniques that can be used for designing black-box testing.
  1. Equivalence Class Partitioning(E-C-P)
  2. Boundary Value Analysis(B-V-A)
  3. Decision Table Testing
  4. State Transition Testing
  5. Error Guessing
  6. Use-case Guessing

19 July 2014

Explaining about Black-box testing { System Testing and User acceptance Testing }..?

Here,we discussing about block-box testing types and information of those types.

- After completion of white-box testing,testing conducted on application by test-engineer's or by domain experts or customers to ensure the requirement coverage.
- does the application developed as per the customer requirements or not i,e called block-box testing.
- it is also called as "Specification based testing".
- this testing is the combination of system testing and user acceptance testing.

System Testing:
   - To cover all possible operations,we have to conduct both positive and negative testings.
      A. Positive testing:
          --> application check with positive data or testing conducted on application with positive perspective to check what's system supposed to do is called "Positive Testing".
          --> positive testing conduct for entering data is valid or not.
      B. Negative testing:
          -->testing conducted on application with a negative perspective to determine what system not suppose to do is called Negative Testing.
          --> negative testing conduct for find the defects/errors.

Note:
  - these system testing conducting on application,not in programming by Test engineers.

Explaining about Unit Testing & Integration Testing..?

Here,we discussing about unit testing and supporting techniques..

Unit Testing:
      - A smallest testable portion in the source-code of the application is called Unit testing.
      - Individually every program working or not OR conducting testing on each & every program individually,it's called Unit Testing.
      - while conducting unit testing, Programmers follow below white-box testing techniques,
         i,e...
                 1. Basic path coverage
                 2. Control structure coverage
                 3. Program technical coverage
                 4. Mutation coverage

- To conduct above Testing,programmer follow syclo-metric of complex pattern.

Integration Testing:
      - After completion of Unit testing,combine all units check interactions among all those units which is called " Integration Testing ".
      - Based on the availability of the source code,the integration testing will be carried out in four approaches..
1.Top-down Approach
2.Bottom-up Approach
3.Hybrid Approach
4.Big-bang Approach

1 July 2014

Explaining about Software testing and Components?

- Software Testing is a process of test an application/project with the intention of finding defects.
- Software Testing means combination of Verification and Validation.
              " Software testing= Verification + Validation "
1.Verification:
                       - It is a process of verify developing  project is right or not.
                       - It is also called as " Static Testing ".
                       - It is to check whether s/w conforms the specifications and it is done by management people and technical people and developers.
2.Validation:
                       - It is a process of validating the developed project is right or not.
                       - It is also called " Dynamic Testing ".
                       - Verification is the process of checking the project is right or not.but validation is to check whether the software meets the customer expectation.this is done by test engineers(Quality Analyst's) and Client-side people.

1.Static testing:

               - It's a process of verifying that developing product is right or not.It is also called as "Module Testing or Component testing".
               - It will be carried out with the help of Reviews and Walk-through's. 

Static Testing 
             - Reviews
                        1.management Review
                        2.Technical Review
                        3.Code Review
                        4.Formal Review
                        5.Informal Review

              - Walk Through's

2.Dynamic Testing:

               - It is process of validating the developer's system is right or not.It is also called as "clear-box testing or structural testing".
                   - It will be carried out with the help of White-Box Testing and Black-Box Testing.

Dynamic Testing
           - Unit Testing
           - Integration Testing
           - System Testing
           - User Acceptance Testing.
Note:
1. White-box Testing = Unit Testing + Integration Testing.
2. Black-box Testing = System testing + User Acceptance Testing.

                                                                                                    

Brief Information about Software Developement Lifecycle(SDLC) Models?

- There are various software development approaches define and design which are used during development process of software.
- Those approaches are also referred as software development process models.
- SDLC models are 2 types.They are:
           1.Sequential Model
           2.Incremental Model
1.Sequential model:
           - Those models are best suitable for small size projects,where all SDLC activities will be carried out one after another for the entire project.
           - These model consists of two models.They are
                                     1.Waterfall model
                                     2.V model

2.Incremental Model:
           - Those models are besst suitable for big-size projects.
           - This model consists of 5 models.They are
                                     1.RAD Model
                                     2.Fish Model
                                     3.Prototype Model
                                     4.Spiral Model
                                     5.Agile Model

25 June 2014

Exaplining about Testing Levels and Methods?

  • Testing is the processing to test an application with an intention of finding defects or errors.
  • In Testing,Four levels are available.
         They are :     1.Unit Testing
                          2.Integration Testing
                          3.System Testing
                          4.User Acceptance Testing

Note: 
  A. Unit Testing and Integration Testing combination is called "White-box Testing" & White-box testing means test the program by programmer,not the application.
  B. Collection of System Testing and User Acceptance Testing is called " Block-box Testing" & Block-box Testing means test an application by Quality Analyst/Client,not the program.
  • In Testing, 2 methods are available.They are
                  1.White-Box Testing
                  2.Block-Box Testing

Explaining about Software Development Life cycle(SDLC)?

Today Iam discuss about SDLC.
- SDLC stands for Software Development Life Cycle.
- Without SDLC,there is no Software Project.
- Project means which is developed for specific client requirement.
- In real-time process,
      - In the IT company,projects comes to the company by CEO from clients.CEO(Chief Executive Officer) communicate with the clients to get a projects.
      - Once Project is assigned/conformed to specific company ,CEO arrange the meeting with Project managers and discussing about the project and assign that project to one specific Project manager.
                                           Before starts SDLC process,above 2 steps are done to the every project.
                         
  1st Step:
        Initialize the project and prepare a project initial note by Project manager.

 2nd Step:
        Specific requirements gathering from Clients by Business Analyst(B.A) and B.A prepares 2 documents like Business Requirement Specification(BRS) and System Requirement Specification(SRS) for understanding the project easily.

24 June 2014

Definition of Testing and Different Types of Testing?

Hai friends...Today I share the information about "Testing tools".

Now a days Everyone calls Name as "Testing Tools".but In IT sector,we should call "Software Testing" is the actual name of  Testing Tools.

Definition of Testing:
           It's a process of to test an application with an intention of finding defects.

-->Testing is dividing into 2 types.They are:
1.Manual Testing
2.Automation Testing

1.Manual Testing:
    It's a process to test an application by giving input's and by observing output's manually is called Manual Testing.

2.Automation Testing:
     - It's a process to test an application with the help of tolls and software's i.e called Automation testing.
     - In Automation testing,Different types of tools are available.
         They are :  A) Quick Test Professional(QTP)[ HP company licensed tool]
                        B) Selenium(Open Source)
                        C) Load Runner
                             


28 April 2014

Real-Time 3-Tier architecture Application Example using ASP.NET

In 3-Tier programming architecture, the application development is broken into three main parts.
These are:
1.Application/Presentation layer
2.Business Acess Layer(BAL) and
3.Data Access Layer(DAL).
These separations ensure independent development of those layers such that a change in one does not affect the other layers. For instance a change in the logic of the DAL layer does not affect the the BAL nor the presentation layer. It also makes testing easier in that a whole layer can be replaced with a stub object.

For example instead of testing the whole application with an actual connection to database, the DAL can be replaced with a stub DAL for testing purposes. The DAL deals with actual database operations. These operations are inserting, updating, deleting and viewing. The BAL deals with the business logic for a particular operation. The PL has the user controls for interacting with the application.

3-Tier programming architecture also enables re-use of code and provides a better way for multiple developers to work on the same project simultaneously.
1.Start a new website project
2.Design you page as shown below,
                           

3.Add sub-folders and class objects within the App_code folder as shown below,
                       
 /*
    1.First Add sub-folders and class objects within the App_code folder and then
     Create Database(RegDB.mdf) and create a table (Registration) with field names as shown below(regBEL.cs file).

18 March 2014

what is .NET and these basic components?

DOTNET means " Data Object Technique Network Enabled Technology".it is framework which supports more than 44 languages.
.NET is a software development platform developed by Microsoft.It runs on Microsoft windows operating systems.
.NET provides tools and libraries that allow developers to develop applications and services much easily,faster and secure by using convenient way.

Basic components of .NET :

1.CLR-common language runtime :
                                 it is responsible for managing the execution of .NET programs.the compiled code is converted into machine instructions that, in turn, are executed by the computer's CPU. The CLR provides additional services including memory management, type safety and exception handling,garbage collection

2.CTS-common type system :
                                 Every datatype is internally represented by a class or structure.all the classes and structures related to datatypes are collectively known as "CTS".
mainly it sets the standard for all the datatypes that you declared integer type as int.

3.CLS -common language specification :
                                 It defines a set of rules and restrictions that every language must follow which runs under .NET framework.

4.MSIL - Microsoft Intermediate language code :
                                In C# program,after the compilation,the code is converted into msil code.it also known as assemble code or metadata.

5.Assembly : fundamental unit of deployment, version control, reuse, activation scoping, and security permissions.

6.Class Library :
                                The class library provides a comprehensive set of facilities for application development. Primarily written in C#, it can be used by any language(by Common Language Specification ).

7.namespace : logically grouping similar classes into a hierarchical structure. This prevents naming conflicts.

EX:-hello world program

using System;//namespace
{
  class Hello//class name
  {
    public static void main()//main function
   {
     Console.WriteLine("Hello World");// for printing same as printf()
     Console.ReadKey();//to hold output window.same as getch()
   }
 }
}

output:Hello World

17 March 2014

Explaining about Namespace in .NET.?

Now Discuss about what is Namespace and why include it in our program.If you want to make a good programmer in c# then you should know more well about Namespace.
Please read every things about Namespace which is give below:
What is Namespace in C#?.
A Namespace is collection of classes with related type contained in a assembly file.
Ex.
 System.IO Namespace is used for I/O related type Files and Buffering.

There are two basic region for  using Namespace.
1. To make the logical group of classes.
2. To avoid the name conflict of classes(means more than class with same program but different Namespace).

Using keyword in all Namespaces. please include it before every Namespace.
1.System - This Namespace  is used for following attribute in our program.
Mathematical computations.
Random Number generation
Garbage collection
Intrinsic data
Exceptions and attributes
2. System.Data -This Namespace is used when we are using Database connectivity in Ado.NET Application. If any Namespace  use "Data" attribute then it will used for Database connectivity in .NET.
3. System.Data.sqlClient - This also used for database connectivity in Ado.NET When we are use sql query for data connection.
4. System.Collections - This Namespace is used when we are using collections (Generic and Non Generic).
5. System.Collections.Generic - This Namespace is used for Generic collection(Ex. ArryList,stack,Dictionary,queue);
6. System.Drawing - This Namespace is used for Graphical Primitive data type such as size,fonts andprinting services etc.
7. System.Reflection - This Namespace is used Run type discovery and dynamic creation of types.
8. System.Security - This Namespace is used for Security Purpose.Suppose if we are using Cryptography security in .NET Application then we will use this Namespace in our .NET Application.
9. System.Threading - This Application is used when we are making a multi-threading application in .Net .
10. System.web - This Namespace is used when we are making a web Application in .NET.Ex. asp.net,XML web services etc.
11. System.Windows.Forms - When  we are making any GUI based application in .NET then we use this Namespace otherwise compiler gives error message.
12. System.xml - When we are using XML Language in our programs then we will use this Namespace in our programs.
13. System.Configuration - When  we configure some .net controls and use it in our .net application. then we use this Namespace.Ex. Configuration of SqlDataSource or SqlDataAdapter and use it for connection.

4 March 2014

Introduction about Structured Query Language (SQL)?

Structured Query Language (SQL) is a standard computer language for relational database management and data manipulation. SQL is used to query, insert, update and modify data.
Most relational databases support SQL, which is an added benefit for database administrators (DBAs), as they are often required to support databases across several different platforms.
 First developed in the early 1970s at IBM by Raymond Boyce and Donald Chamberlin, SQL was commercially released by Relational Software Inc. (now known as Oracle Corporation) in 1979.
The current standard SQL version is voluntary, vendor-compliant and monitored by the American National Standards Institute (ANSI). Most major vendors also have proprietary versions that are incorporated and built on ANSI SQL.
 e.g., SQL*Plus (Oracle), and Transact-SQL (T-SQL) (Microsoft).

One of the most fundamental DBA rites of passage is learning SQL, which begins with writing the first SELECT statement or SQL script without a graphical user interfaces (GUI). Increasingly, relational databases use GUIs for easier database management, and queries can now be simplified with graphical tools, e.g., drag-and-drop wizards. However, learning SQL is imperative because such tools are never as powerful as SQL.

SQL code is divided into main categories as shown below:

  • Queries are performed using the ubiquitous yet familiar SELECT statement, which is further divided into clauses, including SELECT, FROM, WHERE and ORDER BY.
  • Data Manipulation Language (DML) is used to add, update or delete data and is actually a SELECT statement subset and is comprised of the INSERT, DELETE and UPDATE statements, as well as control statements, e.g., BEGIN TRANSACTION, SAVEPOINT, COMMIT and ROLLBACK.
  • Data Definition Language (DDL) is used for managing tables and index structures. Examples of DDL statements include CREATE, ALTER, TRUNCATE and DROP.
  • Data Control Language (DCL) is used to assign and revoke database rights and permissions. Its main statements are GRANT and REVOKE.

Explaining about ActiveX Data Objects (ADO)?

ActiveX Data Objects (ADO) is a collection of software components providing a programmatic interface to access the data sources from client applications.
                                                     ADO acts as a layer to access any data store in a generic way from the application code. It eliminates the need to possess the knowledge of database implementation and reduces the complexity of dealing with the low level code needed to handle the data.

Released in 1996, activeX data object (ADO) originated from the concept of RDO (remote data object) and DAO (data access object). One of the constituents of MDAC (Microsoft data access components), ADO and other MDAC constituents provides a framework of components used by client applications to access SQL, semi-structured and legacy data stores.

ADO.NET is an advanced data access technology designed to work in the .NET environment and is based on the disconnected model for data access. While ADO uses COM (Component Object Model) technology for providing data access service from unmanaged code, ADO.NET depends on managed providers of the CLR (Common Language Runtime) of the .NET framework.

ADO uses an OLEDB provider for connecting to the data sources and accessing data. OLEDB is a component based programmatic interface provided to interact with different data sources. These data sources can be both relational and non-relational databases such as object databases, web pages, spreadsheets or e-mail messages. Prior to OLEDB and ADO, ODBC (open database connectivity) was the popular model used in applications across platforms.

The object model of ADO contains four collections of 12 objects.
The different collections are fields, properties, parameters and errors.

Each collection consists of the following 12 objects:
Connection - for connecting to data source through OLE DB
Command - for sending an instruction (SQL query or stored procedure) to data provider
Recordset - a group of records representing the data
Immediate - a recordset locked in optimistic or pessimistic way
Batch - for committing or doing a rollback database transaction
Transaction - the database transaction
Record - a set of fields
Stream - for reading and writing a stream of bytes
Parameter - for changing the functionality
Field - a column in the database
Property - the ability of OLEDB provider
Error - the error faced by the OLEDB provider during its execution

Explains about ActiveX Data Object.NET (ADO.NET) ?

Definition -
ActiveX Data Object.NET (ADO.NET) is a software library in the .NET framework consisting of software components providing data access services.
  • ADO.NET is designed to enable developers to write managed code for obtaining disconnected access to data sources, which can be relational or non-relational (such as XML or application data). This feature of ADO.NET helps to create data-sharing, distributed applications.
  • ADO.NET provides connected access to a database connection using the .NET-managed providers and disconnected access using datasets, which are applications using the database connection only during retrieval of data or for data update. Dataset is the component helping to store the persistent data in memory to provide disconnected access for using the database resource efficiently and with better scalability.
  • ADO.NET evolved from ADO, which is also a technology similar to ADO.NET with a few basic structural changes. Although there is a provision to work in disconnected mode using ADO, data is transmitted to the database in ADO.NET more efficiently using data adapters. The in-memory representation of data differs between ADO and ADO.NET.
  •  ADO.NET can hold the data in a single result table, but ADO holds multiple tables along with their relationship details. Unlike ADO, data transmission between applications using ADO.NET does not use COM (component object model) marshalling but uses dataset, which transmits data as an XML stream.

The architecture of ADO.NET is based on two primary elements:
1. DataSet
2 .NET framework data provider.

Dataset provides the following components:
  1. a complete set of data including related tables, constraints and their relationships
  2. functionality-like access to remote data from XML Web service
  3. manipulation of data dynamically
  4. data processing in a connectionless manner
  5. provision for hierarchical XML view of relational data
  6. usage of tools like XSLT and XPath Query to operate on the data

The .NET framework data provider includes the following components for data manipulation:
  1. Connection: This provides connectivity to the data source
  2. Command: This executes the database statements needed to retrieve data, modify data or execute stored procedures.
  3. DataReader: This retrieves data in forward only and read-only form.
  4. DataAdapter: This acts as bridge between dataset and data source to load the dataset and reconcile changes made in dataset back to the source.

ADO.NET entity framework of .NET framework 4.0, the new technology of ADO.NET, abstracts the level of data programming so as to eliminate the impedance mismatch between data models and languages, which application developers would otherwise have to deal with.

16 February 2014

Explaining about File Handling Real Application in C#

 Today ,i am going to make a Real Application in File Handling Using C#.You can use this Application to anywhere in your projects.All Real Time Application are made on the behalf  of this small Application. File Handling Application are mostly used in Software ,website and Automation etc. 
 This Application includes following features which is given below:
  • How to Find Logical Drives in Your System and Find Total and free space in selected Drive using C#
  • How to Create New Directory in your System Drive using C#.
  • How to Create Sub Directory in your system drives in Directory using C#.
  • How to Show Directory's File Details using C# language.
  • How to Copy Directory From One Drive To Another Drive Using C#.
  • How to Write contents in File using C#.
  • How to Read File from system using C#.
  • How to Find (Search)  text data from File using C#.
  • How to Append Contents to the Existing File using C#.
  • How to Rename File Name in your system using C#.
  • How to Replace Old Value to New Value from your Existing file  using C#.
Full Application screenshot is given below:
see it:

There are some steps please follow one by one to understand the whole File Handling concepts.
Step :1 First open your visual studio -->open Windows Forms Application -->drag and drop controls to the form as given below:

Step :2 Now Double click on Show Your system Drive Details  Button  , comboBox  and Write the following code which is given below:

?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
using System;
using System.IO;
using System.Windows.Forms;
namespace File_Handling_Application
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        private void button1_Click(object sender, EventArgs e)
        {
            try
            {
                int i;
                String[] strd = Directory.GetLogicalDrives();
                for (i = 0; i < strd.Length; i++)
                {
                    comboBox1.Items.Add(strd[i]);
                }
            }
            catch (Exception ram)
            {
                MessageBox.Show(ram.Message);
            }
        }
        private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
        {
            try
            {
                String val = comboBox1.SelectedItem.ToString();
                System.IO.DriveInfo dinfo = new System.IO.DriveInfo(val);
    textBox1.Text = "your selected drive is:" + val + "\n Total Size of Drive is:"+ dinfo.TotalSize + "\n Available Free space in Drive:" + dinfo.AvailableFreeSpace;
            }
            catch (Exception ram)
            {
                MessageBox.Show(ram.Message);
            }
        }
}
}

Step :3 Now Run the Program(press F5) ,click on Button and select drive from comboBox.
output:
Step :4 Now Drag and drop controls as given below:
see it:

Step :5 Now double click on Buttons and write the following codes which is given below:

?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
private void button2_Click(object sender, EventArgs e)
        {
            try
            {
                if (!Directory.Exists(textBox2.Text))
                {
                    Directory.CreateDirectory(textBox2.Text);
                    MessageBox.Show("Directory created");
                }
                else
                {
              MessageBox.Show("Please Enter correct directory path and File name");
                }
            }
            catch (Exception ram)
            {
                MessageBox.Show(ram.Message);
            }
        }
        private void button3_Click(object sender, EventArgs e)
        {
            try
            {
                String path = textBox2.Text;
                System.IO.DirectoryInfo sudir = new DirectoryInfo(textBox2.Text);
                String subname = textBox3.Text;
                sudir.CreateSubdirectory(subname);
                MessageBox.Show("SubDirectory has successfully created");
            }
            catch (Exception ram)
            {
                MessageBox.Show(ram.Message);
            }
        }
        private void button4_Click(object sender, EventArgs e)
        {
            try
            {
                String path = textBox2.Text;
                DirectoryInfo dinfo = new DirectoryInfo(path);
                if (dinfo.Exists)
                {
                    DirectoryInfo[] subdir = dinfo.GetDirectories();
                    foreach (DirectoryInfo s in subdir)
                    {
                        comboBox2.Items.Add(s);
                    }
                    FileInfo[] finfo = dinfo.GetFiles("*");
                    foreach (FileInfo f in finfo)
                    {
                        comboBox2.Items.Add(f);
                    }
                }
                else
                {
 MessageBox.Show("Directory does not Exist,Please enter valid directory path and name");
                }
            }
            catch (Exception ram)
            {
                MessageBox.Show(ram.Message);
            }
        }

Step :6 Now Run the program and create Directory,Sub directory and show Directory and files one by one. See your drive, Directory is created or not.
Output:

Step :7 Now Again drag and drop controls as shown below:


Step :7 Now Double click on Copy directory Button and write the following codes.

see it:
?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
private void button5_Click(object sender, EventArgs e)
        {
            try
            {
                DirectoryInfo srcdir = new DirectoryInfo(textBox4.Text);
                DirectoryInfo destdir = new DirectoryInfo(textBox5.Text);
                CopyDirectory(srcdir, destdir);
            }
            catch (Exception ram)
            {
                MessageBox.Show(ram.Message);
            }
        }
        private void CopyDirectory(DirectoryInfo srcdir, DirectoryInfo destdir)
        {
            try
            {
                if (!destdir.Exists)
                {
                    destdir.Create();
                    FileInfo[] finfo = srcdir.GetFiles();
                    foreach (FileInfo f in finfo)
                    {
                        f.CopyTo(Path.Combine(destdir.FullName, f.Name));
                    }
                    DirectoryInfo[] dinfo = srcdir.GetDirectories();
                    foreach (DirectoryInfo d in dinfo)
                    {
                        String dest = Path.Combine(destdir.FullName, d.Name);
                        CopyDirectory(d, new DirectoryInfo(dest));
                    }
         MessageBox.Show("Directory has Copied successfully to another Drive");
                }
                else
                {
                    MessageBox.Show("Please enter valid path and File name");
                }
            }
            catch (Exception ram)
            {
                MessageBox.Show(ram.Message);
            }
             
        }

Step :8 Now Run the Program (press F5)


Step :9 Now drag and drop controls on the Form as shown below:
see it:

Step :10 Now Double Click on Write,Read,Find and Append Button and Write the following code:-

?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
private void button6_Click(object sender, EventArgs e)
        {
            try
            {
     FileStream fs = new FileStream(textBox6.Text, FileMode.Open, FileAccess.Read);
                StreamReader sr = new StreamReader(fs);
                String str = sr.ReadToEnd();
                int i = (str.IndexOf(textBox9.Text, 0));
                if (i > -1)
                {
                    MessageBox.Show("This word is exist in the file");
                }
                else
                {
           MessageBox.Show("This word is not exist in the file try another words");
                }
            }
            catch (Exception ram)
            {
                MessageBox.Show(ram.Message);
            }
        }
 private void button7_Click(object sender, EventArgs e)
        {
            try
            {
     FileStream fs = new FileStream(textBox6.Text, FileMode.Open, FileAccess.Read);
                StreamReader sr = new StreamReader(fs);
                textBox8.Text = sr.ReadToEnd();
                fs.Close();
            }
            catch (Exception ram)
            {
                MessageBox.Show(ram.Message);
            }
        }
 private void button8_Click(object sender, EventArgs e)
        {
            try
            {
  FileStream fs = new FileStream(textBox6.Text, FileMode.Create, FileAccess.Write);
                StreamWriter sw = new StreamWriter(fs);
                sw.WriteLine(textBox7.Text);
                sw.Flush();
                fs.Close();
                MessageBox.Show("Content is written in file successfully");
            }
            catch (Exception ram)
            {
                MessageBox.Show(ram.Message);
            }
        }
 private void button9_Click(object sender, EventArgs e)
        {
            try
            {
                String str = textBox6.Text;
                StreamWriter sw = File.AppendText(str);
                sw.WriteLine(textBox10.Text);
                sw.Close();
                MessageBox.Show("File contents appended successfully");
            }
            catch (Exception ram)
            {
                MessageBox.Show(ram.Message);
            }
         }
Step :11 Now Run the Program(press F5) and Fill the required field which is as shown below:
Output:

Step :12  Now Again drag and drop controls on the Form as given below:

see it:

Step :12 Now double click on Rename ,Replace Button and write the following codes which is given below:

?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
private void button10_Click(object sender, EventArgs e)
        {
            String src = textBox6.Text;
            String dest = textBox11.Text;
            try
            {
                FileInfo srcfile = new FileInfo(src);
                if (srcfile.Exists)
                {
                    srcfile.MoveTo(dest);
                    MessageBox.Show("File is Renamed successfully");
                }
                else
                {
                    MessageBox.Show("Entere correct File Name and Path again");
                }
            }
            catch(Exception ram)
            {
                MessageBox.Show(ram.Message);
            }
        }
        private void button11_Click(object sender, EventArgs e)
        {
            String text = File.ReadAllText(textBox6.Text);
           String Value = text.Replace(textBox12.Text, textBox13.Text);
           File.WriteAllText(textBox6.Text, Value);
           MessageBox.Show("successfully Replaced");
        }
Step :13  Now Run the program (press F5) and fill the required field as shown below:
see it:


Note :-  I have built this Application,you can download whole Application with codes.You can understand this Whole application when you will run this application on your system.