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");  



Tuesday, 16 December 2014

White Box Test List

  • Availability Testing
  • Baseline testing
  • Compatibility testing
  • Compliance testing
  • Configuration Testing
  • Documentation testing
  • Endurance testing
  • Ergonomics Testing
  • Interoperability Testing
  • Installation Testing
  • Load testing
  • Localization testing and Internationalization testing
  • Maintainability Testing
  • Operational Readiness Testing
  • Performance testing
  • Recovery testing
  • Reliability Testing
  • Resilience testing
  • Security testing
  • Scalability testing
  • Stress testing
  • Usability testing
  • Volume testing

Sunday, 14 December 2014

Cyclomatic Complexity

  • This metric was developed by Thomas J. McCabe in 1976 and it is based on a control flow representation of the program.  For the original paper here . Edges represent control flow between the nodes.




  •  One more thing on cyclomatic complexity. Occasionally, you might hear
    someone argue that the actual formula for McCabe’s cyclomatic complexity is
    C = E - N + P
    whereas we list it as
    C = E - N + 2P

    E = Edge
    N = Nodes