# Test Execution : Running Katalon scripts in same browser with different version

**URL:** <https://forum.katalon.com/t/test-execution-running-katalon-scripts-in-same-browser-with-different-version/11089>\
**Category:** Miscellaneous\
**Created:** [May 22, 2018, 12:45pm UTC](https://forum.katalon.com/t/test-execution-running-katalon-scripts-in-same-browser-with-different-version/11089 "2018-05-22T12:45:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Logesh](https://avatars.discourse-cdn.com/v4/letter/l/57b2e6/32.png) [@Logesh](https://forum.katalon.com/u/Logesh)\
**Post date:** [May 22, 2018, 12:45pm UTC](https://forum.katalon.com/t/test-execution-running-katalon-scripts-in-same-browser-with-different-version/11089/1 "2018-05-22T12:45:09Z")

</div>

_Hi, Can we run Katalon scripts in same browser with different versions.  
Say i have two different google chrome versions installed (v66, v65), i wanted to run Testcase1 in v66 and Testcase 2 in v65.  
kindly help._

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [May 23, 2018, 2:33am UTC](https://forum.katalon.com/t/test-execution-running-katalon-scripts-in-same-browser-with-different-version/11089/2 "2018-05-23T02:33:23Z")

</div>

I can show you how.

I have made a demo project at:

> **[kazurayam/KatalonDiscussion6944](https://github.com/kazurayam/KatalonDiscussion6944)**
>
> Contribute to kazurayam/KatalonDiscussion6944 development by creating an account on GitHub.

Especially the following Test Case script show you how to:

> <https://github.com/kazurayam/KatalonDiscussion6944/blob/master/Scripts/TC1/Script1527037412367.groovy>

I would quote the sample test case here. PLS read the comments.

```auto
import static com.kms.katalon.core.testobject.ObjectRepository.findTestObject
import org.openqa.selenium.WebDriver
import org.openqa.selenium.chrome.ChromeDriver
import org.openqa.selenium.chrome.ChromeOptions
import com.kms.katalon.core.webui.driver.DriverFactory
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI
System.setProperty('webdriver.chrome.driver', "C:/Katalon_Studio_Windows_64-5.4.1/configuration/resources/drivers/chromedriver_win32/chromedriver.exe")
System.setProperty('webdriver.chrome.logfile', 'C:/temp/chromedriver_TC1.log')
//def chromeBinaryPath = 'C:/Program Files (x86)/Google/Chrome/Application/chrome.exe' // ver: latest( 66.0.3359.181)
def chromeBinaryPath = 'C:/Users/username/AppData/Local/Google/Chrome/_Application_/new_chrome.exe' // ver: 65.0.3325.146
// see http://chromedriver.chromium.org/capabilities
ChromeOptions options = new ChromeOptions()
options.setBinary(new File(chromeBinaryPath))
// open Chrome browser specifying the location of chrome binary
WebDriver driver = new ChromeDriver(options)
// let Katalon Studio use the Chrome browser activated by this script
DriverFactory.changeWebDriver(driver)
WebUI.comment(">>> opened Chrome browser at ${chromeBinaryPath}")
// execute some steps
WebUI.navigateToUrl('http://demoaut.katalon.com')
WebUI.verifyElementPresent(findTestObject('Page_CURA Healthcare Service/a_Make Appointment'), 20)
// close the browser
WebUI.closeBrowser()

```

---

<div class="post-metadata">

**Author:** ![Logesh](https://avatars.discourse-cdn.com/v4/letter/l/57b2e6/32.png) [@Logesh](https://forum.katalon.com/u/Logesh)\
**Post date:** [May 23, 2018, 1:26pm UTC](https://forum.katalon.com/t/test-execution-running-katalon-scripts-in-same-browser-with-different-version/11089/3 "2018-05-23T13:26:34Z")

</div>

Hi [Kazurayam](http://forum.katalon.com/profile/4280/kazurayam),

Thank you for your quick suggestion. 🙂  
It was working fine.

Regards,  
Conor
