Capture Error Screen Shots
If error pop up comes during execution then how will you capture the error screen shot and where it is stored?
Latest Answer: Use Desktop.CaptureBitmap to capture the screenshotSample codeDesktop.CaptureBitmap "C:TempStep1.png" ...
Based of Ordinal Identifiers
When ordinal identifiers alone can make an object unique then why they are not given top priority? Why it is first mandatory and next assitive. Why we cannot go for ordinal identifiers directly?
I belive Location and Index will be recognized based on screen co-ordinates. So when you run the same script on different location and index my differ. At the same time if the object are having the child objects it will give the sam location id. So when you run the script it may get fail some times.
Connect QTP with QC
OTAClient.dll should register
1. Go to Start -> Run.
2. Enter regedit to bring up your registry.
3. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Mercury Interactive\OTA
4. Check the value of CacheFolder ,by default it is %temp%\TD_80 .Access the Cache location , right click and check the permissions .The folder should have full permissions .
5.Also try creating a new folder and edit the CacheFolder location to it .
so after you have point the new folder to the cache folder do the following steps
Start > Run
regsvr32 -u "C:\Program Files\Common Files\Mercury Interactive\Quality Center\OTAClient.dll"
regsvr32 "C:\Program Files\Common Files\Mercury Interactive\Quality Center\OTAClient.dll"
QTP Regular Expression
What is the significance of regular expression in QTP?
Showing posts with label QTP FAQ. Show all posts
Showing posts with label QTP FAQ. Show all posts
Friday
QTP - Thing to know , things of practical learning, small things but worth to spent time with
This post will update whenever I will find anything new/Intresting or just to remember or to know (n FAQ) :
Q1. what is OTA API in QC
The Open Test Architecture API is a COM library that enables you to:
nintegrate external applications with Quality Center
ninteract with the Quality Center application without having to use the GUI front-end
ninteract with the QC databases bypassing DBA
More Info: connectedtesting.com/Presentations/QC%20OTA%20presentation.ppt
Subscribe to:
Posts (Atom)