Popular posts from this blog
Cyclomatic complexity
Cyclomatic complexity is a software metric (measurement). It was developed by Thomas McCabe and is used to measure the complexity of a program. It directly measures the number of linearly independent paths through a program's source code. It is computed using a graph that describes the control flow of the program. The nodes of the graph correspond to the commands of a program. A directed edge connects two nodes if the second command might be executed immediately after the first command. Definition M = E − N + 2P where M = cyclomatic complexity E = the number of edges of the graph N = the number of nodes of the graph P = the number of connected components. "M" is alternatively defined to be one larger than the number of decision points (if/case-statements, while-statements, etc) in a module (function, procedure, chart node, etc.), or more generally a system. Separate subroutines are treated as being independent, disconnected components of the program's control flo...
Appium Configuration with Visual studio for selenium C# development
Prerequisites: 1. Visual Studio Ultimate (2010 or above) (Because MSTest is present in that) 2. Android SDK For Windows (Download Link) (Website link) 3. Appium For Windows (Website Link) (Download Link) 4. A Real Android Device running Android 4.2 or Above 5. A USB Cable to attach your Android Phone to Your PC. 6. ADB Interface Drivers for your device (Link on how to get that ) (very important Step) Some Configurations for Android SDK and Appium: • When you have installed Android SDK, go to My Computer, right click, click Properties, click Advanced System Settings, and click Environment Variables. • Create a new User Variable with the name “ANDROID_HOME”. Give path to your sdk folder in the value. The default path is C:\Program Files (x86)\Android\android-sdk • Edit the PATH variable in “System Variable” Section. Append the path to your tools folder and platform-tools folder. Separated with “;” The paths are C:\Program Files (x86)\Android\android-sdk\tools C:\Program Files (x...
Comments