Sunday, 2 June 2013

How to Increase your System Performance

Disk Drive stuff :

  1. Click My Computer
  2. Right-click on the PC drive and select Properties.
  3. Select General and get Figure 1.
  4. Click on
  5. Get rid of junk files (like Temp Files, Temp Internet Files, the Recycle Bin, etc.)
  6. Repeat steps 1 and 2 above, select Tools and get Figure 2.
  7. Click on
  8. Go for a coffee while your hard drive gets checked for errors
  9. Then do a
  10. Go for a coffee while the files on your hard drive get reorganized / consolidated
    ... and hopefully your PC will run faster                                                                                                                                                                                System Restore stuff    :                                                                             
  11. Right-click on My Computer, select Properties and get Figure 3.
  12. Select System restore
  13. Click
Reduce the (HUGE) space allocated for a System Restore to something more reasonable ... like 500 - 1000 MB, maybe?                                                                                                                       

If your computer has begun to slow down after several months of usage, there a a couple of minor changes you can make to your settings that will help increase the performance of your computer. Tweaking Windows is essential to get the maximum performance for your computer. Even on a fast computer, if the settings are incorrect, the computer will perform poorly.
Virtual Memory Settings:
Virtual memory for your computer is hard drive space used by Windows when it fills up the physical RAM. Let’s say you have a computer that has 256MB of RAM and you’re running several applications at once that might need a total of 400MB of memory. Windows will fill up the 256MB and then use the free space on the hard drive to store the rest. This is called the Paging file or Virtual memory and Windows will increase and decrease the size of this file as needed. Writing to disk takes much longer than writing to physical RAM, so when Windows uses the paging file, computer performance degrades.
That’s why you’ll always hear people asking if there is enough RAM because the more RAM you have, the better your computer’s performance will be. However, we can tweak the virtual memory settings also so that the paging file does not get fragmented and so that Windows does not have to grow or shrink the size of the paging file, both of which will cause the computer to slow down, especially on older machines.
By default, Windows uses the boot partition (the partition that contains your operating system files) and it is recommended to set the size to 1.5 times the amount of RAM that you have.
To change the virtual memory settings, go to Start, Control Panel and click on System. Click on the Advanced tab and under the Performance box, click Settings.

                                                                             
 On the Performance dialog, click the Advanced tab and then click Change under the Virtual Memory heading.

                                                                                                            Now you’ll see the Virtual Memory settings as shown below:
                                                                           

Here are the rules for setting your paging file correctly:

To get the best performance it is best to create a paging file on a different partition than the boot partition (the drive that contains that operating system, which is usually the C drive) and to also create it on a separate hard drive. In this way, Windows can handle more I/O requests because the paging file will not have to compete with the system folder that needs to be constantly accessed as Windows runs.
The only problem with completely moving the paging file off the boot partition is that Windows uses the page file to write out debug info in case your computer crashes with blue screen of death STOP error. This is important for machines that have critical data, but for the average user, this is not a big deal. If you get the blue screen of death, it’s not an easy process at all to get to read the file and even if you can, it can be quite complex. But if you have enough space, then you can leave the paging file there.
So the best solution is to create on paging file on the boot partition that will take care in case of a crash and create another paging file on a separate partition on a DIFFERENT hard drive preferably. If you only have one hard drive on your computer, then just create another paging file on a different partition. Windows automatically uses the paging file that is on the less accessed partition using an internal algorithm.
Even more ideal would be if you could put the paging file in it’s own partition with no other data. This ensures that the paging file will never become fragmented and hence performance will be better. If it’s on a drive that has other data and the paging file must be expanded, and if there is other data in the way, the file will become fragmented.
Another way to reduce fragmentation of the paging file is to set the initial and maximum sizes to the same number. What this does is ensure that the file does not grow or shrink and therefore will not fragment. However, you should defragment the hard drive before doing this to ensure the paging file is all together on the hard drive.
So if you have only one partition, set the initial and maximum sizes to 1.5 times the amount of RAM you have. If you have more than one partition, select the boot partition and set the initial and max to 250MB. The reason for this is because it’s better to create another paging file on the other partition and create one paging file on the boot partition that’s just big enough for the mini dump file, which is 250MB.
On your second partition, select Custom Size and set the initial and maximum values to 1.5 times the amount of physical RAM you have. You can determine the amount of RAM you have by going to Start, Control Panel, and click System. You’ll see the amount of RAM at the bottom right.



