Steps to reproduce:
1)From the attached in the internal description test, use the option Run To Here for step 18.
2) Element Item6Textboxview cannot be found. It is expected. Don't close the IE browser
3) Jump back to Test Studio
4) Right mouse click on the element = Item6Textboxview in Element Tree
5) Select 'Edit in Live'
6) The following error is thrown:
at
ArtOfTest.WebAii.Design.UI.FindElementModel.< LoadNode> b_O(KeyV
aluePair’2 n)
at System.Linq.Enumerable.Any[TSource]QEnumerable’1 source.
Func’2 predicate)
at
ArtOfTest.WebAii.Design.ULFindElementModel.LoadNode(ElementNod
e node)
at ArtOfTest.WebAii.Design.ULFindElementView.Load(ElementNode
node, Boolean showElement)
at ArtOfTest.WebAii.Design.Orchestrator.EditElement(ElementNode
node. Boolean showElement)
In the log file you can see the following exception:
Orchestrator.EditElement() : EXCEPTION! (see below)
Outer Exception Type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
HRESULT: 0x80004003 (Official ID (if app.) = E_POINTER, Error Bit = FAILED, Facility = FACILITY_NULL, Code = 16387)
Call Stack:
at ArtOfTest.WebAii.Design.UI.FindElementModel.<LoadNode>b__0(KeyValuePair`2 n)
at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)
at ArtOfTest.WebAii.Design.UI.FindElementModel.LoadNode(ElementNode node)
at ArtOfTest.WebAii.Design.UI.FindElementView.Load(ElementNode node, Boolean showElement)
at ArtOfTest.WebAii.Design.Orchestrator.EditElement(ElementNode node, Boolean showElement)
After this error, if you choose again Edit in Live, everything works as expected.