-
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
1a07633
commit e987e74
Showing
10 changed files
with
64 additions
and
7 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
Binary file modified
BIN
+2.18 KB
(280%)
PythonSelFramework/PageObjectMechanism/__pycache__/HomePage.cpython-311.pyc
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
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
Binary file modified
BIN
+376 Bytes
(130%)
PythonSelFramework/Utility/__pycache__/BaseClass.cpython-311.pyc
Binary file not shown.
Binary file added
BIN
+2.88 KB
PythonSelFramework/tests/__pycache__/test_anugularPractice.cpython-311-pytest-7.4.0.pyc
Binary file not shown.
Binary file added
BIN
+2.03 KB
PythonSelFramework/tests/__pycache__/test_anugularPractice.cpython-311.pyc
Binary file not shown.
Binary file modified
BIN
-339 Bytes
(91%)
PythonSelFramework/tests/__pycache__/test_e2e.cpython-311-pytest-7.4.0.pyc
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
from selenium import webdriver | ||
from selenium.webdriver.common.by import By | ||
|
||
from PageObjectMechanism.HomePage import HomePage | ||
from Utility.BaseClass import baseClass | ||
|
||
|
||
class TestHomePage(baseClass): | ||
|
||
def test_FormSubmission(self): | ||
|
||
homepage = HomePage(self.driver) | ||
homepage.getName().send_keys('Abhishek') #NAME | ||
homepage.getEmail().send_keys("[email protected]") #EMAIL | ||
homepage.getPassword().send_keys("abhishek@1234") #PASSWORD | ||
homepage.getCheckbox().click() #CHECKBOX | ||
self.selectOptioByText(homepage.selectDropdown(), "Female") #GENDER SELECTION | ||
homepage.ClickRadio().click() #Employment Status | ||
homepage.clickSubmit().click() #Submit button | ||
message = homepage.getSuccess() | ||
print(message) | ||
assert "Success" in message |
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