GermaniumLibrary
Project description
RobotFramework bindings for Germanium.
Installation
pip install robotframework-germaniumlibrary
Keyword List
use selenium browser
open browser
close browser
maximize window
click
double click
hover
right click
go to
type keys
type keys in
drag and drop
select by index
select by text
select by value
deselect by index
deselect by text
deselect by value
select file
assert exists
assert missing
Sample Standalone Usage (recommended)
*** Settings ***
Library GermaniumLibrary
*** Test Cases ***
This is a simple test case
Open Browser chrome
Maximize Window
Go To https://germaniumhq.com
Click Link("Log In")
Assert Exists Input().right_of(Text("Email"))
Type Keys In Input().right_of(Text("Email")) someuser
Close Browser
Usage With SeleniumLibrary
To use the browser from selenium, instruct Germanium to use it after you instantiate it using the Use Selenium Browser keyword.
*** Settings ***
Library SeleniumLibrary
Library GermaniumLibrary
*** Test Cases ***
This is a test case to show usage with the SeleniumLibrary
SeleniumLibrary.Open Browser https://germaniumhq.com chrome
GermaniumLibrary.Use Selenium Browser
GermaniumLibrary.Maximize Window
GermaniumLibrary.Click Link("Log In")
GermaniumLibrary.Type Keys In Input().right_of(Text("Email")) someuser
GermaniumLibrary.Assert Exists Input()
GermaniumLibrary.Assert Missing Text("eeee")
SeleniumLibrary.Close Browser
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file robotframework_germaniumlibrary-1.0.1.tar.gz
.
File metadata
- Download URL: robotframework_germaniumlibrary-1.0.1.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff51d310de93325f269bb6d43296367d57ff7255886b8f1e0aeb47613231f7c5 |
|
MD5 | f093717d9d5c753c6ad6ce43384c09aa |
|
BLAKE2b-256 | 2e1214c1c696f625ad0540b2755c2bf7f91bf975ab5d4e2c01233c16d3b30507 |