收藏 分享(赏)

AutomationKnowledgeSharing_ClassandOODinQTP.ppt

上传人:kpmy5893 文档编号:8408789 上传时间:2019-06-25 格式:PPT 页数:13 大小:355.50KB
下载 相关 举报
AutomationKnowledgeSharing_ClassandOODinQTP.ppt_第1页
第1页 / 共13页
AutomationKnowledgeSharing_ClassandOODinQTP.ppt_第2页
第2页 / 共13页
AutomationKnowledgeSharing_ClassandOODinQTP.ppt_第3页
第3页 / 共13页
AutomationKnowledgeSharing_ClassandOODinQTP.ppt_第4页
第4页 / 共13页
AutomationKnowledgeSharing_ClassandOODinQTP.ppt_第5页
第5页 / 共13页
点击查看更多>>
资源描述

1、Class and OOD in QTP Automation Development,Kevin Zheng 12/24/2009,Agenda,Our Present Development The Advantage and Disadvantage of OOP in QTP Automation Development Using Class in VBS Some Object Oriented Design Pattern Q&A,Profile Form,Development mainly followed the Process Oriented Difficult to

2、maintain, especially faced with UI change Poor code reuse and hard to expand Its boring to just follow the process to write scriptsSo can we try to import the Object Oriented to our daily work?,Our Present Development,Profile Form,Advantage of OOP Easy to maintain, just need to modify the operation

3、or attribute of an object Class better to describe an object in the system and its easier to read More efficient to develop,Advantage and Disadvantage of OOP,Advantage and Disadvantage of Using Class,Disadvantage of OOP Lack of inheritance and polymorphic features In VBS More space for objects Hard

4、to abstract class and class is not available everywhere,Using Class in VBS,Class Structure Initial and terminate Variable, Function, Property, Sub,Using Class in VBS,Example:,Using Class in VBS,Example:,create,Create a object:,Using Class in VBS,Call the created object and do some operation:,Using Class in VBS,Budget,Some Object Oriented Design Pattern,Decorator Factory Observer Adapter And so on,Q & A,Thanks For Your Attention,

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 企业管理 > 管理学资料

本站链接:文库   一言   我酷   合作


客服QQ:2549714901微博号:道客多多官方知乎号:道客多多

经营许可证编号: 粤ICP备2021046453号世界地图

道客多多©版权所有2020-2025营业执照举报