Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Standard view
Full view
of .
Look up keyword
Like this
0 of .
Results for:
No results containing your search query
P. 1
SAP Testing & SAP Automation Testing

SAP Testing & SAP Automation Testing

Ratings: (0)|Views: 762|Likes:
Published by VGlobal Govi
SAP Testing, SAP, HP BPT, HP QC, QC, HP QTP,QTP,Testing, Manual Testing, SAP TAO, TAO
SAP Testing, SAP, HP BPT, HP QC, QC, HP QTP,QTP,Testing, Manual Testing, SAP TAO, TAO

More info:

Published by: VGlobal Govi on Sep 18, 2011
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





VLearn Technologies
Name: Govind Mail ID:
 Address: Namdev block, Plot No: 502, Prime Hospital Lane, Hyderabad Page 1
QTP 9.2 provides following features:
Mercury Screen Recorder:
Capture your entire run session in a movie clip or capture only the segments witherrors, and then view your movie from the Test Results window.
Dynamic Management of Object Repositories:
Quick Test now has a new
Repositories Collection
reserved object that yo
u canuse to programmatically manage the set of object repositories that are associated with anaction during a run session.
Object Repository Manager:
You can use the Object Repository Manager to manage all of the shared objectrepositories in your organization from one, central location. This includes adding anddefining objects, modifying objects and their descriptions, parameterize test objectproperty values, maintaining and organizing repositories, and importing and exportingrepositories in XML format.You can open multiple object repositories at the same time. Each objectrepository opens in its own resizable document window. This enables you to compare thecontent of the repositories, to copy or move objects from one object repository to another,and so forth.
Object Repository Merge Tool:
You can use the Object Repository Merge Tool to merge the objects from twoshared object repositories into a single shared object repository. You can also use theObject Repository Merge Tool to merge objects from the local object repository of one ormore actions or components into a shared object repository.When you merge objects from two source object repositories, the content iscopied to a new, target object repository, ensuring that the information in the sourcerepositories remains unchanged.If any conflicts occur during the merge, for example, if two objects have the samename and test object class, but different test object descriptions, the relevant objects arehighlighted in the source repositories, and the Resolution Options pane details theconflict and possible resolutions.
Multiple Object Repositories per Action or Component:
 Quick Test provides several options for storing and accessing test objects. Youcan store the test objects for each action or component in its corresponding local objectrepository, which is unique for each action and component. You can also store testobjects in one or more shared object repositories that can be used in multiple actions andcomponents. Alternatively, you can use a combination of objects from the local objectrepository and one or more shared object repositories. You choose the combination thatmatches your testing needs.
VLearn Technologies
Name: Govind Mail ID:
 Address: Namdev block, Plot No: 502, Prime Hospital Lane, Hyderabad Page 2
XML Object Repository Format:
Quick test now enables you to import and export object repositories from and toXML format. This enables you to modify object repositories using the XML editor of your choice and then import them back into Quick Test. You can import and export fileseither from and to the file system or a Quality Center project (if Quick Test is connectedto Quality Center).
Functions Library Editor:
 Quick Test now has a built-in function library editor, which enable
s you to createand edit function libraries containing VBScript functions, subroutines, modules, and soforth, and then call their functions from your test or component.
Handling Missing Actions and Resources:
 Whenever a testing document (test, component, or application area) contains aresource that cannot be found, Quick Test opens the Missing Resources pane and lists themissing resource(s). For example, a test may contain an action or a call to an action thatcannot be found; a testing document may use a shared object repository that cannot befound; or a testing document may use an object repository parameter that does not have adefault value. In all of these cases, Quick Test indicates this in the Missing Resourcespane, enabling you to map a missing resource to an existing one, or remove it from thetesting document, as required.
How can I check if a parameter exists in Data Table or not?
on error resume nextVal=DataTable ("ParamName", dtGlobalSheet)if err. number<> 0 then'Parameter does not existelse'Parameter existsend if 
How can I check if a checkpoint passes or not?
chk_PassFail = Browser (...).Page (...).WebEdit (...).Check (Checkpoint ("Check1"))if chk_PassFail thenMsgBox "Check Point passed"else MsgBox "Check Point failed"end if 
My test fails due to checkpoint failing, Can I validate a checkpoint without my testfailing due to checkpoint failure?
 Reporter. Filter = rfDisableAll 'Disables all the reporting stuff 
VLearn Technologies
Name: Govind Mail ID:
 Address: Namdev block, Plot No: 502, Prime Hospital Lane, Hyderabad Page 3
chk_PassFail = Browser (...).Page (...).WebEdit (...).Check (Checkpoint ("Check1"))Reporter. Filter = rfEnableAll 'Enable all the reporting stuff if chk_PassFail thenMsgBox "Check Point passed"elseMsgBox "Check Point failed"end if 
What is the difference between an Action and a function?
 Action is a thing specific to QTP while functions are a generic thing whi
ch is afeature of VB Scripting. Action can have an object repository associated with it while afunction can't. A function is just lines of code with some/none parameters and a singlereturn value while an action can have more than one output parameters.
Where to use function or action?
Well answer depends on the scenario. If you want to use the OR feature then youhave to go for Action only. If the functionality is not about any automation script i.e. afunction like getting a string between to specific characters, now this is something notspecific to QTP and can be done on pure VB Script, so this should be done in a functionand not an action. Code specific to QTP can also be put into a function using DP.Decision of using function/action depends on what any one would be comfortable usingin a given situation.
When to use a Recovery Scenario and when to us on error resume next?
 Recovery scenarios are used when you cannot predict at what step the error canoccur or when you know that error won't occur in your QTP script but could occur in theworld outside QTP, again the example would be "out of paper", as this error is caused byprinter device driver. "On error resume next" should be used when you know if an error isexpected and dont want to raise it, you may want to have different actions dependingupon the error that occurred. Use err.number & err.description to get more details aboutthe error.
How to use environment variable?
A simple definition could be... it is a variable which can be used across the reusableactions and is not limited to one reusable action.There are two types of environment variables:1. User-defined2. Built-inWe can retrieve the value of any environment variable. But we can set the value of only
environment variables.

Activity (17)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
eidqhaddad liked this
anjan01 liked this
raza_887 liked this
automationqtp123 liked this
rentala liked this
Jkjiwani Acca liked this
wildstag_ks liked this
Xiao-yun Wang liked this

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->