Not reachable element can be clicked (during a msg errorbox)
Posted: Fri Feb 11, 2011 3:03 pm
In our application errors will be displayed in a message box. For example if you try to save a record with the same content, you get a message box which allows you only to click on the "OK"-Button of this message box at this moment. Other actions are not possible in this situation.
In my test recording I defined a click on the breadcrump and a validation on the text of the element with the name of the street (sdfBST_Strassenname). This two actions take place after saving the record.
As the expected error appears in the message box, now ranorex will try to continue the following test steps:
1. clicking on the BreadCrumb (element = BreadCrumb_0) and
2. validating the text of the element 'sdfBST_Strassenname'
In both cases ranorex studio execute this 2 test steps without an error reporting. In case of the text validation i can imagine how it works, but in case of the mouse click it doens't make sense: The element (BreadCrumb_0) is visible but not reachable for a user at this moment. There should be an error reported in the ranorex rxlog-File.
Please watch the last 5 steps after the saving step ('IsagClient.Global.Buttons.pbSpeichern') in the attached rxlog-File..
Using Ranorex Version 2.3.8.10854, our application is written with C# with Visual Studio 2010 and WPF.
In my test recording I defined a click on the breadcrump and a validation on the text of the element with the name of the street (sdfBST_Strassenname). This two actions take place after saving the record.
As the expected error appears in the message box, now ranorex will try to continue the following test steps:
1. clicking on the BreadCrumb (element = BreadCrumb_0) and
2. validating the text of the element 'sdfBST_Strassenname'
In both cases ranorex studio execute this 2 test steps without an error reporting. In case of the text validation i can imagine how it works, but in case of the mouse click it doens't make sense: The element (BreadCrumb_0) is visible but not reachable for a user at this moment. There should be an error reported in the ranorex rxlog-File.
Please watch the last 5 steps after the saving step ('IsagClient.Global.Buttons.pbSpeichern') in the attached rxlog-File..
Using Ranorex Version 2.3.8.10854, our application is written with C# with Visual Studio 2010 and WPF.