Saturday, 22 October 2016

Open Chrome and Internet Explorer in RobotFramework



1. Download the chromedriver.exe from  http://www.seleniumhq.org/download/

2. Extract the zip file and copy chromedriver.exe in folder C:\Python27\Scripts



3.  
 *** Settings ***
Library       Selenium2Library
*** Test Cases ***

Open Application in Chrome  
    #keyword  arguments
     Open Browser    http://myurl.com  chrome
           

***Keywords***

----------------------------Opening  Application under test in Internet Explorer (IE)--------------------------

(Need to repeat same as above)

1. Download Internet Explorer Driver Server from http://www.seleniumhq.org/download/


2.Extract the zip file and copy Internet Explorer Driver server in C:\Python27\Scripts

3.

*** Settings ***
Library       Selenium2Library
*** Test Cases ***

Open Application in ie (Internet Explorer)  
    #keyword  arguments
     Open Browser    http://myurl  ie
           

***Keywords***





No comments:

Post a Comment