Friday, 17 July 2015

Visual Studio .Net Webdriver

Create a new visual studio project
     follow this from menu :   templates -- c#  --   Test --  Unit Project


You should see that below



Add selenium references to project

                         


build project 



and run it   :)





Tuesday, 16 June 2015

SOAP UI TestRunner

 import com.eviware.soapui.tools.SoapUITestCaseRunner;  
 public class SoapUIRunner {  
   private final static String SOAP_PROJECT_XML = "/src/resources/test-soapui-project_convert1.xml";  
   public void testRunner() throws Exception  
   {  
     SoapUITestCaseRunner runner = new SoapUITestCaseRunner();  
     runner.setProjectFile(SOAP_PROJECT_XML);  
     runner.run();  
   }  
 }  

Monday, 18 May 2015

Appium Set Mac System Variables



Go to  terminal 
 - touch ~/.bash_profile
~/.bash_profile

Set the Java and Android SDK paths
Add the following paths into the file:

- export JAVA_HOME=path/to/the/java/home
- export ANDROID_HOME=path/to/the/android/sdk
- export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools

Monday, 11 May 2015

simulator list


 >  xcrun simctl list  


Appium Problem

If you get below error message :

 info: [debug] Error: Could not find a device to launch. You requested 'iPhone 6 (0249BE06-CD62-4873-ABBD-10849C84C13D) (8.1 Simulator)', but the available devices were: ["iPhone 6 (8.1 Simulator) [0249BE06-CD62-4873-ABBD-10849C84C13D]"]

Solution :

Appium GUI from in list "'iPhone 6 (0249BE06-CD62-4873-ABBD-10849C84C13D) (8.1 Simulator)" remove all text except "iPhone 6" and try again.

Saturday, 24 January 2015

Webdriver - System Properties





   
















webdriver usage:


           System.setProperty("webdriver.chrome.driver", "D:\\chromedriver_win32_2.3\\chromedriver.exe");  
           WebDriver driver = new ChromeDriver();  
           driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);  
           driver.get("http://www.google.com");