| || |
Recording on Quality Centre using QTP
I wanted to record and playback on the Quality centre browser and retrive all the Domain and project visible or accessible to a user. I want to do this by creating a script in QTP. I have changed my QTP settings so that it can record on Quality Centre. But my problem is that QTP recognises every control in QC as "Winobject". What i want to do is
1) By script i want to enter the username and password in the Quality Centre
2) Retrive the list of Domain and Project for the user and store the same in the Datatable.
Can anyone help me in this? I have searched the forum for similar post but could not find it. Do we have to add any additional add-in.
Re: Recording on Quality Centre using QTP
in this case you should use the API of QC as part of your script.
in the help file are some examples available like this for getting all available projects after login:
Public Sub ListProjects()
Dim Project As Variant
Dim msg As String
On Error GoTo ListProjectsErrorHandler
msg = "Projects for this connection:"
'tdc is the global TDConnection object.
For Each Project In tdc.ProjectsList
msg = msg & vbCrLf & Project
de omnibus dubitandum
For all Questions: Please be sure to take a look at the QTP Manual before posting any Questions, thanks for doing this