Subscribe by Email


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

Sunday, October 21, 2012

What Silk Test does when you enable a browser extension?


Extensions in silktest prove to be of great help whenever testing has to be carried out in environments that are not directly supported by the silk test. 
If you want to use the silk test for testing in a specific environment then it is necessary to enable those extensions in the silk test. This is a way of telling the silk test to load some specific extensions. 

What are browser extensions?

- The extensions which have to be loaded do not depend on the machine on which the AUT or the application under test is installed on a local machine or on a remote machine. 
- The extensions which have to be used need to be enabled on the host machine. 
- Also, those extensions need to be enabled on the target machines as well on which the application under test is to be tested. 
- Once the extensions have been enabled on all the machines for AUT, a list of extensions to be loaded is sent to each agent by the silk test. 
- Then, the appropriate extensions for the AUT or application under testing are dynamically loaded by the silk test agent component. 
- The extensions that meet all the requirements of the application that you wish to test should only be installed on the target machine for the current as well the future testing sessions. 
- However, there are some extensions that are enabled by default via the installation program of the silk test. 
- The default extensions may include extensions that come with the silk test, java extension as well as all the supported web browser extensions. 
- The other extensions are the one that you explicitly install for the development environment. 
- These are enabled for those applications software that are invoked during the standard run time of the extension. 
- The option for enabling the extensions is available on the basic work flow bar. - An extension is actually a file that is used with the purpose of extending the capabilities of the data that is available to a particular program. 

What SilkTest does when a browser extension is enabled?

Extensions are provided by the silk test for the testing of the applications which make use of the non standard controls in browser environment as well as the other specific developments. 
- First, you need to start or launch the application that you want i.e., the application for which you want to enable the extensions but make sure to do so in the maximized mode of the application window. 
- Now go to the basic work flow bar and click on the enable extensions option. 
- Select the extensions to be installed from the list and un-check the others. 
- After selection click OK and after this you will get an extension settings dialog box. 
- When you get the test extension settings dialog box, close the application under test and re launch the application. 
- Click OK in the test extension settings dialog box. 
- Finally, you need to click on the OK option in the test passed dialog box. 
- You need to do one more thing to ensure that the test case you execute starts as well as ends with the application under test or AUT in a state that is intended in spite of the errors that may occur. 
- The thing is to configure the recovery system of the silk test. 
- The option set recovery system is also available on the basic work flow bar. 
- Select your application and click OK for the dialog box that states that the system has been configured. 
- You are now all set to go for the recording of the test cases. 


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