-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f651f16
commit 3edefeb
Showing
5 changed files
with
44 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,4 +16,5 @@ GetAllLinkTest | |
append to list ${all_links} ${link} | ||
END | ||
log ${all_links} | ||
close browser | ||
*** Keywords *** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
*** Settings *** | ||
Library SeleniumLibrary | ||
|
||
*** Variables *** | ||
${browser} chrome | ||
${url1} https://history.state.gov/countries/all | ||
|
||
*** Test Cases *** | ||
ScrollTest | ||
open browser ${url1} ${browser} | ||
maximize browser window | ||
set selenium speed 2 seconds | ||
scroll element into view xpath://*[@id="content-inner"]/div/div[1]/div[9]/ul/li[2]/a | ||
go to ${url1} | ||
execute javascript window.scrollTo(0,document.body.scrollHeight) | ||
execute javascript window.scrollTo(0,-document.body.scrollHeight) | ||
|
||
*** Keywords *** |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,20 @@ | ||
Robot Testing Framework | ||
It uses the Keyword driven testing technique and capabilities can be extended by test libraries that cab be implemented by Java or Python. | ||
-acceptance testing: It is the testing in which the system is tested and the purpose of acceptance testing is to evaluate the capabilities of the system accordance with the business requirement | ||
-attd-Acceotance test driven development .It is a communication between the business, customers, developers and testers. they work in coordination and make acceptance in advance if implementing the functionality. | ||
-Robotic Process automation: It is a process of conveniently reducing the human efforts with software that uses themachine learning and ai capabilities. It handles the high level repeatable tasks | ||
### Robot Testing Framework | ||
|
||
The robot framework processes the data, execute the test caes and generate the logs and reports . The core framework doesn't know about the test data , It is handles by the libraries by application interface or low level test tools | ||
##### It uses the Keyword driven testing technique and capabilities can be extended by test libraries that cab be implemented by Java or Python. | ||
<ul> | ||
<li>-acceptance testing: It is the testing in which the system is tested and the purpose of acceptance testing is to evaluate the capabilities of the system accordance with the business requirement.</li> | ||
<li>-Attd:Acceptance test driven development .It is a communication between the business, customers, developers and testers. they work in coordination and make acceptance in advance if implementing the functionality.</li> | ||
<li>-Robotic Process automation: It is a process of conveniently reducing the human efforts with software that uses teaching learning and ai capabilities. It handles the high level repeatable tasks. | ||
</li> | ||
</ul> | ||
|
||
The robot framework processes the data, execute the test cases and generate the logs and reports . The core framework doesn't know about the test data , It is handles by the libraries by application interface or low level test tools | ||
|
||
How to use:- | ||
|
||
1. First run the requirements.txt to install the dependencies by the below code:- | ||
<br> | ||
`python3 install -r requirements.txt` | ||
2. run the following command in terminal:- | ||
<br>Sample:- `robot TestCase/<name_of_test_case>.robot` | ||
<br>Example:- `robot TestCase/ForLoop.robot` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
robotframework==3.2.1 | ||
robotframework-databaselibrary==1.2.4 | ||
robotframework-datadriver==0.3.6 | ||
robotframework-pabot==1.8.1 | ||
robotframework-pythonlibcore==2.1.0 | ||
robotframework-seleniumlibrary==3.3.1 |