Visual Studio is a development tool, not sure why you would want to automate this?
Launching two instances of Notepad, TC can distinguish between the two via it's Index property value.
Same applies to VS,
Our software has two parts - a Runtime part but also an SDK part for development. It integrates with Visual Studio to build and debug applications for our Runtime, so part of our testing cycle is using Visual Studio to debug applications in various ways, which we're trying now to automate.
So how would you use the index property to distinguish between instances in a Keyword test? Or is this only applicable to scripts?
- rraghvani8 months agoChampion Level 3
Create a name mapping for the two instances, and include the Index property value. If there's a unique property vale between the two instances, that can be used too. You can then access this object via scripts or keyword tests.
- cameronh8 months agoNew Contributor
That's a good suggestion, thanks. However, that does mean if we open 5 instances of an application we need to make 5 duplicate copies of the same name mapping tree for the application, with the only difference being the ordinal number of the top element. There's not a cleaner way, is there?
- rraghvani8 months agoChampion Level 3
Not making duplicates of the name mapping with different properties, how will TC distinguish between the two? You need something that uniquely identifies the object, and in this example, it's the Index property value.
Related Content
- 6 years ago