Rational Functional Tester for firefox 可能的问题
来源:互联网 发布:51系列单片机 编辑:程序博客网 时间:2024/05/01 04:55
4. firefox can remember those values in text fields.
LCCAddressBookTasks.java
// ivan change for firefox: these values will display when typing them,
// the under text field will be hidden by these values.
DWALiteNavigation.java:
// ivan change for firefox
// String sClass=switcher.getSelectedEditedMark().getProperty("className").toString();
String sClass=switcher.getSelectedEditedMark().getProperty("class").toString();
2. firefox could not get some object's ".text" property:
DWALiteNavigation.java:
// ivan change
// String sText = switcher.getHomeViewTab().getProperty(".text").toString();
String sText = "";
if (VisualReporter.gsVisualReporterTestBrowser.equalsIgnoreCase(VisualReporter.gsMozillaFirefox))
sText = switcher.getSelectedTabInner().getProperty("value").toString();
else
sText = switcher.getHomeViewTab().getProperty(".text").toString();
3. firefox status is still running when window is opened or tab is opened:
DWALiteMailTasks.java
// ivan change for firefox: tab is opened, but the status is still runnning.
// script will block by: browser_htmlBrowser().waitForExistence
// solution think: when click home tab(mail, contact) will make firefox status is back to complete.
// 1. get all tabs before the operations will be clicked, that will cause firefox alwarys run.
// 2. run those operations
// 3. click home tab.
// 4. get current all tabs, in order click them. the lastest tab will be selected tab.
// TestObject tcActiveForm = switcher.getSelectedView();
// liteMail.getSubject_Edit(tcActiveForm).setText(sSubject);
// liteMail.getRichTextEditorBody(tcActiveForm).setText(sMessage);
// liteMail.getTo(tcActiveForm).setText(sTO);
if (VisualReporter.gsVisualReporterTestBrowser.equalsIgnoreCase(VisualReporter.gsMozillaFirefox)) {
TestObject tos[] = switcher.getAllViewTabs();
TestObject tcActiveForm = switcher.getSelectedView();
liteMail.getSubject_Edit(tcActiveForm).setText(sSubject);
liteMail.getRichTextEditorBody(tcActiveForm).setText(sMessage);
liteMail.getTo(tcActiveForm).setText(sTO);
Webfuncs.selectLink(new WLink(tos[0]));
TestObject tos2[] = switcher.getAllViewTabs();
for(int i=1; i<tos2.length; i++)
Webfuncs.selectLink(new WLink(tos2[i]));
}
else {
....}
- Rational Functional Tester for firefox 可能的问题
- 使用 Rational Functional Tester V7.0 测试 Mozilla Firefox 应用程序
- IBM Rational Functional Tester 软件
- 使用Rational Functional Tester实现动态的校验点测试
- 使用 Rational Functional Tester 测试定制的 Java 控件
- 使用 Rational Functional Tester 测试应用软件的操作响应速度
- 扩展 Rational Functional Tester 的对象识别技术
- IBM Rational Functional Tester用户手册(一)
- 通过命令行启动RFT(Rational Functional Tester)
- Rational Functional Tester 对象关系图
- 通过命令行启动RFT(Rational Functional Tester)
- Robot到Rational Functional Tester和Performance Tester
- Robot到Rational Functional Tester和Performance Tester
- 使用 IBM Rational Functional Tester测试 Windows 应用程序: 如何构建结构良好的测试框架
- 在 Rational Functional Tester 测试脚本中实现对时间的控制
- 使用 IBM Rational Functional Tester 7.0.1 测试 Flex 应用程序
- IBM Rational Functional Tester V8.1新增功能简介
- 使用 XPath 在 Rational Functional Tester 中动态识别对象
- groovy_web_workflow
- Hexprobe.Hex.Editior.v3.7.WinALL.Cracked-ELYSiUM
- Hello world!!!
- apache+sqlite+php for Arm Linux
- 一位热忠于Microsoft Silverlight的外国朋友博客!
- Rational Functional Tester for firefox 可能的问题
- any和some的用法
- c程序中不使用分号输出"Hello, world"
- 网络游戏外挂编写原理
- English Interview
- 共享库中的符号链接
- 2008年,对我来说是非同寻常的一年!
- SQL注入天书—ASP注入漏洞全接触
- 多线程开发学习笔记之线程同步——临界区