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增加产品的例子的更多相关文章

  1. RF元素定位的例子

    Execute Javascript $("input[type='button']").click() Comment Click Button css=input.login_ ...

  2. ecshop如何增加多个产品详细描述的编辑器

    在做商产品详情的时候,经常会有选项卡类似的几个产品说明,如:商品详情,商品规格,参数列表,售后服务等. Ecshop后台里面默认只有一个编辑框(器),那么我们还得自己添加几个,以下是ecshop如何增 ...

  3. 好用的SQL TVP~~独家赠送[增-删-改-查]的例子

    以前总是追求新东西,发现基础才是最重要的,今年主要的目标是精通SQL查询和SQL性能优化.  本系列主要是针对T-SQL的总结. [T-SQL基础]01.单表查询-几道sql查询题 [T-SQL基础] ...

  4. 【转载】如何从零开始开发一款嵌入式产品(20年的嵌入式经验分享学习,来自STM32神舟系列开发板设计师的总结

    [好文章值得分享,摘自作者:jesse] 来源:www.armjishu.com作者:jesse转载请注明出处 我的另一篇文章:<STM32嵌入式入门必看之文章-----介绍非常详细!(学STM ...

  5. Salesforce Consumer Goods Cloud 浅谈篇二之门店产品促销的配置

    本篇参考:https://documentation.b2c.commercecloud.salesforce.com/DOC1/index.jsp?topic=%2Fcom.demandware.d ...

  6. 2013MPD上海6.23 PM 光耀:读心术,用户心理的产品之道

    创新的前提是:制度与组织的创新!!!!!!!!!!!!!! 光耀:腾讯互联网业务产品经理(腾讯公司互联网业务系统产品经理.在电子商务.社会化媒体等方面有深入研究.参与腾讯多个重要项目产品工作) 什么是 ...

  7. ecshop商品页增加编辑器fckeditor

    最近在做ecshop的项目,需要在商品单页中增加一项FCKEditor的文本编辑器,但在ecshop的论坛和百度里搜出的方法,试了好几个都没有用,终于找到一个可以正确使用的,和大家分享. ecshop ...

  8. 如何增加亚马逊listing多个类目节点

    流量是电商销售的必要因素,可以说,任何成功的电商平台都离不开流量.亚马逊listing优化做得好,不仅能提高产品的曝光率,还能提升转换率,而好的类目可以吸引大的流量.帮你快速爬升. 首先我们来了解一下 ...

  9. 干货 | 揭秘如何增加listing多个类目节点

    流量是电商销售的必要因素,可以说,任何成功的电商平台都离不开流量.亚马逊listing优化做得好,不仅能提高产品的曝光率,还能提升转换率,而好的类目可以吸引大的流量.帮你快速爬升. 首先我们来了解一下 ...

随机推荐

  1. [LeetCode] 743. Network Delay Time 网络延迟时间

    There are N network nodes, labelled 1 to N. Given times, a list of travel times as directededges tim ...

  2. AtCoder Grand Contest 035 简要题解

    从这里开始 题目目录 Problem A XOR Circle 你发现,权值的循环节为 $a_0, a_1, a_0\oplus a_1$,然后暴力即可. Code #include <bits ...

  3. dskms改为ckplayer播放器

    将ckplayer代码文件夹上传到/var/www/html/public/static/plugins/目录下修改/var/www/html/application/home/view/defaul ...

  4. linux内核动态调试技术

    动态调试功能就是你可以决定在程序运行过程中是否要 pr_debug(), dev_dbg(), print_hex_dump_debug(), print_hex_dump_bytes() 这些函数正 ...

  5. 在Linux上利用curl 命令模拟 HTTP GET/POST 请求

    本文系转载,原文地址:https://www.cnblogs.com/alfred0311/p/7988648.html 序言 在 Linux 操作系统上对后端程序进行测试的时候,需要进行模拟连接或者 ...

  6. 多项式 ln

    多项式 ln 定义 \(给一多项式F(x),求G(x)\equiv lnF(x)\pmod x^n\) 前置知识 \(不定积分\) \(微分\) \(多项式乘法逆\) 推式子: \[\because ...

  7. Lsyncd实时同步搭建指南

    linux文件实时同步: inotify+rsync.sersync.lsyncd工具比较 一.inotify + rsync 最近一直在寻求生产服务服务器上的同步替代方案,原先使用的是inotify ...

  8. java -jar 时指定内存大小

    java -jar -Xms1024m -Xmx1536m -XX:PermSize=128M -XX:MaxPermSize=256M car.jar 说明: 1.堆内存:最小1024M,最大153 ...

  9. MySQL如何定位并优化慢查询sql

    1.如何定位并优化慢查询sql a.根据慢日志定位慢查询sql SHOW VARIABLES LIKE '%query%'      查询慢日志相关信息 slow_query_log 默认是off关闭 ...

  10. Kafka学习笔记1——Kafka的安装和启动

    一.准备工作 1. 安装JDK 可以用命令 java -version 查看版本