How to update element
Posted: Mon Jul 02, 2012 12:46 pm
Hi,
during runtime of a test I get a text element by using the RxPath (I've got from Spy). On this element I perform a edit action then I want to read out the new value of the element (property Text). When I do this on the same object I will always read out the old value before modification.
As a workaround I call Host.Local.TryFindSingle one more time, store the result in the object and check the values. This I have to do several times (editing and checking outer and inner boundaries).
Could you please help me and tell me if there is any possibility to update the object I have stored instead of calling TryFindSingle again?
Thank you very much for your help in advance.
Best regards
Marco
during runtime of a test I get a text element by using the RxPath (I've got from Spy). On this element I perform a edit action then I want to read out the new value of the element (property Text). When I do this on the same object I will always read out the old value before modification.
As a workaround I call Host.Local.TryFindSingle one more time, store the result in the object and check the values. This I have to do several times (editing and checking outer and inner boundaries).
Could you please help me and tell me if there is any possibility to update the object I have stored instead of calling TryFindSingle again?
Thank you very much for your help in advance.
Best regards
Marco