AnsweredAssumed Answered

Close Multiple Browser Sessions Created with Sub-Process in Selenium Test Case

Question asked by anpanday on Nov 17, 2015
Latest reply on Nov 17, 2015 by kunch03

Hi Everyone,

We have a requirement to run test case with multiple test data. With 1 row in a data-set, test case is running fine but with multiple rows, browser is caching and login functionality fails. So, to overcome this we saw a solution to create a sub-process for Login functionality in below threads :

 

https://communities.ca.com/thread/241740875

https://communities.ca.com/message/241803381#241803381

 

and we were able to run with multiple data rows. But when we are running with multiple rows in a data-set, the browser sessions created by sub-process don't  close and we have to close those manually.

 

Is there a way in LISA that we can use to close the browser once flow is complete for 1st data set row and subsequently for the remaining data set rows.

 

I tried using Selenium builder Close parameter(under Navigation) which that didn't work, example of the code generated by Selenium builder for close function.

 

{

     type : "Close"

}

 

Please let me know in case you need more information.

 

Thanks,

Ankush

Outcomes