Forum Discussion

macheshmeh's avatar
macheshmeh
Contributor
3 years ago

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 

   

 

the object property of instance 2  

 

 

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?

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

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

     

    See Process Object 

  • 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's avatar
    rraghvani
    Champion Level 3

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

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

     

    See Process Object 

    • macheshmeh's avatar
      macheshmeh
      Contributor

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