|
2#
楼主 |
发表于 2012-2-11 21:47:52
|
只看该作者
代码
import resources.Script1Helper;
import com.rational.test.ft.*;
import com.rational.test.ft.object.interfaces.*;
import com.rational.test.ft.object.interfaces.SAP.*;
import com.rational.test.ft.object.interfaces.WPF.*;
import com.rational.test.ft.object.interfaces.dojo.*;
import com.rational.test.ft.object.interfaces.siebel.*;
import com.rational.test.ft.object.interfaces.flex.*;
import com.rational.test.ft.object.interfaces.generichtmlsubdomain.*;
import com.rational.test.ft.script.*;
import com.rational.test.ft.value.*;
import com.rational.test.ft.vp.*;
import com.ibm.rational.test.ft.object.interfaces.sapwebportal.*;
/**
* Description : Functional Test Script
* @author LiHuan
*/
public class Script1 extends Script1Helper
{
/**
* Script Name : <b>Script1</b>
* Generated : <b>Feb 11, 2012 9:39:35 PM</b>
* Description : Functional Test Script
* Original Host : WinNT Version 5.1 Build 2600 (S)
*
* @since 2012/02/11
* @author LiHuan
*/
public void testMain(Object[] args)
{
// Window: Author.exe: test - IBM SPSS Data Collection Author
previewInterviewlabel().click(atPoint(55,12));
// Window: Author.exe: Interview Preview
// Document: file://C:\Documents and Settings\Administrator\Local Settings\Temp\tmp73.html
radioButton__QSingleResponseQu().click();
button_nextsubmit().click();
// Document: file://C:\Documents and Settings\Administrator\Local Settings\Temp\tmp8D.html
text__QTextQuestion(ANY,NO_STATE).performTest(_QTextQuestion_textVP());
text__QTextQuestion().click(atPoint(222,30));
interviewPreviewwindow().inputChars("12");
button_nextsubmit2().click();
clOsebutton().click();
}
} |
|