Is Your PC working Slow ...!!!



Sometimes you get angry with your computerbecause if it slow. Now I'm going to tell you how to fix this problem. Here is the few tricks to do it.

01. Uninstall unwanted applications
If you installed more software's in your computer actually it's getting slow. so if have unwanted programs in your list uninstall all ofthem. To do it follow below steps.
• In Windows XP, go to Start -> Control Panel -> Add/Remove Programs
• In Windows 7 and Vista, go to Start -> Control Panel -> Programs -> Programs and Features
• In Windows 8 go to Settings -> Control Panel -> Programs and Features
 
02. Remove junk files
You don't even have to click a "Save" button once while using your computer to accumulate junk files. Simply checking emails, setting your computer to hibernate or surfingthe web will build up junk files on your computer. You can remove your PC junk files using Windows inbuilt "Disk Cleanup" utility.
• In Windows XP, Vista and 7 go to Start -> All Programs -> Accessories -> System Tools -> Disk Cleanup
• In Windows 8 Press Win+R and type Cleanmgr.exe on run. now press Enter
 
03. Disabling auto-start applications
Many programs will set themselves to auto-start when you boot your computer, even though you might only use them once a month. These background applications can take up a lot of RAM and they make your PC toslow. That's why disabling the auto-start option for programs you don’t need can do a lot to speed up your computer. Follow this steps to stop unwanted startup programmes.
• In Windows XP go to Start -> Run -> and type msconfig on run -> go to Startup tab. now you can uncheck unwanted startup programmes.
• In Windows Vista and 7 simply type msconfig in the search box in the Start menu
• In Windows 8 Press Win+R and type msconfig on run
 
04. Repair and defragment the registry
It is possible to repair registry errors yourself if you are a very experienced computer user or have a know the exact origin of your problem and step-by-step instructions to fix it. But many computer users can't repair registry errors themselves. So you can download third party software to do it. PC Tools Registry Mechanic is one of the best registry repair software.
 
05. Removing malware
Malware can also slow down your computer, running in the background and taking up system resources. To speed up your computer, install a good anti-malware product and set it to auto-update and run scheduled scans. There have many softwares to do it. I'm recommend Malwarebytes Anti-malware to do it.

Hope this article helped you! Please feel free to comment!
Follow us on way4testing.blogspot.in

Saturday, 1 June 2013

QTP Commands



QTP Commands are available in 3 ways.

1.Menu options
2.Tool Bar options
3.Short cut keys (for Some important operations only)

File menu: Through file menu user can create, save tests, open existing tests, export tests in zip format.

