NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

@pytest.mark.app(constants.CMPAPP_DRIVER)
def test_Accounting_Drops_CMP_DROP_061(bootstrap):
basePage = BasePage(bootstrap)
genericfunc = CmpGenericActions(bootstrap)
thome = ToolsHome(bootstrap)
security = Security(bootstrap)
login = CMPLoginPage(bootstrap)
phome = PlayerHome(bootstrap)
Ahome = Accounting(bootstrap)
storage = Storage(bootstrap)
cashDrop = CashDrop(bootstrap)

#getting values from toml
getLocation=basePage.getData("Location")
selectChoice = basePage.getData("choice")
selectKeyName = basePage.getData("keyName")
newDataValue = basePage.getData("dataValue")
keyData = basePage.getData("keyData")
remarks = basePage.getData("Remark") + str(random.randrange(1000, 1000000))
documentData = basePage.getData("Doc") + str(random.randrange(1000, 1000000))
getValues = basePage.getData("Values")
codeList = basePage.getData("codeList")
action = basePage.getData("action")

# Go to Player home
phome.goToPlayerHome()

# To verify if Player's Home is open
assert True == phome.verifyPlayerHome()

#Go to Tools HomePage
thome.goToToolsHome()

#Verify Tools Home
assert True == thome.verifyToolsHome()

#go to security page
genericfunc.jumpToScreensWithTree(constants.SECURITY)

#Changing Security Code
security.changeMultipleSecurityCodes(action, codeList, constants.EMP_ROLE)

#Logout and login for enabling security codes
login.applicationLogout(constants.LOGOUT_VERIFY)
login.loginWithValidCredentials(constants.USERNAME,constants.PASSWORD,constants.LOGIN_LOCATION,constants.ENV)

Ahome.goToAccountingHome()

assert True==Ahome.verifyAccountingHome()

#going to Tools Home Page
thome.goToToolsHome()

#Verify Tools Home
assert True == thome.verifyToolsHome()

#go to storage page
genericfunc.jumpToScreensWithTree(constants.STORAGE)

#Selecting Option casino
storage.chooseSection(selectChoice)

# Updating Values in Storage
storage.updateDataValue1(newDataValue,selectKeyName,keyData)

#Refresh
phome.goToPlayerHome()

# To verify if Player's Home is open
assert True == phome.verifyPlayerHome()

#going to Acounting Home Page
Ahome.goToAccountingHome()

# To verify if Accounting's Home is open
assert True == Ahome.verifyAccountingHome()

#selcting Loction in Location Directory again
Ahome.enterSearchType(getLocation)

#entering location in search box
Ahome.enterTextInSearchTextBox(constants.LOGIN_LOCATION)

#pressing enter key
genericfunc.keyPress('{ENTER}')

#jumping to void cash drop window
genericfunc.jumpToScreens(constants.ESTIMATED_CASH_DROP)

#enter document
cashDrop.enterDocument(documentData)

#enter amount
cashDrop.enterValues(getValues)

#entering remarks
cashDrop.enterCashDropRemarks(remarks)

#click on submit button
cashDrop.clickOnSubmitButton()

#going to Acounting Home Page
Ahome.goToAccountingHome()

# To verify if Accounting's Home is open
assert True == Ahome.verifyAccountingHome()

#selcting Loction in Location Directory again
Ahome.enterSearchType(getLocation)

#entering location in search box
Ahome.enterTextInSearchTextBox(constants.LOGIN_LOCATION)

#pressing enter key
genericfunc.keyPress('{ENTER}')

#jumping to void cash drop window
genericfunc.jumpToScreens(constants.VOID_ESTIMATED_CASH_DROP)

#select void icon
Ahome.selectVoidIcon()

#selecting first Row
genericfunc.selectFirstRow()

#submitting without entering remarks
cashDrop.clickOnSubmitButton()

#assert remarks
msgPopup = genericfunc.verifyOkPopUpText()

#clicking OK button
genericfunc.clickOkPopUp()

#closing the cash drop window
genericfunc.cmdCancel()

#going to Acounting Home Page
Ahome.goToAccountingHome()

# To verify if Accounting's Home is open
assert True == Ahome.verifyAccountingHome()

#Go to Player Home
phome.goToPlayerHome()

#Verify the Player Home
assert True == phome.verifyPlayerHome()

#assert verifying text
assert msgPopup == constants.REMARK_CODE_REQUIRED2
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.