Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 84

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 85

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Common.php on line 918

Deprecated: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Common.php on line 919

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 85

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 84

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 85

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 84

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 85

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Common.php on line 919

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 84

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 85
1+x题库第一题 - 信安知识

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 85
侧边栏壁纸
  • 累计撰写
    Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 84

    Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 85
    23
    篇文章
  • 累计收到
    Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 84

    Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 85
    1
    条评论

1+x题库第一题

root
2021-12-03 / 0 评论 /
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 84

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 85
188 阅读
/ 正在检测是否收录...

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 84

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 85

题在这里
http://cytao.top/PDF/1+x题库第一题.pdf

from selenium import webdriver
from selenium.webdriver import ActionChains


#1+x自动化测试第一排第一个的第一题
driver=webdriver.Chrome()
driver.maximize_window()
driver.get("http://192.168.0.108:8080/suthr/logon")
driver.find_element_by_name("username").send_keys("hrteacher")
driver.find_element_by_id("password").send_keys("123456")
acction=driver.find_element_by_id("loginBtn")
ActionChains(driver).click(acction).perform()
driver.find_element_by_link_text("门户首页").click()
driver.find_element_by_xpath("/html/body/div[3]/div[1]/div/div/div/div[2]/div[2]/div/a/img").click()
driver.get_screenshot_as_file(r"C:/Users/Litao/Desktop/1.png")
driver.switch_to_window(driver.window_handles[1])
driver.find_element_by_partial_link_text("帖子中心").click()
driver.get_screenshot_as_file(r"C:/Users/Litao/Desktop/2.png")
driver.close()

题库第一题第一小题

#1+x自动化测试第一排第一个的第二题
from selenium.webdriver.support.select import Select

driver=webdriver.Chrome()
driver.maximize_window()
driver.get("http://192.168.0.108:8080/suthr/logon")
driver.find_element_by_name("username").send_keys("hrteacher")
driver.find_element_by_id("password").send_keys("123456")
driver.find_element_by_xpath("//*[@id='loginBtn']").click()
driver.find_element_by_partial_link_text("工作台").click()
driver.find_element_by_class_name("icon-user").click()
driver.find_element_by_link_text("员工照片管理").click()
Select(driver.find_element_by_name("teacherStatusId")).select_by_value("1")
driver.find_element_by_css_selector("#searchForm > div > button").click()
driver.find_element_by_xpath("//*[@id='pageContent']/div[2]/div/div/div/div[2]/table/tbody/tr/td[9]/a").click()
driver.find_element_by_name("file").send_keys(r"C:\Users\Litao\Desktop\11.png")
driver.get_screenshot_as_file(r"C:\Users\Litao\Desktop\3.png")

题库第一题第二小题


Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 84

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 85
1

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 84

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 85
暂无标签

Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Widget/Archive.php on line 1617

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 84

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 85

    Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 85

    Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 84

    Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 85

    Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Common.php on line 919

    Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 85

    Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 84

    Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 85

    Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Common.php on line 919

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Request.php on line 310

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 84

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 85

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 65

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /www/wwwroot/cytao.top/build/var/Typecho/Db/Adapter/Pdo/Mysql.php on line 65

评论 (0)

取消