51Testing软件测试论坛

标题: Object Repository 每个使用的对象都要重命名? [打印本页]

作者: prodigyzh    时间: 2008-3-4 10:05
标题: Object Repository 每个使用的对象都要重命名?
我是QTP初学者, 刚用了一下软件, 发现实际测试当中, 如果不把QTP识别的对象命名规范, 测试人员在编写脚本的过程中就比较困难。那是否在实际的测试项目中, 是特别维护对象库以及做重命名的呢?
作者: hsjzfling    时间: 2008-3-4 16:50
首先,关于对象名称的规范应该是由开发人员来做的,开发人员规范了对象名称,那么他们自己以后维护代码时要方便的多,而使用QTP识别出的对象名也就是规范的、便于维护的了~~~
作者: yuquan_32    时间: 2008-3-4 18:10
2#說得對. 是開發人員的責任.
你們專案在開發時,沒有規定開發規範嗎?(即Coding Rule). 是個專案都會有.
如果測試時,重新命名,我覺得測試會變得又亂又複雜.
作者: ppent    时间: 2008-3-5 10:04
标题: 回复 2# 的帖子
对象名称规范应该由自动化测试Team来制定的吧,开发团队都不直接参与的。但我们可以参考他们的规范定制对象命名规范,或者请他们协助。
作者: prodigyzh    时间: 2008-3-5 11:11
我们这里的模式没有那么简单。
产品基本上在国外开发, 我们这里做测试。
所有有的时候不能完全要求开发人员怎么怎么做,说服他们, 等他们去做...这事情不知道要什么时候了。
我在发了帖子以后自己尝试了一下, 测试人员完全可以自己控制, 重命名录制的对象, 然后根据这些对象写代码。

谢了,各位, 还有没有更好的回答?
大型的自动化测试团队是怎么用QTP做测试的? 大致流程是什么?
作者: C060706    时间: 2008-3-5 16:54
标题: 回复 5# 的帖子
大型的自动化测试团队在做自动化测试时的大致流程是这样的:
1.Obtain KT from Customer for the idertified scenarios
2.Obtain required scenario flow steps from SME and execute them manually to verify the application stability
3.Identify the reuseable components provided by  Turnkey Accelerator to suit test requirement and do some customization if required
4.Create skeleton by defining business processin test plan module in QC
5.Create application area and object repository for custom components
6.Obtain test data for each business component and make a dry run to ensure the component run successfully
7.Make a dry run to ensure the entire scenario to ensure the scenario run successfully
8.Execute the formal automation testing and prepare the automation test report after getting a sign off from SME for the test result.

PS: SME =  Subject master experts




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2