QTP报错Cannot find the "Flight Reservations" object's parent "Login"解决办法
来源:互联网 发布:java脚本语言教程 编辑:程序博客网 时间:2024/05/12 09:24
直接给解决方法:
在录制最后的时候不要把对话框给关了
下面是详解:
最近由于工作需要,在学习软件测试技术。个人觉得一个开发人员不能自己测试自己开发的软件是件有点尴尬的事。之后会写一篇学习软件测试技术心得的博客,现在先写篇QTP相关的文章。
QTP是一种常用的自动化测试软件,通常都会使用QTP内附的Fight软件来学习QTP,大多数学习QTP的同学在学习到自动执行多次数据时都会遇到一个报错
Cannot find the "Flight Reservations"object's parent "Login" (class Dialog). Verify that parent propertiesmatch an object currently displayed in your application
本人在学习过程也遇到这个情况
分析报错学习,翻译一下Cannotfind the "Flight Reservations" object's parent "Login",不能找到"Flight Reservations"对象的父类"Login"
Login明显是指如下图所示的Login对话框
Login对话框找不到了,为什么呢?
想想就知道了,我在录制最后的时候把对话框给关了,于是QTP在执行第二行数据时就找不到对话框了,就是这么简单。
另附其他QTP使用小tips
录制的时候换行尽量使用tab键,不要用鼠标去点,否则如果下一次位置不同就会出错。
进入订机票页面后要先点击新建,否则后面也会出错
0 0
- QTP报错Cannot find the "Flight Reservations" object's parent "Login"解决办法
- maven报错, Reason: Cannot find parent一点提醒
- Cannot find the declaration of element 'beans' spring xml文件报错解决办法
- iOS Xcode报错:cannot find code object on disk
- Ubuntu Qt 报错error: cannot find -lGL解决办法
- QTP报错Cannot create Snapshot
- . 报错 specified child already has a parent. You must call removeView() on the child's parent first
- nvm报错 ERROR open \settings.txt: The system cannot find the file specified
- Cannot find the class file for java.lang.Object”
- Cannot find the class file for java.lang.Object
- Cannot find the class file for java.lang.Object
- Cannot find the class file for java.lang.Object
- 替换Fragment 报错 The specified child already has a parent. You must call removeView() on the child's pa
- 解决php编译报错configure: error: Cannot find OpenSSL's <evp.h>
- PyMongo报错bson.errors.InvalidDocument: Cannot encode object的解决办法
- yum出现报错: Cannot find a valid baseurl for repo: update 解决办法
- mongodb 报错 Error: Cannot find module '../build/Release/bson'解决办法
- Ubuntu下,Qt编译报错:cannot find -lGL的解决办法。
- Caused by: java.lang.ClassNotFoundException: org.objectweb.asm.ClassVisitor
- 【HDU】1225 覆盖的面积(线段树 扫描线)
- 位运算之 C 与或非异或
- 扩展接口
- 抽象工厂模式
- QTP报错Cannot find the "Flight Reservations" object's parent "Login"解决办法
- 教你快速高效接入SDK——打包工具的实现(反编译资源动态整合打渠道包)
- 选择器
- WillDo_2015
- 从光场相机Lytro中获取raw data
- static用法小结
- URAL 1823. Ideal Gas(数学啊 )
- C语言预处理器详解
- 浅谈Android Service与IntentService的区别