Contributions
Count the number of instances
Hey, I'm trying to find a way to count the number of instances of an application without throwing an error. Part of my check is to launch a second instance, and verify that the application detects another instance running, and alerts the user. I don't want to stop testing when using Sys.Process("name", 2).Exists(). Is there a place where I can safely (without an error) count the number of instances for manual validation? Do I need to do this externally? Thanks!Solved927Views0likes4CommentsRe: Recording tests creates duplicate browser mapping
I believe I had tried this before with no success, but I tried it again and it worked, so perhaps some combination of an update and this change. The reason I identified the browser more clearly in the mapping is because I have two versions of MS Edge on my machine, and I need to ensure the tests that I'm running against are using the correct version of Edge. I think I had originally put the version in the mapping as well, and removed it while trying to figure this issue out.1.1KViews1like0CommentsRe: Recording tests creates duplicate browser mapping
This is happening on the same machine using the same browser each time (MS Edge) Here's the original mapped browser Here's the duplicate created when recording tests: Here's the properties of the original mapped browser: Here's the properties for the duplicate mapped browser:1.1KViews0likes2CommentsRecording tests creates duplicate browser mapping
When I go to record a script test, the browser that I'm using is mapped again, and then it proceeds to map all of the objects that I have already mapped. Running my tests uses the first mapping of my browser perfectly, I don't know why it's doing this, but it's ruining my name mapping.Solved1.2KViews1like5Comments