Search here for all the info you want in this Blog

Showing posts with label automation. Show all posts
Showing posts with label automation. Show all posts

Descriptive Programming (DP) vs Object Repository (OR)

if you ask the difference between object repository and descriptive programming or advantages and disadvantages of both.

everybody will see it in their own view, both has its own advantages and disadvantages

 Object Repository:

    QTP identifies the test object properties which it learns while recording and stores the object properties in the object repository.QTP will use these stored properties while executing the recorded script.

Descriptive programming : this a script method where object properties are directly coded  instead of storing it object repository.
There are two types :
  
   * creating decription object using create.description()
   *You list the set of properties and values that describe the object directly in a     
       VBScript statement

 Advantages of DP over object repository:
 
 a) It is tedious to maintain the object repository, when the size increases.
 b) We have to cautious will using shared repository, if any changes made it will 
     affect  all the tests associated with it.
 c) OR will be time consuming to maintain.





Using Object Repository is a advantage or disadvantage?


As far i think both of them have their advantages and 
disadvantages.

OR is simple and easy to identify the objects. but it 
consumes too much of memory when it is loaded and it will 
increase the execution time. And if you have multiple 
object of similiar kind of object properties at times it 
will fail to recoginzed and the script will fail.

But DP reduces the execution time. Script will not fail in 
this b'coz ur just changing the required property of the 
object, yes it true that initial work more that creating 
object properties list in an excel sheet and load that 
excel sheet during runtime. but this can be overridden buy 
using XML file which is less in size and Quick in loading. 
and it takes very less memory.

let me know if you have any comments on this.

Benefits Of TestAutomation

By implementing Automation in a project we can achieve many benefits, but mainly the most important thing why we use automation to perform regression testing.

However there are may known advantages of automation explained below.

The benefits of automating software testing are many

1.     Providing more coverage of regression testing.
2.     Reducing the elapsed time for testing, getting your product to market faster.
3.     Improving productivity of human testing.
4.     Improving the re-usability of tests.
5.     Providing a detailed test log.
6.     Reliable: Tests perform precisely the same operations each time they are run, thereby eliminating human error
7.     Repeatable: You can test how the software reacts under repeated execution of the same operations.
8.     Programmable: You can program sophisticated tests that bring out hidden information from the application.
9.     Comprehensive: You can build a suite of tests that covers every feature in your application.
10. Reusable: You can reuse tests on different versions of an application, even if the user interfaces changes.
11. Better Quality Software: Because you can run more tests in less time with fewer resources
12. Fast: Automated Tools run tests significantly faster than human users.
13. Cost Reduction: As the number of resources for regression test are reduced.

The Disadvantages of automating software testing are many

1.     No scope for exploring other than scripted options
2.     Script development involves nearly another development and validation cycle effort!
3.     Usability /user simulation can’t be done


What is Test Automation?

Here we will discuss few definitions of Automation Testing, so that you will understand what an automation testing is.


Software Test Automation can be defined as the process of automating the steps of manual test cases using an automation tool or utility to shorten the testing life cycle with respect to time

Test automation is code or script which executes tests without human intervention

In automation testing, user actions are simulated using a testing tool. The actions a manual tester performs are recorded, and then played back to execute the same test case

Automated Testing is automating the manual testing process currently in use. This requires that a formalized "manual testing process", currently exists in the company or organization.

Automation is the use of strategies, tools and artifacts that augment or reduce the need of manual or human involvement or interaction in unskilled, repetitive or redundant tasks.

Test automation is code or script which executes tests without human intervention
In automation testing, user actions are simulated using a testing tool. The actions a manual tester performs are recorded, and then played back to execute the same test case.

Introduction to Automation


In Today’s world of software industry ‘Test automation’ is an important aspect of Software testing and quality. Now in this article we will discuss about

  1. What is software test automation.
  2. What is the need of software test automation.
  3. when and where it is applicable.
  4. Advantages and disadvantages of Software Test automation.
  5. We will also discuss the various myths about test automation.

Software Testing


Even though we have many definitions for software definition the main objective behind is “The Software testing is a process used to identify the correctness, completeness and quality of developed computer software.”

In reality, testing can never establish the correctness of the software. It can only find defects, not prove that there are none. The testing process is carried out either manually or using automation tools or an effective combination of both.

Manual Testing

It is defined as developing and executing tests that depends primarily on direct human interaction throughout the entire test lifecycle, especially in terms of evaluating correctness and validating test status.

Automation Testing
It is defined as developing the test cases that can run unattended, comparing the actual to expected results and logging status.
We can make the definition Simple by saying “Automating the manual testing process currently in use”


References Must Read:

      Benefits of Test Automation. 
      Why and when we go for automation ?.
      Myths about Automation testing

More References: