I just started exploring VSTS, as my company want to migrate from QTP. Currently we are using Key-word driven framework with QTP. So I was wondering if we have any option to do something like descriptive programing what we do in QTP to identify object dynamically... and also is it possible to convert Coded UI Tests to an executable file so that any one can run them on their machines with out having VS installed on their machines.
I been using VSTS Coded UI tests for several months now, our company has been using QTP for several years before that, I am converting our tests over.
UITestControl objects have SearchProperties, these can be changed at runtime, to search for a different object than what was recorded, serving similar purpose as descriptive programming in QTP. Unlike DP you can still use the rest of the recorded object. Also unlike DP you cannot use regular expressions, only simplers "contains" type search properties.
Coded UI tests are built as a DLL, if you really want separate EXE you would have to build that yourself probably. It is not necessary though to have Visual Studio on every machine, you can just install Test Agent, it is a free download, just have Visual Studio on the machines you are developing your tests on.
To realize that you do not understand is a virtue; Not to realize that you do not understand is a DEFECT.
--- Lao Tzu