Command
Function
New > Test
Creates a new test.
New > Business Component
Creates a new business component.
New > Scripted Component
Creates a new scripted component.
New > Application Area
Creates a new application area.
New > Function Library
Creates a new function library.
Open > Test
Opens an existing test.
Open > Business/Scripted Component
Opens an existing business or scripted component.
Open > Application Area
Opens an existing application area.
Open > Function Library
Opens an existing function library.
Close
Closes the active function library.
Close All Function Libraries
Closes all open function libraries.
Quality Center Connection
Opens the Quality Center Connection dialog box, enabling you to connect to a Quality Center project.
Quality Center Version Control
Provides a sub-menu of options for managing versions of QuickTest assets in Quality Center. The sub-menu is available only when you are connected to version-control enabled Quality Center project.
Save
Saves the active document.
Save As
Opens the relevant Save dialog box so you can save the open document.
Save Test with Resources
Saves a standalone copy of the current test together with its resource files.
Save All
Saves all open documents.
Enable Editing
Makes read-only function libraries editable.
Export Test to Zip File
Creates a zip file of the active document.
Import Test from Zip File
Imports a document from a zip file.
Convert to Scripted Component
Converts a business component to a scripted component.
Print
Prints the active document.
Print Preview
Displays the Keyword View as it will look when printed and enables you to modify the page setup.
Settings
Opens the Settings dialog box, enabling you to define settings for the open document. (Not relevant for function libraries)
Process Guidance Management
Opens the Process Guidance Management dialog box, enabling you to manage the list of processes that are available in QuickTest.
Associate Library '<Function Library Name>' with '<Document Name>'
Associates the active function library with the open document. (Available only from function libraries)
Recent Files
Lists the recently viewed files.
Exit
Closes the QuickTest session.
 
Edit Menu: It provides editing options and renaming, deleting and splitting actions.

Command
Function
Undo
Reverses the last command or deletes the last entry you typed.
Redo
Reverses the most recent operation of the Undo command.
Cut
Removes the selection from your document.
Copy
Copies the selection from your document.
Paste
Pastes the selection to your document.
Delete
Deletes the selection from your document.
Copy Documentation to Clipboard
Copies the content of the Documentation column of the Keyword View, enabling you to paste it in an external application.
Action > Split Action
Separates an action into two sibling actions or into parent-child nested actions.
Action > Rename Action
Changes the name of an action.
Action > Delete Action
Enables you to remove the selected call to the action, or delete the action and its calls from the active test.
Action > Action Properties
Enables you to specify options, parameters, and associated object repositories for a stored action.
Action > Action Call Properties
Enables you to specify the number of run iterations according to the number of rows in the Data Table, and to define the values of input parameters and the storage location of output parameters.
Step Properties > Comment Properties
Opens the Comment Properties dialog box for a comment step. Available only when the selected step is a comment.
Step Properties > Object Properties
Opens the Object Properties dialog box for a selected object. Available only when the selected step contains a test object.
Step Properties > Checkpoint Properties
Opens the relevant Checkpoint Properties dialog box for a selected object. Available only when the selected step is a checkpoint step.
Step Properties > Output Value Properties
Opens the relevant Output Value Properties dialog box for a selected object. Available only when the selected step is an output value step.
Step Properties > Report Properties
Displays the Report Properties dialog box for a report step. Available only when the selected step is a Reporter.ReportEvent step.
Find
Searches for a specified string.
Replace
Searches and replaces a specified string.
Go To
Moves the cursor to a particular line in the test.
Bookmarks
Creates bookmarks in your script for easy navigation.
Advanced > Comment Block
Comments out the current row, or selected rows.
Advanced > Uncomment Block
Removes the comment formatting from the current or selected rows.
Advanced > Indent
Indents the step according to the tab spacing defined in the Editor Options dialog box.
Advanced > Outdent
Outdents the step (reduces the indentation) according to the tab spacing defined in the Editor Options dialog box.
Advanced > Go to Function Definition
Navigates to the definition of the selected function.
Advanced > Complete Word
Completes the word when you type the beginning of a VBScript method or object.
Advanced > Argument Info
Displays the syntax of a method.
Advanced > Apply "With" to Script
Generates With statements for the action displayed in the Expert View, and enables IntelliSense within With statements.
Advanced > Remove "With" Statements
Converts any With statements in the action displayed in the Expert View to regular (single-line) VBScript statements.
Optional Step
Inserts an optional step (a step that is not required to successfully complete a run session).
 


View menu: Through this menu we can launch and close, active screen, Data Table, Debug viewer, information, missing resources etc.

Insert Menu: Through this menu user can inserting check points, out put values, synchronizing points.

