Ally's a QA

2007-Jun-5 - Notes of QuickTest Pro 8

Posted in My tools
  1. During playback, after modify the content in an editbox, the Save button is still grayed/disabled. A workaround for it is to click on other components like Check Box on the same page. e.g. Browser( ).Page( ).Frame( ).WebCheckBox( ).Click.
  2. Before test web UI, open Internet Options -> Advanced, enable "Display a notification about every script error".
  3. Bitmap checkpoint is too strict, hence too much false positive. Note that the bitmap screenshot may have an extra purple frame around it that needs to be removed. 
  4. Optional step allows QTP to skip some failed steps, instead of terminating the test.
  5. If the Debug menu is grayed/disabled, go to Windows Add/Remove Windows Components, and install Script Debugger.
  6. Test Batch Runner is a useful tool in QTP program package to run test cases in batch.
  7. To run external programs, use "SystemUtil.Run" function.
  8. Able to run DOS commands.
  9. Other programs can call the automation scripts created by QTP:

WScript /e: VBSCRIPT {path to the script}

          For more information, refer to QT Automation Object Model Reference -> Configure Settings for Running a Test.

    10.  To parameterize test data in script:

for n=1 to 3

......=database("{dataname}", "{datatable}")

datatable.SetNextRow

next

 

     11. Difference between GetTOProperty, GetTOProperties, and GetROProperty:

GetTOProperty:  property from test object description

GetTOProperties:  collection of properties and values used to identify object

GetROProperty:  current value of test object property

 


<- Last Page :: Next Page ->

About Me

Here I share my experiences and thoughts as a QA engineer, and a place to put my notes.

Search This Blog

Categories

My thinkings
My knowledge base
My tools

Links

Home
View my profile
Archives
Friends
Email Me

Friends

whollymindless
strazzerj
syed1982
mferris
ukkuru
michaeljf
agvasqa
priyabala
srini847
spikyone
naba123
Blog Widget by LinkWithin