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,
- cameronh9 months agoNew Contributor
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?
- rraghvani9 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.
- cameronh9 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?
Related Content
- 15 years ago