Advertisement
Guest User

Untitled

a guest
May 31st, 2016
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.11 KB | None | 0 0
  1.  
  2. # Database settings
  3. db_host = 'localhost'
  4. db_username = 'username'
  5. db_password = 'password'
  6. db_database = 'futurum'
  7.  
  8. # Shop settings
  9. url = 'http://www.futurumshop.nl'
  10.  
  11. # Search settings
  12. urlNL = "http://www.futurumshop.nl/zoeken/?sortBy[price]=asc&itemPerPage=50"
  13. urlDE = "http://www.futurumshop.de/suche/?q="
  14.  
  15. # Customer settings
  16. customerLogin = 'username@local.com'
  17. customerPassword = 'password'
  18.  
  19. # NL
  20. search = "fc_search"
  21. add_to_card = "(//div[@id='selectedProduct']//button)[2]"
  22. go_card = "//div[@class='cartHeader']//a"
  23. two_step_in_card = "(//div[@id='content']//button)[1]"
  24. go_pm_page = "(//div[@id='content']//button)[1]"
  25. buy_button = "//span[@class='paymentOptions active']/button"
  26.  
  27. # Delivery method
  28. choose_default = "default"
  29. internamsterdam = "internamsterdam"
  30. internapeldoorn = "internapeldoorn"
  31.  
  32. # DE
  33. uberweisung = "(//input[@class='paymentmethod'])[2]"
  34. paypal = 'paypal'
  35. sofort = 'sofort'
  36. visa = 'visa'
  37. mastercard = 'mastercard'
  38. aexpress = 'aexpress'
  39. nachnahme = 'nachnahme'
  40.  
  41. agree = "//input[@id='agree']"
  42.  
  43. #testimport
  44. import_filepath = "/home/username/importpath/import.txt"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement