Sunday, 23 October 2016

Installing Robot framework in eclipse



1. Open Eclipse ----> Help ------>Eclipse Market Place

2. Search for 'RED' and Install.

Once you install verify the installation go to eclipse----->Windows ---->Preferences


3. Now create new project.

     File ---> New----> Project  (Name your project )









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***





Wednesday, 19 October 2016

Appium Setup on Windows

Appium Setup on windows:



1. Donwload  android sdk and add Path
 Set ANDROID_HOME - C:\Program Files (x86)\Android\android-sdk
Path ;C:\Program Files (x86)\Android\android-sdk\tools;
        C:\Program Files (x86)\Android\android-sdk\platform-tools

2. Node.js-Install (Set Path C:\Program Files\nodejs\)
3. Appium-Install
4..Net Framework -4.5 -Install
5.PDANET.co on Desktop- On windows machine (For USB Conncting)
6. PDANET for Android on mobile side(For USB Connecting)
7. JDK 1.6 or later
8. Eclipse with Android Development Kit
9. Appium Java-Client Library Download and add in project
10 Selenium Jar download and add in Library
11.In Mobile Developer Option Enable

Wednesday, 12 October 2016

Robot Framework Set Up on windows

Robot Framework set up on Windows


1.       Down load Pythopn 2.7 from Python website (RobotFramework does not support Python 3.0)
and install it will install on your C:\Python27
                2. Update path environment variable like "C:\Python27; C:\Python27\Scripts;
                3. Check Python installation and path settings with
                                Open CMD type >python --version
                4. Install Robotframewok (pip application automatically while python installation)
                                Command prompt :> pip install robotframework
                5. Verify the robotframwork installation
                                Commantprompt>pybot --version
                6. Now time to install selenium2library
                                Command prompt> pip install robotframework-selenium2library
                7 Now install Selenium Liabrary
                                Command prompt >pip install -U selenium
                8. Install Robot Framework IDE (RIDE) -Code writing RIDE not support Python 3.0
                               
                                 a) To install RIDE one can use pip command too
                                                Command prompt >pip install robotframwork-ride
                                 b)           Open webpage wxpython.org
                                                Install wxpython 2.8.12.1 - 
http://sourceforge.net/projects/wxpython/files/wxPython/2.8.12.1/
                                                Go to download page and download package 32 or 64 according to your operating system