Question

Possibility of more than one separate browser sessions

  • 20 November 2023
  • 6 replies
  • 50 views

Badge

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


6 replies

Badge

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 

Badge

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?

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.

 

Badge

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.

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.

Reply