Skip to content

Instantly share code, notes, and snippets.

View devashish2203's full-sized avatar

Devashish Chandra devashish2203

View GitHub Profile
@devashish2203
devashish2203 / BaseScreen.swift
Last active December 12, 2018 01:59
Page Object Model for UITests in Swift
//
// BaseScreen.swift
//
//
// This serves as the Superclass of all other Screens that need to be created.
import Foundation
import XCTest
class BaseScreen {
@devashish2203
devashish2203 / testFilters.py
Last active February 18, 2016 05:55
Simple Filter Tests on babaJobs.com
# This demonstrates using selenium to automate testing of applying filters on the babajobs.com website.
# The functions apart from the actual test functions can easily be moved to a seperate file to avoid clutter here.
# The reusable nature of the helper functions makes it very easy to author cases to test various combinations of filters very easily.
# The below tests can be easily run using the nosetests framework.
# Nostests - https://nose.readthedocs.org/en/latest/
# Install nosetests via pip install nose
# The tests can be run then via the command nosetests -s from the folder containing this file