mardi 18 septembre 2018

UFT/QTP System.InvalidCastException Error

Need some help please. I am trying to execute a UFT test via a vb script through a jenkins pipeline. The test executes and runs fine 3/4 times, on the instance where it doesn't run I get the below warning errors which require the user to press continue to run the test.

"Exception of type: System.InvalidCastException. Source: Northwoods.GoWPF. 
Occured in System.Collections.Generic.IEnumerable`1[System.Object] 
an(System.Object) method
Exception message is: Unable to cast object of type 'Northwoods.GoXam.Group' HP.Utt.Controls.FlowCanvas.FlowCanvas.FlowCanvasItem`1[HP.QTP.BackEndServices.Q tpItemsIfs.IActionCallGraph]"

"Exception of type: System.Windows.Media.Animation.AnimationException. 
Source: PresentationCore. Occured in Void 
OnCurrentTimeInvalidated(System.Object, System.EventArgs) method
Exception message is: Cannot animate the 'Location' property on a 
'System.Windows.Controls.Grid' using a 
'System.Windows.Media.Animation.PointAnimation'. For details see the inner 
exception."

Any help would be much appreciated!!

Aucun commentaire:

Enregistrer un commentaire