Skip to content

Commit

Permalink
Add new img TIR
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilson08 committed Sep 22, 2020
1 parent b072bea commit 8124705
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 48 deletions.
9 changes: 0 additions & 9 deletions doc_files/source/apw.rst

This file was deleted.

9 changes: 0 additions & 9 deletions doc_files/source/apw_internal.rst

This file was deleted.

2 changes: 1 addition & 1 deletion doc_files/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
# The short X.Y version
version = ''
# The full version, including alpha/beta/rc tags
release = '1.0.0'
release = '1.17.3'


# -- General configuration ---------------------------------------------------
Expand Down
9 changes: 0 additions & 9 deletions doc_files/source/config.rst

This file was deleted.

Binary file added doc_files/source/img/CompletoCor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 5 additions & 9 deletions doc_files/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,22 @@
TOTVS Interface Robot
=====================
.. image:: img/completoCor.png
:width: 800

.. toctree::
:maxdepth: 5

configjson

.. toctree::
:maxdepth: 5
:caption: User Classes:
:caption: User Documentation:

webapp
ComoUsar
configjson

.. toctree::
:maxdepth: 5
:caption: Dev Classes:
:caption: TIR internal classes:

webapp_internal
base
config
enumerations
log

Expand Down
22 changes: 13 additions & 9 deletions tir/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,9 @@ def LoadGrid(self):
def LogOff(self):
"""
Logs out of the Protheus Webapp.
.. note::
.Do not use this method in any routine. Use on home screen
Do not use this method in any routine. Use on home screen.
Usage:
Expand Down Expand Up @@ -416,17 +417,19 @@ def Screenshot(self, filename):
def F3(self, field, name_attr=False,send_key=False):
"""
Do the standard query(F3)
this method
1.Search the field
2.Search icon "lookup"
3.Click()
this method:
1.Search the field
2.Search icon "lookup"
3.Click()
:param term: The term that must be searched.
:type term: str
:param name_attr: True: searchs element by name
:param name_attr: True: searchs element by name.
:type name_attr: bool
:param send_key: True: try open standard search field send key F3
:type bool
:param send_key: True: try open standard search field send key F3.
:type send_key: bool
Usage:
Expand All @@ -444,6 +447,7 @@ def F3(self, field, name_attr=False,send_key=False):
def SetupTSS(self, initial_program="", environment=""):
"""
Prepare the Protheus Webapp TSS for the test case, filling the needed information to access the environment.
.. note::
This method use the user and password from config.json.
Expand Down Expand Up @@ -548,7 +552,7 @@ def SetFilePath(self, value, button = ""):
Fills the path screen with the desired path
.. warning::
Necessary informed the button name or the program will select the current button name.
Necessary informed the button name or the program will select the current button name.
:param value: Path to be inputted.
:type value: str
Expand Down
4 changes: 2 additions & 2 deletions tir/technologies/webapp_internal.py
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,7 @@ def standard_search_field(self, term, name_attr=False,send_key=False):
:param name_attr: If true searchs element by name.
:type name_attr: bool
:param send_key: Try open standard search field send key F3 (no click).
:type bool
:type send_key: bool
Usage:
Expand Down Expand Up @@ -4560,7 +4560,7 @@ def SetFilePath(self, value, button = ""):
Fills the path screen with the desired path
.. warning::
Necessary informed the button name or the program will select the current button name.
Necessary informed the button name or the program will select the current button name.
:param value: Path to be inputted.
:type value: str
Expand Down

0 comments on commit 8124705

Please sign in to comment.