Skip to content

Commit ec4ca3d

Browse files
committed
Updated tests
1 parent b4f7a85 commit ec4ca3d

File tree

9 files changed

+12
-8
lines changed

9 files changed

+12
-8
lines changed

Images/report.PNG

46.3 KB
Loading

Keywords/CreateAnAccountKeywords.robot

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Library Collections
55
Library DateTime
66
Library String
77
Resource ../Objects/Locators/CreateAnAccountLocators.robot
8+
Resource ../TestData/CreateAnAccountData.robot
89

910
*** Keywords ***
1011
Click SignIn button

Keywords/LaunchApplication.robot

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
*** Settings ***
2+
Resource ../TestData/TestConfig.robot
3+
14
*** Keywords ***
25
Launch Application
36
Open Browser ${AppURL} ${Browser}

Keywords/SearchKeywords.robot

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Library Collections
55
Library DateTime
66
Library String
77
Resource ../Objects/Locators/SearchLocators.robot
8+
Resource ../TestData/SearchData.robot
89

910
*** Keywords ***
1011
Search a Keyword

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,10 @@ This is sample Test Automation framework is designed using Robot Framework. And
3939
3. Type: `ride.py`
4040
4. Hit Enter key
4141

42-
### How to Generate HTML Report
43-
* Open Terminal and enter command: `npm run create:html:report`
44-
* Go to `test-report` folder and you will find the html report
42+
### How to view HTML Report
43+
* Go to root directory of your project and open `report.html`
44+
45+
![Robot Test Automation Framework Test Result](./Images/report.PNG?raw=true "Robot Test Automation Framework HTML Test Report")
4546

4647
### How to upgrade to latest packages version
4748
* Open Terminal and run command `pip install --upgrade -r requirements.txt`

TestData/TestData.robot renamed to TestData/CreateAnAccountData.robot

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
*** Variables ***
2-
${SearchKeyword} Casual Dresses
32
${FirstNameData} Ronald
43
${LastNameData} Austin
54
${PasswordData} Test@123

TestData/SearchData.robot

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*** Variables ***
2+
${SearchKeyword} Casual Dresses

TestSuite/CreateAnAccountTest.robot

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ Suite Setup
33
Suite Teardown
44
Resource ../Keywords/LaunchApplication.robot
55
Resource ../Keywords/CreateAnAccountKeywords.robot
6-
Resource ../TestData/TestConfig.robot
7-
Resource ../TestData/TestData.robot
86

97
*** Test Cases ***
108
CreateAnAccountTest

TestSuite/SearchTest.robot

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ Suite Setup
33
Suite Teardown
44
Resource ../Keywords/LaunchApplication.robot
55
Resource ../Keywords/SearchKeywords.robot
6-
Resource ../TestData/TestConfig.robot
7-
Resource ../TestData/TestData.robot
6+
87

98
*** Test Cases ***
109
SearchTest

0 commit comments

Comments
 (0)