from page_obj.base_page import BasePage
from page_obj.index.index.login import LoginPage
from util.browser import Chrome
from util.db import DB
from util.selenium_easy import Element, Input
class IndexPage(BasePage):
menu = (‘客服管理系统’, ‘综合管理’, ‘综合信息’)
subject = ‘会员信息’
if name == ‘main‘:
d = Chrome.normal()
# d = Chrome.headless()
d.maximize_window()
l = LoginPage(d)
l.login()
p = IndexPage(d)
p.load()
p.create_order(‘18010181267’, ‘花家地’, ‘M’)
sleep(10)
d.quit()
CaptureHelperinstanceCaptureHelperdelegates stackCaptureHelperCaptureSDKin a Xcode project:CaptureSDKParseObject‘sParseUserModelParseObjectModelexpireHandlerblamecatalogyarn startyarn testyarn buildyarn ejectyarn buildfails to minifyKrakenKitto yourPackage.swiftfile.FileWriterandSummaryto your project.configure.shandconfigure.batdefconfigFiles.configFiles asdefconfigFiles:apps/Directory Path:defconfigFiles:JSONKey:NetworkCaptureSessionDelegateURLSessionMethodsdecodemethod for your modelsCarouselViewCarouselViewControllerWebURL?DateandData?SlashCommand-spark-uos-52(已停止支持).githubandsrcfolderexpireHandlerexpireHandlerriscv-gnu-toolchainProgressinstanceScrollViewState(Source)ScrollViewState(Source)FeatheredScrollView(Source)FilesProjectNavigatorconfig.settings.pyconfig.global_vars.pydatatest_case.test_auto_casedatatest_case.test_manual_casellama-clillama.cpp‘s functionality.llama-serverllama-perplexityllama-benchllama-runllama.cppmodels. Useful for inferencing. Used with RamaLama ^3.llama-simplellama.cpp. Useful for developers.compiler-rtPort for Embedded DevicesPackage.swift@Expandable:@ExpandableCollection:.vueImports in TSTabBar样式Sutureworks on Swift 5.0 nd above, only. For Swift 4.x please use vesion 0.2.2OptionalArrayDictionaryResilientRawRepresentabledecodingFallbackisFrozenResilientDecodingErrorReporterResilientwork as expected when the wrapped type is a generic argument?HashableorEquatablewhen its value does?Encodablewhen its value does?RVS_UIKit_ToolboxUITabBarControllerUIViewControllerUIViewUIImageUIColorcompile_commands.jsonconfigure.shandconfigure.batdefconfigFiles.configFiles asdefconfigFiles:apps/Directory Path:defconfigFiles:DecodableGatheredKitCameraGatheredKitDeviceGatheredKitLocationGatheredKitMotionGatheredKitProcessInfoGatheredKitScreennumberValueon an instance of the control.Regexstructui_checker
主要特性
使用方法
运行环境
以Windows为例:
使用项目
编写用例
!/usr/bin/env python
-- coding=utf-8 --
from time import sleep
from page_obj.base_page import BasePage from page_obj.index.index.login import LoginPage from util.browser import Chrome from util.db import DB from util.selenium_easy import Element, Input
class IndexPage(BasePage): menu = (‘客服管理系统’, ‘综合管理’, ‘综合信息’) subject = ‘会员信息’
if name == ‘main‘: d = Chrome.normal() # d = Chrome.headless() d.maximize_window() l = LoginPage(d) l.login() p = IndexPage(d) p.load() p.create_order(‘18010181267’, ‘花家地’, ‘M’) sleep(10) d.quit()
!/usr/bin/env python
-- coding=utf-8 --
import sys sys.path.append(“..”) from page_obj.customer.CCustomer.index import IndexPage from test_case.base_case import BaseCase import unittest from util.decorator import level
class TestCcustomerIndex(BaseCase):
if name == ‘main‘:
unittest.main(verbosity=2)