Solved

Possibility of more than one separate browser sessions

  • 20 November 2023
  • 8 replies
  • 116 views

Userlevel 3
Badge +1

Is there a way of having more than one separate browser sessions in Tosca tests for conversation testing or agent-client session testing?

icon

Best answer by Shaik Afroz 1 December 2023, 08:22

View original

8 replies

Userlevel 3
Badge +2

Only with two different browser like Chrome for session 1 and Edge for session 2. Reason is that each browser will use a localhost TCP/IP port and they can’t be reused. 

Userlevel 2
Badge

Hi Nissan,

You may need to open one session with

chrome and another with Firefox or edge 

Thanks,

Harish 

Userlevel 3
Badge +1

Thank you for your replays.

Starting 2 browsers for sure is a good approach.
Then, after we start 2 browsers, how to switch between browsers (sessions) in the test run to send appropriate test-step commands to the proper session?

Badge

Is there a way of having more than one separate browser sessions in Tosca tests for conversation testing or agent-client session testing?

 

You can use same Testcase for first set of steps should run on chrome and then next set of steps should run on Edge.

 

Userlevel 3
Badge +2

Thank you for your replays.

Starting 2 browsers for sure is a good approach.
Then, after we start 2 browsers, how to switch between browsers (sessions) in the test run to send appropriate test-step commands to the proper session?

Browser are chosen in the test configuration. So you need to set up a test set with separate tests for each browser. 

Which will be quite a bit of work.

Userlevel 3
Badge +2

Is there a way of having more than one separate browser sessions in Tosca tests for conversation testing or agent-client session testing?

 

You can use same Testcase for first set of steps should run on chrome and then next set of steps should run on Edge.

How will that work as the browser is set in the test configuration and you can’t change the configuration within the test.

Badge

Is there a way of having more than one separate browser sessions in Tosca tests for conversation testing or agent-client session testing?

 

You can use same Testcase for first set of steps should run on chrome and then next set of steps should run on Edge.

How will that work as the browser is set in the test configuration and you can’t change the configuration within the test.

 

Please try the below steps as we can change the TCP using buffer from Teststep in Testcase.
 

 

Userlevel 3
Badge +2

Please try the below steps as we can change the TCP using buffer from Teststep in Testcase.

Using buffer to change the configuration. Interesting. Learned something new.

Reply