View
221
Download
0
Category
Preview:
Citation preview
8/14/2019 Using IBM Rational Functional Tester 6 1 to run your first functional regression test
1/26
!"!#$"""%
!"#$#!%$&!$%$$"!"$%'!#!#$$$##%$
$#$%$#%!$'&%$$"%''!##((&%')"%$$$*%$$+,%$"$-"#$
$-!.&'$$#!"%$$!"$&!$$#$##/01-"#&""%$$##%$$#$%2&&
$-"& (("#!#!'#!##"#$$##(($!$!$"!$$##$$$"%$$$!$
$#"$!3$%$$"$&"#!#""!%""###"#!""&"$&!%"-$$!&%$$"$$"!$!$#$$$%$$"%$$"&$!$"!$#&$ $
!#&!#1%'#1&%$#4
5#6 $'#7$#&$%'#!'!8 5$#&$$##!'
$$##$$9 "$"&:;%:)1
8/14/2019 Using IBM Rational Functional Tester 6 1 to run your first functional regression test
2/26
8/14/2019 Using IBM Rational Functional Tester 6 1 to run your first functional regression test
3/26
&'(%%%
6 >"$*-"#&?#,'
8/14/2019 Using IBM Rational Functional Tester 6 1 to run your first functional regression test
4/26
)%%
$$$')#1$)1%
*+ &$%!$%#!$$$!%"$$&!"#!#$&-$?$&' '&!$$"##$$$$'!-#
'
$('$?#$)1%=?#0"$"$###
8/14/2019 Using IBM Rational Functional Tester 6 1 to run your first functional regression test
5/26
,$-#
6 $$#$;%?#%2;"$#*-"#&@!?$,'
8/14/2019 Using IBM Rational Functional Tester 6 1 to run your first functional regression test
6/26
.%"#'#/%
8 $%#$""$"!$##!%&%$$##!&("$#%$!$&!"#!#($""##
8/14/2019 Using IBM Rational Functional Tester 6 1 to run your first functional regression test
7/26
%
9 5#$%%%%')"3'$'(#$?=##%2!##&!$')$##
0'(#/%
8/14/2019 Using IBM Rational Functional Tester 6 1 to run your first functional regression test
8/26
3(
3'$(%%$$$#$==##%2$$'!$!###!
4'(%%(#/%
A 3'$B7=##'"5$==##%2'!
B7##
8/14/2019 Using IBM Rational Functional Tester 6 1 to run your first functional regression test
9/26
612(%%(#/%
C >$07$##!%*-"#&')",'$!$=##3&%$$%%%')"##$#!$=##
(
D 3';%!$!##$=##;"#(%"$?=##%2
8/14/2019 Using IBM Rational Functional Tester 6 1 to run your first functional regression test
10/26
&'(#/%
E?$##'!$$%%$$')"!"!'%#%$%'$'
3'$$?%$$-
)15'%
63'$'$#$'"$%;$!"!!#%$!!
8/14/2019 Using IBM Rational Functional Tester 6 1 to run your first functional regression test
11/26
,7$8'#8
- &!$$$%%&!#$B7"$F=
8/14/2019 Using IBM Rational Functional Tester 6 1 to run your first functional regression test
12/26
.+$%(9/%
6 3'$:%$F=
8/14/2019 Using IBM Rational Functional Tester 6 1 to run your first functional regression test
13/26
0'(:#$;+$%
9 $-%!"!"$##$#3$$G@@-&$-%$!'!$$@);"!%&$$##+#'%$$!&$F!#"F$'-&%$'$-$#!##!%E*!'%$$H!!%!%,$$!%$##!'%$%%'$#$"
8/14/2019 Using IBM Rational Functional Tester 6 1 to run your first functional regression test
14/26
3+$;%:#+:5
8/14/2019 Using IBM Rational Functional Tester 6 1 to run your first functional regression test
15/26
4+$;:#(.)'#%
$!%"'!$$!&!$%$51#$%##!!##$$#%$%"#%$!$#$%2
$51#$#$#1"#$$$#!!$1!#$&!1%$##$##$$#!$'$51#&!$$!#$-"#&!!$"!&!$#$"
$#!!"$1$="#!"$1;$$$G&%$$!!##$$%#"
$$#$#!$1##!#$$@-&$-#!--"$--&!$&$-#&I$#(
8/14/2019 Using IBM Rational Functional Tester 6 1 to run your first functional regression test
16/26
3'#$6 ;%!#$$$'$$
$=&'$@)=3""$"
8 0$51&$'$("!&$$$$-"#&$' ()!'!3"J*"!
'%,
&6:7:#%%
9 5!$'&'$)"G@)$@)=21#$' "5
8/14/2019 Using IBM Rational Functional Tester 6 1 to run your first functional regression test
17/26
button_search_btnGif().click();All53ResultsForSoftwareTestVP().performTest(2.0, 20.0);SearchResults_KanerVP().performTest(2.0, 20.0);SearchResults_DustinVP().performTest(2.0, 20.0);SearchResults_WhittakerVP().performTest(2.0, 20.0);browser_htmlBrowser(document_bookpoolBooksFound(),DEFAULT_FLAGS).close();
}}
$$#1$?#>-#$$
&2-%:
$('$#$)1%"$"$###
8/14/2019 Using IBM Rational Functional Tester 6 1 to run your first functional regression test
18/26
&&'7+'
6 $%#$?7%2=#$"!'
$'$#-$$$&$)!'7$#$%$!$#"$$&"#!%$7"'!$$""
8/14/2019 Using IBM Rational Functional Tester 6 1 to run your first functional regression test
19/26
&):7+'
#*+%%:7 ;%!#!$!"!$##'$&!#$&$#'&$'!'&!$$'%$!"$"
'
$('$?#(%%'%"$"$###
6 $;%?#%2&"$#*-"#&@!','
8 3'$'(
8/14/2019 Using IBM Rational Functional Tester 6 1 to run your first functional regression test
20/26
9 ?$')"##"$=##;"#(%$?=##%2'!
8/14/2019 Using IBM Rational Functional Tester 6 1 to run your first functional regression test
21/26
{public void testMain(Object[] args)
{// HTML BrowserstartApp("www.BookPool.com");// Document: Bookpool: Discount Computer Books. Welcome!:
http://www.bookpool.com/.x/nqbosfkvb8/hotext_qs().click(atPoint(120,9));browser_htmlBrowser(document_bookpoolDiscountCompu(),DEFAULT_FLAGS).inputCh("Lessons Learned in Software Testing");button_search_btnGif().click();// Document: Bookpool: Books Found:http://www.bookpool.com/.x/nqbosfsev1/ss?qs=Lessons+Learned+in+Software+Testing&x=22&y=12button_addToCart2Gif().click();ShoppingBasket_LessonsLearnedVP().performTest(2.0, 20.0);ShoppingBasket_IconTextVP().performTest(2.0, 20.0);// Document: Bookpool: Shopping Basket:http://www.bookpool.com/.x/nqbosf15nm/ba/0471081124button_remove().click();browser_htmlBrowser(document_bookpoolShoppingBaske2(),MAY_EXIT).close();
}}
$#"'#
*+': ;%!#!$$?1"$$"#$$&!#$"#!#"$$"
9:
$('$?#(%%'%6 $;%?#%2&"$#*-"#&
@!?1,'8 3'$'(9 ?$')"##"$=##;"#(%$?=##%2
'!
-
5$%$&'$+$(%
6 0$51&$?1*$$"$$,
8/14/2019 Using IBM Rational Functional Tester 6 1 to run your first functional regression test
22/26
&'::#%%
8 $@)=2&$?=)"G@)&$@)G3""$$G@G/
9 3'"5$@)G$@)=2$"!$$#&$-"$$!%$$51
8/14/2019 Using IBM Rational Functional Tester 6 1 to run your first functional regression test
23/26
&0+$;:#'::%
8/14/2019 Using IBM Rational Functional Tester 6 1 to run your first functional regression test
24/26
$%%&$-$?1"$%$$##!$G".?"#!$-#!;#$!$"%$!#$$$"!%!3$%%
A G$"$'$$$$-$%&!$$!-$"%$"$$%$'$"!"!?$3?$#(%"
$##$$!3"?C ?$$'$0#3"#$$#(%
3?$%''$%4
&4:%+$;:
D 3'
%
3$%6 3'$'%$"
$$#$'"78*"""#,
2)+':%%
package RegressionScripts;import resources.RegressionScripts.VerifySearchHelper;public class VerifySubjects extends VerifySubjectsHelper{public void testMain(Object[] args)
{//HTML BrowserstartApp("www.BookPool.com");EntireSubjectsGridVP().performTest(2.0, 20.0);browser_htmlBrowser(document_bookpoolDiscountCompu(),MAY_EXIT).close();
}
8/14/2019 Using IBM Rational Functional Tester 6 1 to run your first functional regression test
25/26
}
$#"'#
%$$%'#$$#%$!B%&%$!!!!"'!$$#%%$#"&!%!$#$#%!"#$$B$%!$"$
$)1%&$('$')#1(%%1'6 ;"$#*-"#&')K3"#,'8 '#$'"79*"""#,
2,7
import resources.BookPool_CompleteRegressionHelper;public class BookPool_CompleteRegression extendsBookPool_CompleteRegressionHelper{public void testMain(Object[] args)
{// TODO Insert code here
}}
9 G$// TODO Insert code here""
8/14/2019 Using IBM Rational Functional Tester 6 1 to run your first functional regression test
26/26
%$$$!%$@%!#"!##$"$$%!2#$!!%!!2%$-$#$!#!$#%$$#1
3$'$$%""$$$!"'!"$"$%!#/'L
)#$$*';$#"$$",
##$#""#-#&!3"J*J&DDA,
!"#$%!'J!*#'&!6EE8,"""%'
'%$%$"& #%!'*3,
7$%"("#""$!"%&$!'(%!*#'&!6EE
Recommended