Hi,
I need to test my application in both chrome and chrom beta…Is tat possible to run in chrome beta..If so, How we can do it in Chrome beta
@Elly_Tran @kazurayam @dineshh
Thanks In Advance
Hi,
I need to test my application in both chrome and chrom beta…Is tat possible to run in chrome beta..If so, How we can do it in Chrome beta
@Elly_Tran @kazurayam @dineshh
Thanks In Advance
Yes. You can test your application with the “Chrome for Testing” of the stable version and the beta version.
First, you should read the following article by the Chrome developer team to understand why you should prefer “Chrome for Testing” to the ordinary Chrome browser.
Second, you should visit the following URL where you would find the exact version numbers of the stable and the beta
Third, read my previous instruction how to setup your Katalon project to choose and apply the versions of “Chrome for Testing” as you want:
Please note that my instruction introduces a Groovy Enum that holds the paths of mulitple versions of Chrome for Testing that you prepared on your machine:
This enum makes it possible to keep multiple (two, three, four, …) versions of Chrome for Testing on your machine and easily choose one for each test execution.
A sample Test Case script looks as this:
import org.openqa.selenium.WebDriver
import com.kazurayam.ks.driver.chrome4testing.ChromeForTestingDriverFactory
import com.kazurayam.ks.driver.chrome4testing.Installation
import com.kms.katalon.core.webui.driver.DriverFactory
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI
// specify the path information of browser and driver binaries
ChromeForTestingDriverFactory df =
new ChromeForTestingDriverFactory(Installation.mac_116_0_5793_0_mac_x64)
// open a window of "Chrome for Testing"
WebDriver driver = df.newChromeForTestingDriver()
// tell Katalon Studio to use this WebDriver instance so that the WebUI keyword can work with it
DriverFactory.changeWebDriver(driver)
// your ordinary katalon life begins here
WebUI.navigateToUrl("http://demoaut.katalon.com/")
WebUI.delay(3)
WebUI.closeBrowser()
If you want to switch to another version, you just want to rewrite a single line:
...
ChromeForTestingDriverFactory df =
new ChromeForTestingDriverFactory(Installation.mac_121_0_6167_184_mac_x64)
// new ChromeForTestingDriverFactory(Installation.mac_116_0_5793_0_mac_x64)
...
Similar topic here:
In there I proposed an idea how Katalon Studio should support Chrome for Testing:
I suppose, @vasanthi.j would like this idea.
A basic question: Chrome (branded) browser and Chrome for Testing — are these two the same or different?
Recently I learned that these are not the same. See the following issue of the SeleniumBase project:
If @vasanthi.j wants to perform his/her test using the beta of Chrome (branded) browser, then my suggestion (employ Chrome for Testing for testing beta) is not appropriate.