How to give value to (‘BG_USER_TEMPLATE_06’ and ‘BG_USER_TEMPLATE_03’) using OTA in Macros
♥ 0 |
I have used the below code for uploading defects automatically using macros, here I am getting error in environment field and test type field while running. I have given the values which are already populated in ALM eventhough it is not accepting those values. Dim Bug As BugFactory Dim Bug1 As Bug Set BugF = TDConn.BugFactory Set Bug1 = Bug.Additem(NULL) Bug1.Field("BG_SUMMARY") = "Testing Purpose" Bug1.Field("BG_RESPONSIBLE") = "113456" Bug1.Field("BG_SEVERITY") = "3 – Medium" Bug1.Field("BG_PRIORITY") = "2 – High" Bug1.Field("BG_USER_TEMPLATE_07") = "01 – Requirement Testing" **Bug1.Field("BG_USER_TEMPLATE_06") = "Static Testing" -(Test Type field) Bug1.Field("BG_USER_TEMPLATE_03") = "ACT4" -(Environment field)** Bug1.Field("BG_USER_USER_01") = "2 Testing Query" Bug1.Field("BG_DETECTED_IN_REL") = "Template Release" Bug1.Post
Marked as spam
|