博文
(2011-06-22 11:03:34)
ProgrammingOperationsProgrammingStatementsOverviewProgrammingstatementscancontain:
Testobjectoperations.ThesearemethodsandpropertiesdefinedbyQuickTest.Theycanbeoperationsthatausercanperformonanobject,operationsthatcanretrieveorsetinformation,oroperationsthatperformoperationstriggeredbyanevent.
Nativeoperations.Thesearemethodsandpropertiesdefinedwithintheobjectyouaretesting,andthereforearer...[阅读全文]
阅读 ()评论 (0)
(2011-06-20 13:19:22)
RunningandAnalyzingTestsRunPreferences
QuickTestalwaysrunsatestfromthefirststep,unlessyouspecifyotherwise.Youcan:
➤Runtheentiretestfromthebeginning.
➤RunonlyapartofatestusingtheRunfromStep,RunfromAction,RuntoSteporRuntoActionoptions.
DebugasectionofatestusingtheDebugfromsteporDebugfromActionoption.
RunaniterationofasingleactionusingtheRunCurrentActionoption.
R...[阅读全文]
阅读 ()评论 (0)
(2011-06-16 13:05:28)
OutputValuesOutputValuesOverview
QuickTestenablesyoutoretrievevaluesinyourtestandstoretheminoutputvalueobjects.Anoutputvaluestepisastepinwhichoneormorevaluesarecapturedataspecificpointinyourtestandstoredforthedurationoftherunsession.Thevaluescanlaterbeusedasinputatadifferentpointintherunsession.Youcanoutputthepropertyvaluesofanyobject.Youcanalsooutputvaluesfromtextstrings,tablecells,databases,...[阅读全文]
阅读 ()评论 (0)
(2011-06-15 12:33:42)
DataTablePane
DataTableOverview
QuickTestenablesyoutoinsertandrunstepsthataredrivenbydatastoredinthedatatable.Thedatayourtestusesisstoredinthedesign-timedatatable,whichisdisplayedintheDataTablepane.ThedatatablehasthecharacteristicsofaMicrosoftExcelspreadsheet,enablingyoutostoreandusedatainitscellsandalsoperformmathematicalformulaswithinthecells.YoucanusetheDataTable,DTSheetandDTParameterut...[阅读全文]
阅读 ()评论 (0)
(2011-06-13 12:58:00)
Browser("Mercury").Page("ListOfSales").WebEdit("Soldto").
SetParameter("SoldToCode")
Browser("Mercury").Page("ListOfSales").WebEdit("Materials").
SetParameter("MaterialCode")
Browser("Mercury").Page("ListOfSales").WebButton("Enter").Click
NumTableRows=Browser("Mercury").Page("ListOfSales").
WebTable("Orders").RowCount
Parameter("TotalValue")=Browser("Mercury").Page("Lis...[阅读全文]
阅读 ()评论 (0)
(2011-06-10 12:48:19)
http://www.softwaretestinggenius.com/articalDetails.php?qry=969[阅读全文]
阅读 ()评论 (0)
(2011-06-08 10:51:39)
ActionandTestIterationsUsingtheDataTable
Whenyouusethedatatabletooutputavalueortoaddaparametertoyourtestoraction,youcanspecifywhethertostorethedataintheGlobaldatasheetorintheactiondatasheet.
Globalsheet.Enablesyoutodefineparametersforanyaction.Whenyourunyourtest,QuickTestinsertsoroutputsavaluefromortothecurrentrowoftheGlobaldatasheetduringeachglobaliteration.Thisenablesyoutopassinformation...[阅读全文]
阅读 ()评论 (0)
(2011-06-03 13:04:34)
CheckpointsOverview
Acheckpointisaverificationthatcomparesthecurrentvalueforspecifiedpropertiesorcurrentstateofothercharacteristicsofanobjectwiththeexpectedvalueorcharacteristics.Thishelpsyoutoidentifywhetheryourapplicationisfunctioningcorrectly.
Whenyouaddacheckpoint,QTPaddsaCheckCheckPointstatementintheExpertView.
QuickTestenablesyoutoreuseexistingcheckpoints.Ifeachpageofyourapplicat...[阅读全文]
阅读 ()评论 (0)
(2011-06-02 13:12:11)
ActionsActionshelpdivideyourtestintologicalunits.Atestcomprisescallstoactions.Whenyoucreateanewtest,itcontainsa
calltoasingleaction.Bycreatingteststhatcallmultipleactions,youcandesignteststhataremoremodularandefficient.Anactionconsistsofitsowntestscript,includingallofthestepsinthataction,andanyobjectsinitslocalobjectrepository.Actionsshould
ideallycontainnomorethanafewdozenteststeps.
Y...[阅读全文]
阅读 ()评论 (0)
(2011-06-02 07:53:26)
ihgckocigna1
TheKeywordViewenablesyoutocreateandviewthestepsofyourtestina
modular,table-likeformat.YoucanusetheKeywordViewtoaddnewstepstoyourtestandtoviewand
modifyexistingsteps.TypesofStepstoAddtoYourTest:Youcaninsertthefollowingtypesofstepsusingtherelevantoptionsfrom
theInsertmenu.Astandardstatementstep.Acheckpointstep.Anoutputvaluestep.Comments.Astepthatusesprogramminglogic.Step...[阅读全文]
阅读 ()评论 (1)
[1]
[2]
[3]
[4]
[首页]
[尾页]