GPAL

Generally Positive Automation Library



#### Built using robust and dominant C# and .Net

GPAL is a readable fluent library based on a Unit of Work (UOW) paradigm. A UOW is one or more destinations (browser or application selectors) and one or more actions. Solutions are acheived by chaining of UOWs.

At it's heart, fluent programming is defined as method chaining. GPAL extends this paradigm to problem solving as well, reducing problems to simple UOWs that just work.

Writing GPAL programs is as simple as defining your selectors then writing the natural language like workflow. GPAL programs are easily readable and understandable by anyone.

    // GPAL will attempt to find the destination using the order of the selectors you define
    // sometimes more consistent results can be acheived using a different selector (dynamic websites)
    static Selector optionSelector1 = GPAL.Selector
        .WithCSS(@"#gh-cat > option:nth-child(26)")
        .WithXPath(@"//*[@id=""gh-cat""]/option[26]")
        //.WithJavascript   // use javascript to interact with this item
                            // javascript and selenium LOOK the same (the option is selected), but they are different
                            // selenium is the default
                            // hardware is a slightly different experience moving the mouse
        .WithHardware       // use hardware emulation to interact with this item, jumps mouse and hardware clicks
        //.WithSimulateMouse	// use this to move the mouse like a human, and hardware click (implies .WithHardware)
        .ToGPALObject();

    GPAL.Browser
        .WithBrowserType(BrowserType.FireFox)
        .WithDriverLocation(@"c:\drivers")
        .WithWaitOnDocumentReady(true)
        .GoTo("https://www.ebay.com/")      // Goto ebay
        .WithSelector(optionSelector1)      // with this menu item (GPAL knows it is in a menu)
        .LeftClick()                        // left click the menu item [Pottery & Glass]
        .Close(true);                       // true = close the browser and kill the driver

No special academy training, just about anyone can start writing GPAL bots.

  • Unique programming paradigm not seen in any other software simplifies everything
  • Changes the business model everyone is emulating (chasing UIPath)
  • Brings automation to more businesses/people
  • Is useable by the vast majority of talent because no special training academy is required
  • Is a sensible solution to everyday business automation needs
In This Article
Back to top Generated by DocFX