Monday, April 13, 2009

QTP Reference snapshot (Short Cuts)

Please use the below link for QTP Quick Referece for QTP easy usage.

URL:

http://automatedchaos.googlepages.com/QTPquickreferencecardv1.1a.pdf

Wednesday, April 8, 2009

Configure Quick Test Pro Views and Panes at Run time

We can Configure test pane view (ExpertView or KeywordView), Debug View, Data Table, Active Screen and we can maximize QTP Window with the below code.

Dim QTPApp
' Create Object for QTP application
Set QTPApp = CreateObject("QuickTest.Application")

' Launch QuickTest
QTPApp.Launch

' Display the Expert View
QTPApp.ActivateView "ExpertView"

' Display the Active Screen pane
QTPApp.ShowPaneScreen "ActiveScreen", True

' Displaye the Data Table pane
QTPApp.ShowPaneScreen "DataTable", True

' Display the Debug Viewer pane
QTPApp.ShowPaneScreen "DebugViewer", True

' Maximize the QTP Window
QTPApp.WindowState = "Maximized"

'Display the QTP Window
QTPApp.Visible = True ' Make the QuickTest window visible

wait(5)
' Release the Object
Set QTPApp = Nothing

Tuesday, April 7, 2009

HP QTP (Quick Test Pro) and HP QC (Quality Center) Examination details

Please find the details below for HP Certified Professional Certification.

First book slot in any Prometric Center and take the examinations at that slot allocated time.

HP Quality Center 9.2 (QC 9.2) Exam details:-

Exam Code : HP0-M15
Number of Questions: 90 (all Multiple Choice Questions)
Exam Duration : 3 Hours
Pass Percentage : 70 %
Fees : $ 60

Please find More details in the below URL
ftp://ftp.hp.com/pub/hpcp/epgs/HP0-M15_EPG.pdf

HP Quick Test Professional 9.2 (QTP 9.2) Exam details:-

Exam Code : HP0-M16
Number of Questions: 58 (all Multiple Choice Questions)
Exam Duration : 2 Hours
Pass Percentage : 70 %
Fees : $ 60

Please find More details in the below URL
ftp://ftp.hp.com/pub/hpcp/epgs/HP0-M16_EPG.pdf

Monday, April 6, 2009

Find Number of Actions in a Test


We can find cout of actions in open QTP test with the below code
.
' Create the Application object

Set QTPApp = CreateObject("QuickTest.Application")

ActionCount=QTPApp.Test.Actions.count
Msbgox "Number of Actions : " & ActionCount

we can open QTP script and find the no of actions with the below code.

' Create the Application object
Set QTPApp = CreateObject("QuickTest.Application")
' Launch QuickTest
QTPApp.Launch
' Set QuickTest to be visible

QTPAppVisible = True

' Open a test

QTPApp.Open "C:\Test1", False, False
msgbox QTPApp.Test.Actions.count