Coder Social home page Coder Social logo

seriousqa / ranorex-methods-libraries Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 25 KB

The most important and useful C# methods for SETUP/TEARDOWN autotests in Ranorex IDE.

License: MIT License

C# 100.00%
lib ranorex ranorex-studio setup teardown

ranorex-methods-libraries's Introduction

Ranorex-Methods-Libraries

The libraries contain the most important and useful C# methods for creating autotests in Ranorex IDE.

Requirements:

  • Windows
  • Ranorex Studio

SETUPlib is a SETUP code collection and includes:

  • FirstOpenApp() to run 32-bit or 64-bit application;
  • REGdelete() to delete from the registry the key for application;
  • RMDIR() to remove such traces of a test program like \Documents, \Roaming and s.o.;
  • StartDialogCreateNewProject() to start a test product and create a new project in it (as GUI method example);
  • OpenProjectStartDialog() to open a specific project in test product (as GUI method example);
  • ResizeWindow() to resize a window to actually monitor resolution;
  • DeleteFilesFromDIR() to remove from \FolderResult all files created during the test run;
  • CheckDamp() to send a dump with a comment (as GUI method example);
  • CreateFolderResult() to create a ResultFolder for each test product.

SetKeyboardLayout TestModule is using to change Windows OS keyboard layout using C#. For example, U.S. English layout = "00010409", German layout = "00010407", Russian layout = "00010419". More Info from MSDN.

TheFirstRun TestModule is using to run 32-bit or 64-bit test application and resize window.

StartPopupWatcher TestModule is using to start a PopupWatcher to handle dialogs that can possibly come up during test run.

TEARDOWNlib is a TEARDOWN code collection and includes:

  • CloseApp() to find and kill process of test product;
  • CleanupFolderResult() to delete a ResultFolder for each test product;
  • CloseProjectWindow() to close the test product (as GUI method example);
  • CloseInstancesApp() to close all instances of application;
  • KillProcessTree() to kill a process tree and all children using taskkill;
  • KillProcessAndChildren() to kill a process and all children using ManagementObjectSearcher.

ranorex-methods-libraries's People

Contributors

seriousqa avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.