System.InvalidOperationException in UFT

  • Questions
  • System.InvalidOperationException in UFT
Question ID: 106166
1
0

I’m having a weird thing happen in UFT. When I hit the backspace key it puts a "BS" highlighted in grey and the Save buttons stop working. When I restart UFT, I get the following error:

Exception of type: System.InvalidOperationException. Source: AvalonDock. Occured in Void RestoreLayout(System.Xml.XmlDocument) method
Exception message is: Layout file hasn’t a valid structure!

Please help! We can’t even use UFT now.

Marked as spam
Posted by (Questions: 338, Answers: 20)
Asked on July 9, 2015 3:30 pm
45 views
Answers (1)
1
Private answer

I've seen this happen before. Usually it happens after someone pops out a tab on the UFT IDE (like the Output, Active Screen, Data tabs at the bottom).

To fix it, in UFT, go to the View menu then click ''Reset Window Layout''.

Marked as spam
Posted by (Questions: 16, Answers: 748)
Answered on July 9, 2015 3:30 pm
That fixed it for us! Thanks.
( at July 9, 2015 3:31 pm)