Setup Selenium Webdriver Project in Visual Studio with C#

You can write your Selenium scripts in C#. It is one of mostly using programming language for Selenium tests. As an IDE, Visual Studio(VS) is the best environment for .net products. You can setup a Selenium running project from scratch by following steps: 1. Create a C# project in Visual Studio: Selenium First 2. Install… Read More »

Selenium Mobile Test Automation Script in Python with Appium

You can automate your Android testcases by Python language and use Appium. to do that, first start Appium server and run following code: # -*- coding: UTF-8 -*- import unittest from appium import webdriver class TestClass(unittest.TestCase):     @classmethod     def setUpClass(self):         desired_caps = {}         desired_caps[‘platformName’] = ‘Android’         desired_caps[‘platformVersion’] = ‘4.4.2’         desired_caps[‘deviceName’]… Read More »

Different Between close() and quit() Functions in Selenium Webdriver

In Selenium, after you start a browser(by Webdriver object) you need to close it. For this purposes there are two methods. close() and quit() What is different between them? İ see most example with close() and someone with quit(). Actually, they are almost similar and destroy web browser objects. Only different is: close() destroy current… Read More »