Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
406f82f
Changes to Travis settings to allow installation dependent on Python …
HelioGuilherme66 Dec 31, 2015
5077108
Transformed print statement into function. Compatible with Python 2.6.
HelioGuilherme66 Jan 1, 2016
b4b4fde
Fixes import to be compatible with RobotFramework 3.0.
HelioGuilherme66 Jan 1, 2016
fb2f937
Separates imports per line, for better code readability.
HelioGuilherme66 Jan 1, 2016
bb41477
In `except` uses `as` instead of `,` when capturing the exception.
HelioGuilherme66 Jan 1, 2016
e9107e0
With this commit Selenium2Library is compatible with RobotFramework 3.0
HelioGuilherme66 Jan 2, 2016
640b426
Adds 'future' dependency and information to install it.
HelioGuilherme66 Jan 12, 2016
11f98ba
Removes dependency in setup.py.
HelioGuilherme66 Jan 14, 2016
8e95b3f
Adapt to correct Python version.
HelioGuilherme66 Jan 19, 2016
f6f4203
Fixes testserver with Python3.4. All files are now opened in mode, 'rb'.
HelioGuilherme66 Jan 19, 2016
2f5f508
Add GitHub process files.
HelioGuilherme66 Mar 12, 2016
4b98230
Merge pull request #5 from HelioGuilherme66/gitdocs
HelioGuilherme66 Mar 12, 2016
e48a1bc
Update CONTRIBUTING.md
HelioGuilherme66 Mar 12, 2016
240105c
Update ISSUE_TEMPLATE.md
HelioGuilherme66 Mar 12, 2016
2a4e551
Upgrades Travis firefox to latest-esr.
HelioGuilherme66 Apr 28, 2016
b8a263e
Fixes test run in Fedora.
HelioGuilherme66 Apr 28, 2016
42a6bbf
Keep selenium==2.52.0 in Travis.
HelioGuilherme66 Apr 28, 2016
1a2a14f
Fixes ez_setup.py. Changes version to 1.8.0b2.
HelioGuilherme66 Apr 28, 2016
46a7cb1
Merge pull request #10 from HelioGuilherme66/fix_unselect
HelioGuilherme66 Apr 29, 2016
9bd62e6
Removes selenium version dependency, current version is 2.53.2.
HelioGuilherme66 Apr 29, 2016
7c2f87d
Merge branch 'master' of https://github.com/robotframework/Selenium2L…
HelioGuilherme66 May 5, 2016
b8c786a
Merge branch 'master' of https://github.com/robotframework/Selenium2L…
HelioGuilherme66 May 5, 2016
2e7783b
Merge branch 'master' of https://github.com/robotframework/Selenium2L…
HelioGuilherme66 Jun 11, 2016
43077f1
Merge pull request #7 from HelioGuilherme66/master
HelioGuilherme66 Jun 23, 2016
9f34ada
Add GitHub process files.
HelioGuilherme66 Mar 12, 2016
935308f
Merge branch 'master' into code_futurized
HelioGuilherme66 Jul 14, 2016
4c14e7f
Merge branch 'master' of https://github.com/robotframework/Selenium2L…
HelioGuilherme66 Aug 10, 2016
a55238b
Merge branch 'master' into code_futurized
HelioGuilherme66 Aug 10, 2016
962a04a
Libdoc updates - link to project and fix 404 (#668)
ombre42 Oct 9, 2016
161f43c
Changes to use Firefox ESR (45.4.0)
HelioGuilherme66 Oct 14, 2016
d3073aa
Changes to use Selenium 2.53.6 (and not 3.0)
HelioGuilherme66 Oct 14, 2016
0959c19
Added method to find element by class name #673 (#674)
Gaurang033 Oct 14, 2016
29f6f6e
Updated Travis config.
HelioGuilherme66 Oct 14, 2016
c8217c7
Now calls run_unit_tests.py file instead of the method (this fixes fa…
HelioGuilherme66 Sep 17, 2016
a834dfa
Merges some latest changes from master.
HelioGuilherme66 Nov 26, 2016
42e2ee4
Attempt to fix run_tests on Windows.
HelioGuilherme66 Nov 28, 2016
7a8605a
Merge branch 'master' of github.com:HelioGuilherme66/robotframework-s…
HelioGuilherme66 Dec 3, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@ language: python
sudo: false
python:
- "2.7"
- "3.4"
install:
#- pip install pep8 --use-mirrors
#- pip install pyflakes --use-mirrors
- pip install robotframework
- pip install selenium==2.53.6
- pip install decorator
- pip install mockito
- pip install robotframework
- pip install selenium==2.53.6
- pip install decorator
- pip install docutils
- pip install future
- pip install mockito
#- "if [[ ${BROWSER} == 'ie' ]]; then pip install ie_only_pkg; fi"
before_script:
- "export DISPLAY=:99.0"
Expand Down
52 changes: 52 additions & 0 deletions ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
## Prerequisites

- [ ] I have searched for similar issues in both open and closed tickets and cannot find a duplicate
- [ ] The issue still exists against the latest `master` branch of Selenium2Library
- [ ] This is not a usage question (Those should be directed to the
[google groups](http://groups.google.com/group/robotframework-users/) or
[slack chat](https://robotframework-slack.herokuapp.com/))
- [ ] I have attempted to find the simplest possible steps to reproduce the issue
- [ ] I have included a failing test as a pull request (Optional)

## Steps to reproduce the issue

1. _
2. _
3. _

## Expected behavior and actual behavior

When I follow those steps, I see...

I was expecting...

## Environment

Browsers

- [ ] Internet Explorer (version: )
- [ ] Google Chrome (version: )
- [ ] Mozilla Firefox (version: )
- [ ] Opera (version: )
- [ ] PhantomJS (version: )
- [ ] Safari (Mac OS X) (version: )

Operating System

- [ ] Windows (version: )
- [ ] Mac OS X (version: )
- [ ] Linux (version: distro: )

Libraries

- Robot Framework version:
- Selenium version:
- Selenium2Library ([x] Python or [ ] Jython) version:

## Isolating and demonstrating the problem

- [ ] This bug happens when testing a public site: [example](http://example.org/)
- [ ] The bug happens consistently across all tested browsers
- [ ] The Robot Framework Test file or snippet is attached or
at [some public site](http://pastebin.com/)
- [ ] The Test was called from: [ ] Local machine [ ] Remote Automation (Jenkins CI)
14 changes: 14 additions & 0 deletions PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
This pull request includes a

- [ ] An improvement
- [ ] Bug fix
- [ ] New feature


The following changes were made

-
-
-

If this is related to an existing ticket, include a link to it as well.
25 changes: 15 additions & 10 deletions build_dist.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#!/usr/bin/env python

import os, sys, shutil, subprocess, argparse
from __future__ import print_function
import os
import sys
import shutil
import subprocess
import argparse

THIS_DIR = os.path.dirname(os.path.abspath(__file__))
DIST_DIR = os.path.join(THIS_DIR, "dist")
Expand All @@ -9,9 +14,9 @@
sys.path.append(os.path.join(THIS_DIR, "demo"))

def main():
parser = argparse.ArgumentParser(description="Builds a Se2Lib distribution")
parser.add_argument('py_26_path', action='store', help='Python 2.6 executbale file path')
parser.add_argument('py_27_path', action='store', help='Python 2.7 executbale file path')
parser = argparse.ArgumentParser(description="Builds a Selenium2Library distribution")
parser.add_argument('py_26_path', action='store', help='Python 2.6 executable file path')
parser.add_argument('py_27_path', action='store', help='Python 2.7 executable file path')
parser.add_argument('--release', action='store_true')
parser.add_argument('--winonly', action='store_true')
args = parser.parse_args()
Expand All @@ -33,15 +38,15 @@ def clear_dist_folder():

def run_doc_gen():
import generate
print
print()
generate.main()

def run_register(args):
if args.release:
_run_setup(args.py_27_path, "register", [], False)

def run_builds(args):
print
print()
if not args.winonly:
_run_setup(args.py_27_path, "sdist", [ "--formats=gztar,zip" ], args.release)
_run_setup(args.py_26_path, "bdist_egg", [], args.release)
Expand All @@ -50,12 +55,12 @@ def run_builds(args):
_run_setup(args.py_27_path, "bdist_wininst", [ "--plat-name=win32" ], args.release)
_run_setup(args.py_27_path, "bdist_wininst", [ "--plat-name=win-amd64" ], args.release)
else:
print
print()
print("Windows binary installers cannot be built on this platform!")

def run_demo_packaging():
import package
print
print()
package.main()

def _run_setup(py_path, type, params, upload):
Expand All @@ -66,8 +71,8 @@ def _run_setup(py_path, type, params, upload):
if upload:
setup_args.append("upload")

print
print("Running: %s" % ' '.join(setup_args))
print()
print("Running: {0}".format(' '.join(setup_args)))
returncode = subprocess.call(setup_args)
if returncode != 0:
print("Error running setup.py")
Expand Down
Loading