Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP Script to add defect in ALM
#1
Not Solved
I want a QTP script to add defect in ALM. I have found the below script
Code:
Set TDConnection = CreateObject(”TDApiOle.TDConnection”)
TDConnection.InitConnection “http://yovav/tdbin” ‘ DB URL
TDConnection.ConnectProject “TD76″,”bella”,”pino” ‘ Valid login information
If TDConnection.Connected Then
MsgBox(”Connected to ” + chr (13) + “Server ” + TDConnection.ServerName _+ chr (13) +”Project ” + TDConnection.ProjectName )
Else
MsgBox(”Not Connected”)
End If

‘Get the IBugFactory
Set BugFactory = TDConnection.BugFactory
‘Add a new empty bug
Set Bug = BugFactory.AddItem (Nothing)
‘fill the bug with relevant parametersBug.Status = “New”
Bug.Summary = “Connecting to TD”
Bug.Priority = “4-Very High” ‘ depends on the DB
Bug.AssignedTo = “admin” ‘ user that must exist in the DB’s users list
Bug.DetectedBy = “admin” ‘ user that must exist in the DB’s users list
‘Post the bug to DB ( commit )
Bug.Post


But there are many other mandatory fields in the new version(11.52).
When i tried to give the other fields(sub project ID, Application Name..etc,.) using thier names, iam getting an error.

Please give the key words which i have to use for other fields.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  adding atachment to QC (ALM) - overwrite psova 1 4,533 02-07-2023, 03:18 PM
Last Post: RachapudiSaiSowmya
  Is it possible to execute Remote Agent witout ALM? CharlieMadrid 0 1,241 05-12-2020, 01:26 PM
Last Post: CharlieMadrid
  ALM execution status Update patilnagarjuna92 1 3,153 03-18-2019, 08:09 PM
Last Post: Gurusamy
  VB Script access denied error when executing alm scripts in planned host Kumar Reshma 0 1,573 05-28-2018, 04:04 PM
Last Post: Kumar Reshma
  ALM OTA Queries hrishikesh 1 1,654 05-24-2018, 09:53 PM
Last Post: Ankur

Forum Jump:


Users browsing this thread: 1 Guest(s)