
| Current Path : /var/www/web-klick.de/dsh/Downloads/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/web-klick.de/dsh/Downloads/test_qq.py |
# Generated by Selenium IDE
import pytest
import time
import json
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.action_chains import ActionChains
from selenium.webdriver.support import expected_conditions
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
class TestQq():
def setup_method(self, method):
self.driver = webdriver.Firefox()
self.vars = {}
def teardown_method(self, method):
self.driver.quit()
def test_qq(self):
self.driver.get("https://standard.gkvnet-ag.de/svnet/")
self.driver.set_window_size(712, 705)
self.driver.find_element(By.CSS_SELECTOR, "div:nth-child(2) > input").click()
self.driver.find_element(By.CSS_SELECTOR, "div:nth-child(2) > input").send_keys("14993475")
self.driver.find_element(By.CSS_SELECTOR, "div:nth-child(4) > input").send_keys("cgabriel")
self.driver.find_element(By.CSS_SELECTOR, "div:nth-child(6) > input").send_keys("IfT2012")
self.driver.find_element(By.CSS_SELECTOR, "div:nth-child(8)").click()
self.driver.find_element(By.CSS_SELECTOR, "div:nth-child(2) > div:nth-child(4) > div:nth-child(1) > div").click()
self.driver.find_element(By.CSS_SELECTOR, "div:nth-child(1) > div:nth-child(2) > div:nth-child(1) > div:nth-child(1) > div").click()
self.driver.find_element(By.CSS_SELECTOR, "div:nth-child(1) > div:nth-child(2) > div:nth-child(1) > div:nth-child(1) > div").click()
self.driver.find_element(By.CSS_SELECTOR, "div:nth-child(1) > div:nth-child(2) > div:nth-child(1) > div:nth-child(1) > div").click()
self.driver.switch_to.frame(1)
self.driver.find_element(By.ID, "firmaBetriebsnummer").click()
self.driver.find_element(By.ID, "firmaBetriebsnummer").send_keys("14993475")