Subscribe by Email


Showing posts with label Standard. Show all posts
Showing posts with label Standard. Show all posts

Sunday, June 30, 2013

Explain the single and two level directory structures

About Directory Structure
- Directory structure is referred to the way that the operating system follows for displaying the files and file system to the user in the field of computing. 
- A hierarchical tree structure is used for displaying the files in a typical way. 
- The special kind of string the file name uses or the unique identification of a particular file that is stored in the computer’s file system. 
- Before the 32 bit operating systems actually came in to the scenario; short names of about 6 to 14 characters in size were used for the file names. 
However, the modern operating systems give permission for file names of longer length i.e., of 250 character and that too per path name element. 
- The drive:\ is the root directory in the operating systems such as the OS/2, windows and DOS for example, “C:\”. 
- The “\” is the directory separator but the forward slash “/” is also internally recognized by the operating system.
- A drive letter is use for naming the drives either physically or virtually. 
- This also implies there does not exist a root directory that is formal. 
- Rather, we have root directories in each drive that are independent of each other. 
- However, one virtual drive letter can be formed by combining in to one. 
- This is done by keeping a RAID setting of 0 for the hard drive. 
- The file system hierarchy standard is used by the operating systems such as the UNIX and other UNIX like systems. 
- This is the most common form for the directory structures used by the UNIX operating systems. 
- It is under the root directory “/” that all the files and the directories are stored even if they are actually present on a number of different physical devices.

About Single – level Directory
- This is the simplest of the directory structures. 
- All files are stored in the same directory itself because it is quite easy to understand as well as support. 
- The first computer of the world i.e., the CDC 6600 also operated on just one directory and it could be used by a number of users at the same time. 
- There are significant limitations of the single-level directory. 
- These limitations come in to play when there are more than one users using the system or when the system has to deal with a large number of files. 
- All the files have to be assigned unique names since they are all stored under the same directory. 
- No two files can have the same file name. 
- It may become difficult to keep the names of the files in mind if they are large in number.


About Two–level Directory
- The limitations of the single level directory structure can be overcome by creating an individual directory for every user. 
- This is the most standard solution for the problems of the single level directories. 
- In this two-level directory structure, a UFD or user file directory is made for every user. 
- The structure of all the user file directories is almost the same, but the difference is that only the files of the individual user are stored in one.
- When a user tries to log in or when he starts a task, the system searches for the MFD or master file directory. 
- The name of the user or his/ her account number is used for indexing the MFDs in the operating system. 
- Each of those entries points to the UFD belonging to that user. 
- When a reference is made to some file, the system only searches for the user file directory for example, when a file has to be deleted or created. 


Thursday, August 23, 2012

What are different types of functions available in WinRunner?


Functions form a very important aspect of the winrunnner. When you work with the winrunner you are provided with functions from all the categories. 

Some of the functions are there which are suppose to work only when the applications have been developed in specific environments like those mentioned below:
  1. Visual basic
  2. Power builder and so on.
What is a Function?
- The availability of a specific function can be checked by clicking up on the availability button available at the top of the help screen for that particular function. 
- The loadrunner GUI vusers types make use of the winrunner for the creation of the system load.
- This makes it possible to make use of any of the categories. 
- The standard functions can be used apart from the loadrunner functions in loadrunner scenario scripts on UNIX platform only.
- There are certain TSL functions that have the support for both the Xrunner and winrunner. 
- The winrunner provides 4 major types of TSL functions as stated below and a different and unique requirement is addressed by each of them:
1. Context sensitive functions: These functions hold the responsibility for performing the operations on GUI objects.
2. Analog functions: These functions hold the responsibility for carrying out some user like events like mouse and key board input.
3. Customization functions: These functions hold the responsibility for configuring the settings of the testing tool according to one’s requirement. 
4. Standard functions: These functions hold the responsibility for performing the basic programming language operations.

Context Sensitive Functions
- The actions taking place on the software system or application which is under test can be depicted by these functions in terms of the GUI objects like buttons, lists and windows and so on. 
- These functions are available for the following platforms:
      a)   Winrunner
      b)   Load runner GUI vusers
   - Parameters that make a reference to the logical name of some object are involved in most of the context sensitive functions. 
   - However, it should be checked that the logical name of an object has been given a place with the physical description. 
    - What happens during recording is that the logical name is automatically put to use by the system. 
   - In some cases the function is expected to work with the physical description of the object as well.

    Analog Functions
   - Operations are recorded and executed at the screen coordinates of the screen as specified in the test script. 
   - When the winrunner recording is done in this mode, these functions come in to play for depicting the following:
a)     Mouse clicks
b)     Key board input
c)     Exact coordinates travelled by the mouse
- The purpose of these functions is to run and retrace the mouse tracks and submit the exact input that was recorded by the user. 
- There are some other particular operations that are supported by analog functions:
a)   Synchronization
b)   Verification
c)   Text manipulation etc.
- The analog functions are available for the same platforms as for the context sensitive functions.

Customization Functions
- With these functions, the testing tools you are using can be enhanced further to suit better with your testing style and other specific needs. 
- One particular example for this function is the function using which functions can be added to the function generator and custom GUI check points can be created. 
- These are only available for winrunner.

Standard Functions
- These functions are for general elements of the programming language like:
a)   Basic input and out put
b)   Control flow
c)   Mathematical functions
d)   Array functions and so on.
- Unlike other function the standard functions are available for all the products of mercury interactive.  


Facebook activity