Skip to content

Instantly share code, notes, and snippets.

View ivlists's full-sized avatar

Vaibhav ivlists

  • Microsoft corporation
  • Bangalore
View GitHub Profile
Param
(
[Parameter(Mandatory=$true)]
[String]
$DownloadLocation
)
cls
# The script has been tested on Powershell 3.0
@ivlists
ivlists / Browserutility.cs
Last active December 17, 2015 10:59
Includes - A Number of useful functions and utilities to find WebElement effectively and reliably using selenium web driver for UI automation. ElementLocator : 1. FindElementSmart() - Which finds WebElement on web page intelligently using Multiple search criteria like by Xpath, Id, Name, ClassName, Value, LinkText, PartialLinkText etc. 2. Good e…
// --------------------------------------------------------------------------------------------------------------------
// <summary>
// @Description - browser class contains browser specific methods such as launching the browser
// and checking whether the browser is exist or not.
// @Author - Vaibhav
// @Date - 01 / 03 / 2012
// </summary>
// --------------------------------------------------------------------------------------------------------------------
namespace BVT.TestCases.Utilities
{
@ivlists
ivlists / Google Docs encryption
Last active July 17, 2017 21:00 — forked from vicmortelmans/gist:1391229
Blowfish encryption library implementation for Google app scripts (Precisely - Docs).
function escape(t)
{
var r='';
for(var i=0;i<t.length;i++){
var c=t.charCodeAt(i);
var t1=Math.floor(c/16);
var t2=c%16;
if (t1<10) t1+=48;
else t1+=55;
if (t2<10) t2+=48;