检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:陈诚 Chen Cheng(Nanjing Suning Software Technology Co.,Ltd.,Nanjing Jiangsu 210000,China)
机构地区:[1]南京苏宁软件技术有限公司
出 处:《信息与电脑》2019年第21期76-77,80,共3页Information & Computer
摘 要:笔者主要讨论基于关键字驱动的Web功能自动化测试方法与实现方式。以面向对象语言Python2.0+selenium2.0为自动化脚本开发的环境,结合Pycharm脚本编辑的IDE,在此环境下开发自动化脚本以实现Web功能自动化。目前,最为流行的软件开发方式是敏捷开发,开发后的软件不但要测试新的功能,也要回归老的功能;另外涉及软件版本的改版、优化或者升级同样需要对新功能的测试与老功能的回归。为了有效解决回归测试的不一致性的问题,引入自动化测试便是一个很好的选择,它能提高软件质量,节省经费,缩短产品发布周期。笔者主要讨论通过关键字定位页面元素,Selenium2.0采用Webdriver方式驱动浏览器在Web页面自动化实现方法与方式,希望能为自动化脚本开发与测试中提供借鉴和帮助.The author mainly discusses the methods and implementation methods of keyword-driven automation in Web pages.With the object-oriented language Python2.0+selenium2.0 as the environment for automated scripting,combined with the Pycharm script editing IDE,the automation script is developed in this environment to realize the automation of Web functions.At present,the most popular software development method is agile development.After the agile development,the software not only needs to test new functions,but also return to the old functions.In addition,the revision,optimization or upgrade of the software version also requires testing of new functions and old ones.Functional regression,in order to effectively resolve the consistency of regression testing,the introduction of automated testing is a good choice,it can improve software quality,save money,shorten product release cycle.The author mainly discusses the positioning of page elements through keywords.Selenium2.0 uses Webdriver to drive the browser to implement methods and methods in Web page automation,hoping to provide reference and help for automated script development and testing.
分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.229