Subscribe by Email


Showing posts with label Extension. Show all posts
Showing posts with label Extension. Show all posts

Wednesday, October 24, 2012

Explain advantages of DOM extension over VO extension?


In this article we shall discuss the advantages DOM has over VO. First, we shall discuss about these two silk test browser extensions individually. 

About VO Extension

- VO browser extension is related to the concept of virtual object. 
- An extension is a supplementary add–on component required for carrying out certain tests for web sites and web applications using silk test. 
- This virtual browser extension operates using a technique called the “sophisticated pattern recognition technique”.
- This technique helps in facilitating the object identification process and provides an actual view of the web sites and web applications.
- However, the HTML tags cannot be recognized with the help of this extension. - One thing to be noted is that only the objects present in the web pages can be recognized by the virtual object browser extension. 
- This extension however does not care about the implementation of these objects. 
- Identification of the object is done based up on the following:
  1. Control type
  2. Caption
  3. Associated text
  4. Control index
  5. Location and
  6. Window ID
- This browser extension is one of the methods used by the silk test for object recognition. 

About DOM Extension

- The second method is the Document Object Model and makes use of the DOM browser extension. 
- DOM browser extension is basically used for establishing a direct communication between the web application and web browser.
- The following tasks can be carried out:
  1. Recognition of the objects
  2. Categorization of the objects and
  3. Manipulation of the objects
- The DOM browser extensions works with the HTML code rather than working up on the visual patterns like the virtual browser extension does.
- Firstly, it identifies the browser window of the application which consists of the application that is currently being executed. 
- The object among the other web UI objects is identified based unique HTML elements that represent that particular UI object. 
- This is done by concatenating the following two things:
  1. HTML element identification and
  2. Browser window identification
- This DOM browser extension is known to operate on the standards laid down by the W3C or world wide web consortium.
- However, till date there are only two browsers which support this extension namely internet explorer 5+ versions and netscape 6. 
- These two web browsers provide the provision to silk test for making direct queries to them.

Advantages of DOM over VO

Now let us see what all advantages DOM has got over the VO browser extension:
  1. A rectangle is displayed over the VO or virtual object by the recorder as the recording is carried out by the quality assurance engineer.
  2. The text size as well as the actual name of the objects is easily recognized by the DOM extension as compared with the VO browser extension.
  3. The DOM extension is not dependent on the text size setting and browser size like the VO browser.
  4. DOM extension provides a better support to the border-less tables.
  5. More classes and properties are available in DOM extension as compared to the VO browser extension.
  6. Using DOM extension, you can maintain a great consistency over the object recognition process.
  7. DOM extension is quite fast in working as compared to the slow VO browser extension.
  8. One can expect some gain in the playback speed in DOM extension but the same is not possible with the VO browser extension.
  9. There is less crashing or freezing events in the recorder with the DOM extension and more in the VO browser extension.
  10. In VO browser extension the conversion of scripts is more like a daunting task but this not so with DOM.


Monday, October 15, 2012

What is VO (Virtual Object) browser extension in Silk Test?


The silk test automation tool comes with several extensions such as the DOM extension, VO browser extension and so on. 
VO here stands for the ‘virtual object’. 

About Virtual Object 'VO' Browser Extension

- This browser extension is an add–on component for the silk test and is employed during the testing of the web sites and web applications. 
- This virtual object browser extension makes use of a special technique known as the sophisticated pattern recognition technique in order to facilitate the identification of the objects rendered by the objects. 
- The web pages are viewed by the virtual object browser extension as they are in actual. 
- The virtual object browser extension does not opt for the recognition of the HTML tags present in the code of the web application.
- The objects present in that web page or web application are viewed by the virtual object browser extension. 
- These objects may include tables, links, images, compound controls and so on. 
- The technology behind these objects is well ignored by the virtual object browser extension just as we the users do.
- Objects are recognized by the silk test based up on the following aspects of an object:
  1. Control type
  2. Caption
  3. Associated text
  4. Control index
  5. Location and
  6. Window ID
Actually silk test has got two methods for the recognition of any object present in the application under test or AUT and they have been stated below:
  1. Virtual object recognition
  2. Document object model
Both of these methods produce the same result however they cannot be totally inter changed within a test script. 
The objects that are a part of the web applications which run in a browser such as the following need to be dealt with in a special way:
  1. Java applications
  2. Visual basic applications and
  3. Power builder applications
- Technologies behind such applications are not directly supported by the silk test rather these technologies are provided support by the means of some optional extensions.
- These extensions have to be installed separately. 
- The extensions that have been installed are displayed in the option set of the silk test. 
- All you need to do is check the extension that you need to use and un-check the others. 
- There are certain default settings that can be configured manually by the user. 
- In some cases, a combination of the add ins and extensions might be treated mutually exclusive. 
- Another possibility is that some of the add-ins or the extensions might be supported in the new versions of the silk test. 
- A third possibility is that some of those add ins and extensions might be supported by the earlier versions of the silk test. 
- A table mechanism is used by the silk test for the recognition of the objects and as a means to isolate the variable name from the description of the object that is used by the operating system for accessing the objects during the run time. 
- The GUI declarations of an application are placed in a test frame file usually by the silk test. 
- For each and every object in a window there is available, a GUI declaration which  consists of the class of the object as well as its identifier which is nothing but the variable that was used in the test script. 
- It may also consist of an object tag definition. 
- The following are the capabilities that are provided by the silk test for defining an object tag:
  1. String
  2. Array reference
  3. Function
  4. Class and index number
  5. Multiple tags
  6. Browser specifier


Facebook activity