50 changed files with 242 additions and 531 deletions
Split View
Diff Options
-
124000_get_base_datas.robot
-
25000_get_current_datetime.robot
-
1001_login_get_info/__init__.robot
-
48001_login_get_info/login_customer.robot
-
14001_login_get_info/login_operate.robot
-
18001_login_get_info/login_operate_psc.robot
-
56001_login_get_info/login_supplier.robot
-
53001_login_get_info/login_supplierfocus.robot
-
43002_user_register/customer_user_register.robot
-
45002_user_register/supplier_user_register.robot
-
64003_enterprise_open_account_customer/printing_packaging_factory_open_account.robot
-
91004_enterprise_open_account_supplier/supplier_paper_open_account.robot
-
22005_enterprise_apply_credit/apply_credit_qniao_customer.robot
-
0006_get_credit/__init__.robot
-
4006_get_credit/customer_credit_password.robot
-
4006_get_credit/customer_get_credit.robot
-
9007_paper_variety_management/paper_brand.robot
-
8007_paper_variety_management/paper_category.robot
-
8007_paper_variety_management/paper_manufacturer.robot
-
10008_market_information/market_information_link.robot
-
11009_product_manage/product_add_and_list.robot
-
22010_limited_specialoffer/limited_specialoffer_product.robot
-
6011_product_price_config/product_price_config_qniao_and_feisuan.robot
-
7012_product_price_update/product_price_batch_update_purchaseprice.robot
-
4013_paper_list_and_details/customer_get_paper_list_and_detail.robot
-
4014_shinpping_address/customer_enterprise_shipping_address.robot
-
7015_customer_create_order/customer_create_order_credit_payment.robot
-
16016_enquiry_create_order/customer_enquiry_operate_and_supplier_quoted_price_create_order.robot
-
15017_order_and_receipt_and_delivery/get_oeder_and_receipt_and_delivery.robot
-
5018_payable_and_receivable/customer_bill.robot
-
5018_payable_and_receivable/payable.robot
-
5018_payable_and_receivable/receivable.robot
-
4019_capacity_market/capacity_commodity.robot
-
4019_capacity_market/capacity_machines.robot
-
11100_test_data_clear.robot
-
BINdatas/000_base.xls
-
BINdatas/001_login.xls
-
BINdatas/003_open_account_customer.xls
-
BINdatas/004_open_account_supplier_paper.xls
-
BINdatas/005_credit_qniao_customer.xls
-
BINdatas/006_credit_password.xls
-
BINdatas/007_paper_variety_management.xls
-
BINdatas/008_market_information_link.xls
-
BINdatas/009_product_manage.xls
-
BINdatas/012_product_price.xls
-
BINdatas/014_customer_shipping_address.xls
-
BINdatas/015_customer_create_order.xls
-
BINdatas/016_customer_enquiry_create_order.xls
-
BINdatas/017_create_supplier_order_batch.xls
-
BINdatas/018_payable_receivable.xls
@ -0,0 +1,124 @@ |
|||
*** Settings *** |
|||
Test Teardown Run Keyword If Test Failed Fatal Error |
|||
Library DateTime |
|||
Library ExcelLibrary |
|||
|
|||
*** Test Cases *** |
|||
current_datetime |
|||
${current_time} Get Current Date |
|||
${current_date} Convert Date ${current_time} result_format=%Y-%m-%d |
|||
Set Global Variable ${current_date} |
|||
${current_date_month} Convert Date ${current_time} result_format=%Y-%m |
|||
Set Global Variable ${current_date_month} |
|||
${current_date_second} Convert Date ${current_time} result_format=%Y-%m-%d %H:%M:%S |
|||
Set Global Variable ${current_date_second} |
|||
|
|||
base_url_header |
|||
Open Excel ./datas/000_base.xls |
|||
${uecops} Read Cell Data By Name url B1 |
|||
${yytops} Read Cell Data By Name url B2 |
|||
${pscops} Read Cell Data By Name url B3 |
|||
${pscclient} Read Cell Data By Name url B4 |
|||
${yytclient} Read Cell Data By Name url B5 |
|||
${uecclient} Read Cell Data By Name url B6 |
|||
Set Global Variable ${uecops} |
|||
Set Global Variable ${yytops} |
|||
Set Global Variable ${pscops} |
|||
Set Global Variable ${pscclient} |
|||
Set Global Variable ${yytclient} |
|||
Set Global Variable ${uecclient} |
|||
${cloud_factory_customer_header} Read Cell Data By Name header B1 |
|||
${cloud_factory_supplier_header} Read Cell Data By Name header B2 |
|||
${cloud_factory_supplierfocus_header} Read Cell Data By Name header B3 |
|||
${operation_backend_header} Read Cell Data By Name header B4 |
|||
${operation_psc_header} Read Cell Data By Name header B5 |
|||
Set Global Variable ${cloud_factory_customer_header} |
|||
Set Global Variable ${cloud_factory_supplier_header} |
|||
Set Global Variable ${cloud_factory_supplierfocus_header} |
|||
Set Global Variable ${operation_backend_header} |
|||
Set Global Variable ${operation_psc_header} |
|||
#${cloudfactory_customer_header} Read Cell Data By Name header_token B1 |
|||
#${cloudfactory_supplier_header} Read Cell Data By Name header_token B2 |
|||
#${cloudfactory_supplierfocus_header} Read Cell Data By Name header_token B3 |
|||
#${operationbackend_header} Read Cell Data By Name header_token B4 |
|||
#${operationpsc_header} Read Cell Data By Name header_token B5 |
|||
#Set Global Variable ${cloudfactory_customer_header} |
|||
#Set Global Variable ${cloudfactory_supplier_header} |
|||
#Set Global Variable ${cloudfactory_supplierfocus_header} |
|||
#Set Global Variable ${operationbackend_header} |
|||
#Set Global Variable ${operationpsc_header} |
|||
|
|||
get_login_datas |
|||
#Open Excel ./datas/001_login.xls |
|||
#${rows} Get Row Count customer_phone |
|||
#FOR ${row} IN RANGE 1 ${rows} |
|||
# ${accounttype} Read Cell Data By Coordinates customer_phone 0 ${row} |
|||
# ${account} Read Cell Data By Coordinates customer_phone 1 ${row} |
|||
# ${captcha} Read Cell Data By Coordinates customer_phone 2 ${row} |
|||
#END |
|||
Open Excel ./datas/001_login.xls |
|||
${accounttype_customer} Read Cell Data By Name customer_phone A2 |
|||
${account_customer} Read Cell Data By Name customer_phone B2 |
|||
${captcha_customer} Read Cell Data By Name customer_phone C2 |
|||
Set Global Variable ${accounttype_customer} |
|||
Set Global Variable ${account_customer} |
|||
Set Global Variable ${captcha_customer} |
|||
${accounttype_supplier} Read Cell Data By Name supplier_phone A2 |
|||
${account_supplier} Read Cell Data By Name supplier_phone B2 |
|||
${captcha_supplier} Read Cell Data By Name supplier_phone C2 |
|||
Set Global Variable ${accounttype_supplier} |
|||
Set Global Variable ${account_supplier} |
|||
Set Global Variable ${captcha_supplier} |
|||
${accounttype_supplierfocus} Read Cell Data By Name supplier_focus_phone A2 |
|||
${account_supplierfocus} Read Cell Data By Name supplier_focus_phone B2 |
|||
${captcha_supplierfocus} Read Cell Data By Name supplier_focus_phone C2 |
|||
Set Global Variable ${accounttype_supplierfocus} |
|||
Set Global Variable ${account_supplierfocus} |
|||
Set Global Variable ${captcha_supplierfocus} |
|||
${username_operate} Read Cell Data By Name operate_mail A2 |
|||
${password_operate} Read Cell Data By Name operate_mail B2 |
|||
Set Global Variable ${username_operate} |
|||
Set Global Variable ${password_operate} |
|||
${username_operatepsc} Read Cell Data By Name operate_psc_mail A2 |
|||
${password_operatepsc} Read Cell Data By Name operate_psc_mail B2 |
|||
Set Global Variable ${username_operatepsc} |
|||
Set Global Variable ${password_operatepsc} |
|||
|
|||
get_customer_datas |
|||
Open Excel ./datas/003_open_account_customer.xls |
|||
|
|||
get_supplier_datas |
|||
Open Excel ./datas/004_open_account_supplier_paper.xls |
|||
|
|||
get_credit_qniao_customer_datas |
|||
Open Excel ./datas/005_credit_qniao_customer.xls |
|||
|
|||
get_credit_password_datas |
|||
Open Excel ./datas/006_credit_password.xls |
|||
|
|||
get_paper_variety_management_datas |
|||
Open Excel ./datas/007_paper_variety_management.xls |
|||
|
|||
get_market_information_link_datas |
|||
Open Excel ./datas/008_market_information_link.xls |
|||
|
|||
get_product_manage_datas |
|||
Open Excel ./datas/009_product_manage.xls |
|||
|
|||
get_product_price_datas |
|||
Open Excel ./datas/012_product_price.xls |
|||
|
|||
get_customer_shipping_address_datas |
|||
Open Excel ./datas/014_customer_shipping_address.xls |
|||
|
|||
get_customer_create_order_datas |
|||
Open Excel ./datas/015_customer_create_order.xls |
|||
|
|||
get_customer_enquiry_create_order_datas |
|||
Open Excel ./datas/016_customer_enquiry_create_order.xls |
|||
|
|||
get_create_supplier_order_batch_datas |
|||
Open Excel ./datas/017_create_supplier_order_batch.xls |
|||
|
|||
get_payable_receivable_datas |
|||
Open Excel ./datas/018_payable_receivable.xls |
|||
@ -1,25 +0,0 @@ |
|||
*** Settings *** |
|||
Test Teardown |
|||
Library DateTime |
|||
|
|||
*** Test Cases *** |
|||
current_datetime |
|||
${current_time} Get Current Date |
|||
log ${current_time} |
|||
${current_date} Convert Date ${current_time} result_format=%Y-%m-%d |
|||
log ${current_date} |
|||
Set Global Variable ${current_date} |
|||
|
|||
current_datetime_month |
|||
${current_time} Get Current Date |
|||
log ${current_time} |
|||
${current_date_month} Convert Date ${current_time} result_format=%Y-%m |
|||
log ${current_date_month} |
|||
Set Global Variable ${current_date_month} |
|||
|
|||
current_datetime_second |
|||
${current_time} Get Current Date |
|||
log ${current_time} |
|||
${current_date_second} Convert Date ${current_time} result_format=%Y-%m-%d %H:%M:%S |
|||
log ${current_date_second} |
|||
Set Global Variable ${current_date_second} |
|||
@ -1 +0,0 @@ |
|||
*** Settings *** |
|||
Write
Preview
Loading…
Cancel
Save