# Execute script in 2 different systems

**URL:** <https://club.ministryoftesting.com/t/execute-script-in-2-different-systems/62562>\
**Category:** Archive\
**Created:** [28 September 2022 11:52 UTC](https://club.ministryoftesting.com/t/execute-script-in-2-different-systems/62562 "2022-09-28T11:52:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rakesh3004](https://avatars.discourse-cdn.com/v4/letter/r/7bcc69/32.png) [@rakesh3004](https://club.ministryoftesting.com/u/rakesh3004)\
**Post date:** [28 September 2022 11:52 UTC](https://club.ministryoftesting.com/t/execute-script-in-2-different-systems/62562/1 "2022-09-28T11:52:07Z")

</div>

Hi,

I have a requirement.

E.g.: Step1: Login User in Chrome-System1  
Step2: Login User in Chrome-System2

So, I will have one script and once I trigger the **step1 need to be executed in System1 Chrome** Browser\*\* and **step2 need to be executed on System2 Chrome browser**.Is there any tool which supports this kind of requirement?

Thanks,  
Rakesh

---

<div class="post-metadata">

**Author:** ![eason](https://sea2.discourse-cdn.com/flex020/user_avatar/club.ministryoftesting.com/eason/32/10791_2.png) [@eason](https://club.ministryoftesting.com/u/eason)\
**Post date:** [28 September 2022 12:10 UTC](https://club.ministryoftesting.com/t/execute-script-in-2-different-systems/62562/2 "2022-09-28T12:10:15Z")

</div>

You can use Selenium Grid.

Register the browsers of the two systems to the grid for management and running

---

<div class="post-metadata">

**Author:** ![vishaldutt](https://avatars.discourse-cdn.com/v4/letter/v/5f9b8f/32.png) [@vishaldutt](https://club.ministryoftesting.com/u/vishaldutt)\
**Post date:** [16 November 2022 05:04 UTC](https://club.ministryoftesting.com/t/execute-script-in-2-different-systems/62562/3 "2022-11-16T05:04:43Z")

</div>

Hi,

My project had a similar requirement for salesforce quality assurance. I agree Selenium Grid is a good option for your requirement as well. Lets say you have 2 systems(System A and System B).  
Using selenium standalone you can set System A as master and run two slave nodes on System A and System B. These nodes will connect to master hub on system A. For rest of the part I recommend you edit your code to make 2 test cases of it. Both can be run in parallel or sequential later.

---

<div class="post-metadata">

**Author:** ![conrad.connected](https://sea2.discourse-cdn.com/flex020/user_avatar/club.ministryoftesting.com/conrad.connected/32/10123_2.png) [@conrad.connected](https://club.ministryoftesting.com/u/conrad.connected)\
**Post date:** [16 November 2022 08:29 UTC](https://club.ministryoftesting.com/t/execute-script-in-2-different-systems/62562/4 "2022-11-16T08:29:31Z")

</div>

What is the use case/scenario if you remove “Chrome”, since chrome is actually not a real world “use case”. Why would you really want to do that on 2 different systems? What platform are we talking here, and what do we mean by “login” because that’s totally different to “authenticating”, and you can do that on one machine twice for the same effect surely?

Sorry if this reply sounds like another question, because nothing so far constitutes a test scenario.

Finally, welcome to the MOT Test community. We test everything here, even the testers, it’s a kind of initiation thing, actually maybe it’s not. Welcome once again.

---

<div class="post-metadata">

**Author:** ![sebastian\_solidwork](https://sea2.discourse-cdn.com/flex020/user_avatar/club.ministryoftesting.com/sebastian_solidwork/32/11076_2.png) [@sebastian\_solidwork](https://club.ministryoftesting.com/u/sebastian_solidwork)\
**Post date:** [16 November 2022 10:36 UTC](https://club.ministryoftesting.com/t/execute-script-in-2-different-systems/62562/5 "2022-11-16T10:36:56Z")

</div>

In addition: Would it maybe sufficient to work with different Browsers or Browser session on the same system?  
Do you need to log-in 2 users in parallel so that you have concurrent sessions?
