The script is for creating work tickets. The information shows up exactly where it's supposed to and clicks the Save button as it's supposed to; however, the ticketing system comes back with an error and shows the name and status field empty, as if it's not taking the information. Here's the error: "AHD03075:Required attribute Affected End User is missing from object Request." The ticketing system is called CA Service Desk Manager, and it's through IE. Can anyone point me in the direction of how to rectify this? Here's my code:
Code: Select all
!3::
wb := IEGet("New CA Service Desk Manager window loading...")
Newframe := ComObj(9,ComObjQuery(wb.document.getElementById("cai_main").contentWindow,"{332C4427-26CB-11D0-B483-00C04FD90119}","{332C4427-26CB-11D0-B483-00C04FD90119}"),1)
Newframe.document.getelementsbyname("customer_combo_name")[1].value := "My name" ;Inputs my name
Newframe.document.getelementbyId("df_0_3").selectedIndex := 13 ;Sets status
Newframe.document.getelementsbyname("SET.description")[1].value := "lea-ws160d138w1.v15.med.va.gov`nMS14-012: Cumulative Security Update for Internet Explorer (2925418)" ;Sets description
Newframe.document.getElementById("imgBtn0").click() ;Clicks Save
return