软件测试技术实验报告 | 用Selenium自动化测试

本文档是关于软件测试技术的实验报告,主要介绍了如何在Eclipse中安装和使用Selenium进行自动化测试。实验任务包括验证“软件测试名单.xlsx”中学生信息与网站信息的一致性。通过在Firefox中安装SeleniumIDE进行录制和导出脚本,然后在Eclipse中编写和执行测试代码,成功完成了数据的比对。在调试过程中,解决了driver.findElement方法使用不当的问题,最终测试结果显示所有信息正确。
摘要由CSDN通过智能技术生成

软件测试技术第二次实验报告

一、需求分析(描述具体需求)

  1. Install Selenium with Eclipse.
  2. Install Firefox and SeleniumIDE plugin.
  3. Try to record and export scripts using SeleniumIDE.
  4. Please complete the following task using Selenium: “软件测试名单.xlsx” contains information about the students, and http://121.193.130.195:8800 can view someone’s information after logging in (student id as username, the last 6 digits of student id as password). Please check each record in the excel to make sure that each student’s information is consistent with the information on the website.

二、概要设计
在这里插入图片描述
三、详细设计(详细描述具体如何实现,附代码及说明)

  1. 在Eclipse 中安装Selenium:
    1)将Selenium的jar包放在项目文件夹下的libs文件夹中;
    2)使用菜单进行build;

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值