rf增加产品的例子
Open Browser http://xxx.xxx.xxx.xxx:1000/portal/login/init.htm gc
Maximize Browser Window
sleep 2
#Get Window Size 300 500
Input Text id=_userName admin@mall
Input Text id=_password 123456
Click Button css=input.login_iptBut
sleep 2
Click Element xpath=//li[@id='10000050']//div/div
sleep 2
Click Element xpath=/html/body/div/div/div[2]/ul/li[7]/ul/li[2]/div/span
sleep 2
Select Frame id=business_goods_init_htm
sleep 2
Click Element xpath=.//*[@id='toptoolbar']/div[6]/span
Unselect Frame
Select Frame id=business_goods_add_htm_op_add_id
${goods_name} Get time
Input Text id=goodsName ${goods_name}
Input Text id=goodsUnit 个
${number} Evaluate random.randint(11111111,99999999)
sleep 2
Input Text id=goodsBarcode ${number}
Input Text id=goodsAdvert 新一代开关控制,遥控器控制
Input Text id=goodsCode ${number}
Execute Javascript document.getElementById('shelversDate').setAttribute('value','2016-10-07 00:00')
Execute Javascript document.getElementById('undershelversDate').setAttribute('value','2017-10-07 00:00')
sleep 2
Click Element id=minPrice
sleep 1
Input Text id=minPrice 888
Click Element id=maxPrice
Input Text id=maxPrice 1299
Click Element id=memberPrice
Input Text id=memberPrice 888
click Element id=marketPrice
Input Text id=marketPrice 888
click Element id=sellPrice
Input Text id=sellPrice 999
Input Text id=goodsNative 广州
Input Text id=goodsWeightVolume 5.5
Click Element id=isWeightVolume_1
Input Text id=limitNumber 3
Click Element id=goodsInventory
Input Text id=goodsInventory 555
Select From List By Label id=goodstype_select_0 百货
sleep 1
Select From List By Label id=goodstype_select_1 灯具
sleep 1
Select From List By Label id=goodstype_select_2 台灯
sleep 1
Select From List By Label id=goodsBrandId 飞利浦
Evaluate os.system('D:\\cailiao.skl ') os
Assign ID to Element css=iframe.ke-edit-iframe ke-edit-iframe
Select Frame id=ke-edit-iframe
${js} set variable (document.getElementsByClassName('ke-content')[0]).innerText="XXXXXXXXXXXXX";
Execute Javascript ${js}
${js} set variable "KE.text('ke-edit-iframe','<b>123</b>')"
Execute Javascript ${js}
Comment focus id=goodsPicUploadBut
Comment sleep 2
Comment focus id=goodsUnit
rf增加产品的例子的更多相关文章
- RF元素定位的例子
Execute Javascript $("input[type='button']").click() Comment Click Button css=input.login_ ...
- ecshop如何增加多个产品详细描述的编辑器
在做商产品详情的时候,经常会有选项卡类似的几个产品说明,如:商品详情,商品规格,参数列表,售后服务等. Ecshop后台里面默认只有一个编辑框(器),那么我们还得自己添加几个,以下是ecshop如何增 ...
- 好用的SQL TVP~~独家赠送[增-删-改-查]的例子
以前总是追求新东西,发现基础才是最重要的,今年主要的目标是精通SQL查询和SQL性能优化. 本系列主要是针对T-SQL的总结. [T-SQL基础]01.单表查询-几道sql查询题 [T-SQL基础] ...
- 【转载】如何从零开始开发一款嵌入式产品(20年的嵌入式经验分享学习,来自STM32神舟系列开发板设计师的总结
[好文章值得分享,摘自作者:jesse] 来源:www.armjishu.com作者:jesse转载请注明出处 我的另一篇文章:<STM32嵌入式入门必看之文章-----介绍非常详细!(学STM ...
- Salesforce Consumer Goods Cloud 浅谈篇二之门店产品促销的配置
本篇参考:https://documentation.b2c.commercecloud.salesforce.com/DOC1/index.jsp?topic=%2Fcom.demandware.d ...
- 2013MPD上海6.23 PM 光耀:读心术,用户心理的产品之道
创新的前提是:制度与组织的创新!!!!!!!!!!!!!! 光耀:腾讯互联网业务产品经理(腾讯公司互联网业务系统产品经理.在电子商务.社会化媒体等方面有深入研究.参与腾讯多个重要项目产品工作) 什么是 ...
- ecshop商品页增加编辑器fckeditor
最近在做ecshop的项目,需要在商品单页中增加一项FCKEditor的文本编辑器,但在ecshop的论坛和百度里搜出的方法,试了好几个都没有用,终于找到一个可以正确使用的,和大家分享. ecshop ...
- 如何增加亚马逊listing多个类目节点
流量是电商销售的必要因素,可以说,任何成功的电商平台都离不开流量.亚马逊listing优化做得好,不仅能提高产品的曝光率,还能提升转换率,而好的类目可以吸引大的流量.帮你快速爬升. 首先我们来了解一下 ...
- 干货 | 揭秘如何增加listing多个类目节点
流量是电商销售的必要因素,可以说,任何成功的电商平台都离不开流量.亚马逊listing优化做得好,不仅能提高产品的曝光率,还能提升转换率,而好的类目可以吸引大的流量.帮你快速爬升. 首先我们来了解一下 ...
随机推荐
- [转载]3.4 UiPath键盘操作的介绍和使用
一.键盘操作的介绍 模拟用户使用键盘操作的一种行为: 例如使用发送热键(Sendhotkey),输入信息 (Typeinto)的操作 二.键盘操作在UiPath中的使用 1.打开设计器,在设计库中新建 ...
- Github库名命名规范
必要性说明 由于迁移到Github上的项目越来越多,对项目的管理越来越困难.由于各项目命名具有随意性,用之代表git仓库名后就很难快速回忆起这个项目的相关细节,通常需要不断打开某个库才能有所了解.因此 ...
- # Leetcode 67:Add Binary(二进制求和)
Leetcode 67:Add Binary(二进制求和) (python.java) Given two binary strings, return their sum (also a binar ...
- Navicat 连接远程数据库报错:1130 - Host "XX.XX.XX.XX" is not allowed to connect to this MySQL server
Navicat 连接远程数据库报错:1130 - Host "XX.XX.XX.XX" is not allowed to connect to this MySQL server ...
- 面向对象之isinstance与issubclass(python内置方法)
isinstanceissubclass TOC isinstance 判断一个对象是否是另外一个类的实例,返回布尔值. 是:True 否:False class Foo: pass class Bo ...
- 召唤神龙Ladon强化Cobalt Strike
Ladon5.5 20191109 wiki update 20191114 前言 Ladon 5.5支持Cobalt Strike,内置39个功能模块 加载脚本K8Ladon.cna,通过Ladon ...
- 使用semaphore写一个显示锁
/** * 这里只是将Semaphore包装了一下,注意当Semaphore的构造参数是1时,本身就是一个显示锁 */ public class SemaphoreLock { ); public v ...
- python--unittest测试框架
unittest中最核心的四个概念是:test case, test suite, test runner, test fixture
- [转] JS中arr.forEach()如何跳出循环
我们都知道for循环里要跳出整个循环是使用break,但在数组中用forEach循环如要退出整个循环呢?使用break会报错,使用return也不能跳出循环. 使用break将会报错: var arr ...
- SQLServer之服务器连接
目录 SQL Server Management Studio连接 CMD命令行窗口连接 通用数据连接文件连接 SQL Server Management Studio连接 定义 SQL Server ...