Forum Discussion
thanks for explanation on the Find method...
You say you have used it (although not usable because it was unusably slow), to find changes in the GUI, but what if (for example) a control was removed from a particular screen in the UI? If you use the find method you fail to find it, but would that give you enough safety that the control was indeed moved? Or maybe the find method has not been given enough time to search for the control?
Do you see what I mean?
mgroen2 wrote:thanks for explanation on the Find method...
You say you have used it (although not usable because it was unusably slow), to find changes in the GUI, but what if (for example) a control was removed from a particular screen in the UI? If you use the find method you fail to find it, but would that give you enough safety that the control was indeed moved? Or maybe the find method has not been given enough time to search for the control?
Do you see what I mean?
mgroen2 The Find method would tell you if the control is no longer on the page (by testing the Exists method of the stub object returned) and any test steps which reference the control would need to be removed (after root cause analysis) to determine if, in fact, it should have been removed. Communication is VERY poor among our team and I seldom get advanced notice of such things. There are half a dozen places where we've use Extended Find when the control is located in differing places within the hierarchy based on external conditions.
- mgroen29 years agoSuper Contributor
william_roe OK, thanks for clarification.