In this menu step generator available, using this user can generate recordable and non-recordable scripts.

Through insert menu user can insert VB Script conditional and loop statements and transaction points (Start and End).

Through insert menu user can create new actions, call existing actions and copy existing actions.

Automation Menu:
This menu provides Record, Run options and Run setting options
Through this menu we can start normal recording, analog recording and Low level recording.

Through this menu we can stop recoding, running and also we run tests.


Command
Function
Record
Starts a recording session.
Run
Starts a run session from the beginning or from the line at which the session was paused.
Stop
Stops the recording or run session.
Run Current Action
Runs only the active action.
Run from Step
Starts a run session from the selected step.
Maintenance Run Mode
Starts a run session during which the Maintenance Run Mode wizard opens for steps that failed because an object was not found in the application (if applicable).
Update Run Mode
Starts a run session to update test object descriptions and other options (if applicable).
Analog Recording
Starts recording in Analog Recording mode.
Low Level Recording
Starts recording in Low Level Recording mode.
Record and Run Settings
Opens the Record and Run Settings dialog box, enabling you to define browser preferences for recording and running your test.
Process Guidance List
Lists the processes that are available for the current document type and for the currently loaded QuickTest add-ins, enabling you to open them.
Results
Enables you to view results for a test run session.

Resources Menu:

This menu provides object repository and recovery scenarios options.
Through this menu we can create /modify/delete objects information and we can associate repositories.
Through this menu we can create, modify and delete recovery scenarios.

Command
Function
Object Repository
Opens the Object Repository window, which displays a tree containing all objects in the current test or component.
Object Repository Manager
Opens the Object Repository Manager dialog box, enabling you to open and modify multiple shared object repositories.
Associate Repositories
Opens the Associate Repositories dialog box, enabling you to manage the object repository associations for the test.
Map Repository Parameters
Opens the Map Repository Parameters dialog box, enabling you to map repository parameters, as needed.
Recovery Scenario Manager
Opens the Recovery Scenario Manager dialog box.
Associated Function Libraries
Lists the function libraries associated with the active document, enabling you to open them.
 
Debug Menu:
This menu provides debug commands for step by step execution.
Through this menu we can insert/remove/break points.

Tools Menu:
This menu provides Tools settings option, view options and object identification configuration.
Through this menu we can set tool options as well as test pane view options.
In this menu object spy option available, through this we can get object’s information.(Properties and values)
In this menu Virtual object option available; through this option we can create virtual objects.

Command
Function
Options
Opens the Options dialog box, enabling you to modify global testing options.
View Options
Opens the Editor Options dialog box, enabling you to customize how tests and function libraries are displayed in the Expert View and Function Library windows.
Check Syntax
Checks the syntax of the active document.
Object Identification
Opens the Object Identification dialog box, enabling you to specify how QuickTest identifies a particular test object.
Object Spy
Opens the Object Spy dialog box, enabling you to view the native properties and operations of any object in an open application, as well as the test object hierarchy, identification properties, and operations of the test object that QuickTest uses to represent that object.
Web Event Recording Configuration
Opens the Web Event Recording Configuration dialog box, enabling you to specify a recording configuration level. (Relevant for tests only)
Data Driver
Opens the Data Driver dialog box, which displays the default Constants list for the action. (Relevant for tests only)
Change Active Screen
Replaces the previously recorded Active Screen with the selected Active Screen. (Relevant for tests only)
Virtual Objects > New Virtual Object
Opens the Virtual Object Wizard, enabling you to teach QuickTest to recognize an area of your application as a standard test object.
Virtual Objects > Virtual Object Manager
Opens the Virtual object Manager, enabling you to manage all of the virtual object collections defined on your computer.
Customize
Opens the Customize dialog box, which enables you to customize toolbars and menus, and create new menus.
 

Hope this article helped you! Please feel free to comment!
Follow us on way4testing.blogspot.in