Posts

Showing posts from 2017

Thoughts on QA : Hybrid and Native Apps ?

Thoughts on QA : Hybrid and Native Apps ? :

Thoughts on QA : Appium execution on real devices USB /WiFi

Thoughts on QA : Appium execution on real devices USB /WiFi :

Thoughts on QA : How to Setup a Hub,Node and parallel execution for...

Thoughts on QA : How to Setup a Hub,Node and parallel execution for... : How to Setup a Hub and Node for Selenium Grid Selenium Grid allows us to execute our tests in multiple machines (physical / virtual) and...

How to Setup a Hub,Node and parallel execution for Selenium Grid

Image
How to Setup a Hub and Node for Selenium Grid Selenium Grid allows us to execute our tests in multiple machines (physical / virtual) and multiple browsers with different versions, which dramatically speeds up test execution and helps in reducing total amount of time required for test execution. For example , if we have a script that takes 100 minutes to execute sequentially , we could break that down to 10 short tests script run across 10 machines, and can complete them in 10 minutes without copying your test code to the other machine. A grid consists of a single hub, and one or more nodes, Hub and Node are the two main elements that you come across when using grid. Download selenium grid and selenium server. Hub   the Hub is the central point which will receive all the test requests along with information on which browser, platform (i.e. WINDOWS, LINUX, etc) and where the test should be run. Based on the request received, it will distribute them to the registered nodes.

Appium execution on real devices USB /WiFi

1       Execution on real devices using USB - Assume all the below Prerequisites are installed and configured :- 1. JDK should be installed 2. Android should be installed and path should be setup in your machine 3. Appium should be installed. 4. Configure Device with Developer Mode option enabled In order to   run Appium test cases on real devices, we need to connect real android device to PC by enabling USB debugging mode.To test on a real device or on on a simulator, we need SDK to be installed on your machine. Appium will take the advantage of the SDK to connect to the real device connected via USB or simulator. First Enable Developer Option, To enable Developer Option in android device, Click on Settings and find out ‘About Phone’ option. Follow below steps – Step 1   : Click on About Phone option Step 2   : Click on Version Information Step 3   : Now you will find an option called ‘Build Number’. Step 4   : Keep clicking Build number option for seven

Download and validate file using webdriver,wget

Image
Downloading Files WebDriver has no capability to access the Download dialog boxes  presented by browsers when you click on a download link or button. However, we can bypass these dialog boxes using a separate program called "wget". What is Wget? Wget is a small and easy-to-use command-line program used to automate downloads . Basically, we will access Wget from our WebDriver script to perform the download process.   Setting up Wget Step 1 In your C Drive, create a new folder and name it as "Wget". Download wget.exe  here  and place it in the Wget folder you created from the step above. Step 2 Bring up the System Properties window by pressing Win + Pause on your keyboard. Click on "Advanced System Settings" Click on the "Environment Variables". Step 3 In the Environment Variables dialog box, in the "System variables" section, scroll down the list until you find "