Home > Automation Testing > KATALON : Launch and Close different browser

KATALON : Launch and Close different browser

Using KATLON user can automate or run the script on below mentioned browsers

  1. Chrome (56)
  2. Firefox  (51)
  3. Safari 5.1 +
  4. Internet explorer
  5. EDGE

In order to record , run / Automate script in Internet Explorer need to perform below setting for Internet Explorer.

  1. Security level for all zones should be same under (Internet Properties -> Security)
  2. Enable “Enhanced Protected Mode” must be disabled. (Internet Properties ->Advanced tab)
  3. Set Zoom level to 100%
  4. Search for  FEATURE_BFCACHE subkey  at below mentioned location based on system requirement

    If Windows is 32-bit then key is at: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BFCACHE.

    If Windows is 64-bit then key is at: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BFCACHE. 

    If FEATURE_BFCACHE key is not available then create it and then inside this subkey  create a DWORD value named iexplore.exe with the value of 0.

Below code is to launch browser then open URL and Close the Browser.

 

To run above (KATALON) code on Edge browser , identify the correct build number by typing “winver” on command prompt.

Based on the build number download the respective web-driver available at this location and run the setup.

This Article is TAGGED in , , . BOOKMARK THE permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">