Ask a Question

Running 2 Instances on Same Machine?

SOLVED
macheshmeh
Contributor

Running 2 Instances on Same Machine?

Hi All!

 

We are in need of running 2 instances of our app at the same time on SAME MACHINE - to simulate a multi-user situation.

 

User1 - Would start the app - and start a create an event by clicking a button and add some information

User2 - Would start the app - and open the event that was created with the user1 and modify the information on it 

User1- try to delete some information but one pop up shows another user is working on it  

 

how can distingue these two applications? and two form of event 

the object property of instance 1 

macheshmeh_0-1668024366397.png   

 

the object property of instance 2  

macheshmeh_1-1668024418265.png

 

 

i saw Solved: Running 2 Instances on Same Machine? - SmartBear Community   but in object browser i see just one application

 

Is there a proper way to do this?

3 REPLIES 3
macheshmeh
Contributor

every time that i open it id change 

if i use

id1 = getPropertyValue(object.id)

id2 = getPropertyValue(object.id)

how can i ask to click on object with id 1 ?

rraghvani
Champion Level 2

I have two instances of Notepad running, and using TC, I can distinguish between the two using the properties highlighted.

rraghvani_0-1668077851055.png

You should be able to do the same for your application.

 

See Process Object 

thanks , it works very well , and finally i used the index 

cancel
Showing results for 
Search instead for 
Did you mean: