This question is locked. New answers and comments are not allowed.
Okay, I know the first thing you are thinking, this is not a function of the design canvas. Well that is precisely my problem, so I have to open up something for discussion. Firstly, let me explain my ideal situation:
All controls have an Automation ID by which I can reference the control and access all pertinent information regarding the control and fluidly execute functions of the control. Apparently, this would be more of a manual approach to the testing.
The current situation with using the WebUI Studio product is that it assumes many things. It assumes that data in drop downs (as well as sort order, and in some cases, order of controls on the page) will not change. I recently found this to be the case regarding trying to drive the combo box selection by a data source (not allowed) and or identify a selection by name somehow rather than it's index. There appeared to be a setting to identify combo box selection by text but when I looked in the Elements Explorer after recording with this mode enabled, it was still being found by its index.
And now for some questions; Am I aiming for too lofty of a goal to assume that we will be able to create some framework that will enable us to make reasonably resilient tests that will not break when data changes? Is it possible to drive a combo box with data either through manual code without knowing the index of the list item and only the text? I would like to not have to make another test in order to change up combo box selection changes. I hope it doesn't seem like I am trying to knock the testing framework, I just really need to get a hold on some sort of reality that tells me where I am going to get the best return on investment for our automation efforts. It has been readily evident that our team is trying to use the framework in ways that have not been demanded by others, and that leads me to question my approach. Are we automating too early? I can honestly tell you that at the current stage of our project, I have little faith that the tests recorded will work for long if we depend on the assumptions earlier mentioned. If you could please offer your opinions and suggestions I would greatly appreciate it. Thank you.
All controls have an Automation ID by which I can reference the control and access all pertinent information regarding the control and fluidly execute functions of the control. Apparently, this would be more of a manual approach to the testing.
The current situation with using the WebUI Studio product is that it assumes many things. It assumes that data in drop downs (as well as sort order, and in some cases, order of controls on the page) will not change. I recently found this to be the case regarding trying to drive the combo box selection by a data source (not allowed) and or identify a selection by name somehow rather than it's index. There appeared to be a setting to identify combo box selection by text but when I looked in the Elements Explorer after recording with this mode enabled, it was still being found by its index.
And now for some questions; Am I aiming for too lofty of a goal to assume that we will be able to create some framework that will enable us to make reasonably resilient tests that will not break when data changes? Is it possible to drive a combo box with data either through manual code without knowing the index of the list item and only the text? I would like to not have to make another test in order to change up combo box selection changes. I hope it doesn't seem like I am trying to knock the testing framework, I just really need to get a hold on some sort of reality that tells me where I am going to get the best return on investment for our automation efforts. It has been readily evident that our team is trying to use the framework in ways that have not been demanded by others, and that leads me to question my approach. Are we automating too early? I can honestly tell you that at the current stage of our project, I have little faith that the tests recorded will work for long if we depend on the assumptions earlier mentioned. If you could please offer your opinions and suggestions I would greatly appreciate it. Thank you.