Subscribe by Email


Showing posts with label Linear. Show all posts
Showing posts with label Linear. Show all posts

Wednesday, July 4, 2012

Define the scripting techniques for test automation?


The main goal of the test automation process is that a highly maintainable and modular frame work should be developed. In a good automated test framework all the modules are independent and distinct from each other and what is happening inside the frame work are not a thing to be bothered by the outsiders. This is all possible with good test scripts. 

Why Scripts are useful?


- With the help of the scripts, the functionality contained inside each module can be readily expanded without causing any impact on other parts of the software system and application.
- Such scripting makes the maintenance of the program code much easier than ever it would be. 
- In addition to this, the complexity of the module will also be reduced with such good scripting. 
- However, maintaining the modularity of the frame work alone will not help, the test scripts should be fully documented. 
- Without adequate documentation, no body will be able to understand properly the working of the test scripts. 
- If this scripting has not been done properly than our test automation process is sure to become a negative statistic for us. 

What are different Scripting Techniques for Test Automation?



1. Linear scripting technique: 
- This scripting technique is quite a simple one and follows simple recording and playback. 
- This is often used by the testers and developers for carrying out the automation of the test cases as well as test flows of the software system or application under question. 
- This technique consists of some redundant functions that are not always required. 
- Some other features of this technique are:
(a)   It is a non structured way of scripting.
(b)   Scripts define the test cases.
(c)    Low development costs.
(d)   Scripts are not shared.
(e)   Scripts are fragile.

     2. Structured scripting: 
     - This scripting technique employs the control structures in the scripts. 
   - With these control structures the testers are able to control the flow of the test cases and scripts. 
    - This one unlike the linear technique is a structured way of scripting and costs a little more. 
    - Its other features are:
     (a) Scripts define the test cases.
     (b) Testers require intermediate programming skills. 
      (c)  Some planning is required.
     (d)  Scripts consist of data as hard core. 
      (e)  Scripts are robust and require less maintenance.
     (f)   Scripting knowledge and programming knowledge is required.

    3. Shared scripting:
   - In this scripting technique, the scripts represent the behavior of the application that is shared among the other scripts. 
    - The functionality is scripted as shared scripts which are then called by the other scripts. 
    - Using technique can make the scripts modular in terms of the functionality that is common.
    - Other features of this scripting technique are:
    (a)  Structured scripts.
    (b)  Scripts define test cases.
    (c)  Low development costs.
    (d)  More planning required.
    (e)  Low script maintenance.

    4. Data driven scripting: 
  - In this scripting technique, the data is kept separated from the scripts and stored in to the external repository as files. 
   - We can say that these scripts are constituted of just programmed code. 
   - Other features of this scripting technique are:
   (a)  Scripts are programmed.
   (b)  Scripts are structured.
   (c)  Test scripts define test cases.
   (d)  High development costs when compared to shared scripting.
   (e)  High programming skills required.
   (f)  Data is isolated. Low script maintenance.
   (g)  Is used where both negative and positive data testing is required.

   5. Key word driven testing: 
   - This scripting technique develops scripts that are used to check and execute the operations that are maintained with the externalized data files. 
   - We can call it as an extension of the data driven scripting technique.  


Monday, January 30, 2012

What are different aspects of iterative relaxation method?

This article explains relaxation in terms of iterative methods. This piece of writing is all about iterative methods or techniques for solving system of equations. Relaxation methods are iterative methods defined for numerical mathematics.

They are extensively used for solving system of equations which include the following types:

- Large sparse linear systems
Relaxation methods are used to solve large sparse linear systems which were like discretizations of finite difference of differential equations.

- Linear equations
Relaxation methods are used for solving linear equations for problems like that of linear least squares problems.

- System of linear inequalities
Iterative or relaxation methods effectively solve the system of linear inequalities similar to the problems that arise during linear programming.

- Non linear system of equations
These days, iterative methods or relaxation methods have been developed for solving non linear system of equations.

SIGNIFICANCE OF ITERATIVE RELAXATION METHODS

1.) Relaxation methods or iterative methods prove to be very effective and important methodology in providing solutions for linear system of equations and especially for the ones that are used to model elliptical partial differential equations such as Poisson’s equation and Laplace’s equation along with its generalization.

2.) These linear systems of equations are basically used to generally use to describe problems related to boundary values in which the value of the function in the solution is indicated or specified on the boundary of a specified domain.

The basic problem is to compute a solution within the boundaries. People often confuse between iterative methods for relaxation and relaxation methods for mathematical optimizations.

The iterative methods for relaxation techniques are not to be confused with relaxations for mathematical optimizations that are used to approximate a difficult problem by a comparative problem which is more simpler than the former one and whose relaxed or iterated solution provides information about the solution which can be taken in to account for the original problem.

The relaxation method for two dimensional problems is used to readily generalize the other numbers of the dimensions.

- The relaxation iterative methods converge under general conditions.
- But, these methods make slow progress as compared to the other competing methods.
- The study of the iterative relaxation methods constitute an essential part of linear algebra since the transformations of the relaxation methods provide pre conditioners for newer methods that are in a way quite excellent.
- In some cases multi grid methods can be used in order to accelerate the methods.
- It is a common problem in path oriented testing to generate the test data that is required to make the program follow a given path.
- This problem is over come using iterative relaxation method.


Thursday, January 27, 2011

Introduction to Architecture Design - Content Architecture

The design process for identifying the subsystems making up a system and the
framework for sub-system control and communication is architectural design. An architectural design is :
- early stage in system design process.
- conducted in parallel with other design activities.
- establishes a link among goals established for web application, content, users visiting it, and the navigation criterion.
- identifying system components and their communications.

Content architecture emphasize on the fact how are the content objects structured for presentation and navigation. It focuses on overall hypermedia structure of the web application. It focuses on
- identifying links and relationships among content and documents.
- defining the structure of content.
- specifying consistent document requirements and attributes.

The design can choose from four different content structures:
- Linear Structures : a predictable sequence of interactions is common. The sequence of content presentation is predefined and linear in nature.
- Grid Structures : applied when the web application content can be organized categorically in two dimensions. This web application architecture is useful when highly regular content is encountered.
- Hierarchical Structures : it is the most common web application architecture. It is designed in a manner that enables flow of control horizontally, across vertical branches of the structure.
- Networked Structures : architectural components are designed so that they may pass control to virtually every other component in the system. It provides navigational flexibility but at the same time it can be a bit confusing to a user.
- Composite Structures : the overall architecture of the web application may be hierarchical, but part of the a structure may exhibit linear characteristics, while another part of the architecture may be networked.


Facebook activity