Hello
I'm having troubles entering text into DevExpress TextBoxes (using DevExpress 7.3.10):
I tried the following:
1. using KitId as a Ranorex.Text type:
Repository.Instance.Editor.Information.KitId.Focus();
Repository.Instance.Editor.Information.KitId.TextValue = lysisKitId;
Then I get the following exception
System.NotImplementedException: The method or operation is not implemented.
at Ranorex.Plugin.WinFormsFlavorElement.SetPropertyValueInternal(String propertyName, Object value)
at Ranorex.Plugin.WinFormsFlavorElement.SetAttributeValue(Element element, String name, Object value)
at Ranorex.Core.Element.SetAttributeValue(String name, Object value)
Ranorex.SetAttributeFailedException: Setting attribute 'text' failed on element '{Text:_maskBox}'.
at Ranorex.Core.Element.SetAttributeValue(String name, Object value)
at Ranorex.Text.set_TextValue(String value)
at Roche.Mip.Automation.MainForm.MainForm.EnterRunInformation(String mwpId, String reagentKitId, String lysisKitId, Int32 samples) in MainForm.cs: line 106
at Roche.Mip.Automation.PerformRunTest.StartMip() in PerformRunTest.cs: line 45
2. Using KitId as a Ranorex.Element type
Repository.Instance.SampleEditor.Information.KitId.Element.Focus();
Keyboard.Press(id);
It focuses the text box, but the keyboard input is not entered into the text box.
I attached the partial Snapshot from Ranorex Spy. The field I use is: Container "Test Information".Element 'editMwpId'
Am I doing wrong something?
There are always 2 text elements under the "Element editMwpId" node in the spy. I'm never sure which one to use.
Thanks for your reply
Regards
Philipp Dolder