This question is locked. New answers and comments are not allowed.
Guys,
I'm just starting out with the Studio, and seeing if it's a good fit for what we want to do....so far so so (REALLY dislike the code that's generated when using the recorder, and having issues with having to hit re-configure on a regular basis when we swap out Silverlight apps, but I digress).
The problem is that I have a page with an Html Input textbox - txtCode. Since it's in a container, it's "actual" id is _ctl0_txtCode as we'd expect. The control has some keypress javascript handlers added, but other than that is completly standard.
When I fire up the recorder and navigate to the page, I'm able to identify and click on an image next to the text box, and then in the steps section of the recorder it all seems to be OK. If I then re-run the tests, everything is fine - the image is found correctly. However the same is not happening with the textbox - I can correctly identify it and set up a condition in the recorder using quick steps, but when I come to re-run, it fails with "the given key was not present in the dictionary" exception.
I've attempted to edit the stp (again in the VS plugin), and can correctly navigate to the cotrol in the DOM tree, clicking the "Highlight in dom tree" correctly highlights the element, but as soon as I attempt to validate the step, same exception.
Any ideas?
I'm just starting out with the Studio, and seeing if it's a good fit for what we want to do....so far so so (REALLY dislike the code that's generated when using the recorder, and having issues with having to hit re-configure on a regular basis when we swap out Silverlight apps, but I digress).
The problem is that I have a page with an Html Input textbox - txtCode. Since it's in a container, it's "actual" id is _ctl0_txtCode as we'd expect. The control has some keypress javascript handlers added, but other than that is completly standard.
When I fire up the recorder and navigate to the page, I'm able to identify and click on an image next to the text box, and then in the steps section of the recorder it all seems to be OK. If I then re-run the tests, everything is fine - the image is found correctly. However the same is not happening with the textbox - I can correctly identify it and set up a condition in the recorder using quick steps, but when I come to re-run, it fails with "the given key was not present in the dictionary" exception.
I've attempted to edit the stp (again in the VS plugin), and can correctly navigate to the cotrol in the DOM tree, clicking the "Highlight in dom tree" correctly highlights the element, but as soon as I attempt to validate the step, same exception.
Any ideas?