[Webtest] propertyTable nested to step

Archit P webtest@lists.canoo.com
Mon, 2 Jan 2006 11:42:47 +0530


This is a multi-part message in MIME format.

------_=_NextPart_001_01C60F63.8D6F867D
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi,=0D=0A=0D=0AWe had contributed an "importdata" step that does exactly wh=
at you=0D=0Arequire. It was posted on the webtest's wiki, but was not compa=
tible=0D=0Awith latest webtest. We have modified it for the current webtest=
 version=0D=0Abut the coding conventions and comments are still incomplete.=
 We are=0D=0Agoing to enhance and put it on webtest community site soon. Bu=
t for now=0D=0Ayou can use the step attached with this mail.=0D=0A=0D=0AYou=
 need to put the jar file in your $Webtest_Home/lib directory.=0D=0AAlso in=
side "webtestTaskdefs.properties" file add the following entry:=0D=0A  impo=
rtdata:com.mastek.canoo.webtest.ImportDataStep=0D=0A=0D=0AUSAGE "importdata=
" step.=0D=0A------------------------=0D=0A<importdata containerTable=3D"<X=
LS-FILE-NAME>"=0D=0Atable=3D"<Name-of-the-table-to-access>"=0D=0Afilterclas=
s=3D"<Name-of-the-filter-class">=0D=0A</importdata>=0D=0A=0D=0AFor steps in=
side <importdata> step you can access the excel cell values=0D=0Aas webtest=
 properties (using #{prop.value})=0D=0A=0D=0A=0D=0ARegards,=0D=0AArchit=0D=0A=0D=
=0A=0D=0A-----Original Message-----=0D=0AFrom: St_Germain@web.de [mailto:St=
_Germain@web.de]=20=0D=0ASent: Friday, December 30, 2005 5:30 PM=0D=0ATo: w=
ebtest@lists.canoo.com=0D=0ASubject: [Webtest] propertyTable nested to step=0D=
=0A=0D=0A=0D=0AHello everybody,=0D=0A=0D=0AI've to test many same actions w=
ithin one step like:=0D=0A=0D=0A(Steps I'll do)=0D=0A=0D=0A1.invoke url=0D=0A=
2.verifylink=0D=0A3.setInputField: user=0D=0A4.setInputField:pass=0D=0A5.cl=
ickButton submit=0D=0A=0D=0A6. Steps with propertyTable or equivalent=0D=0A=
# from this point I'll use the propertyTable informations to go on #=0D=0Ah=
ere are many links on page I now called customer! for each customer.id=0D=0A=
from propertyTable do=0D=0A   clickLink label=3D"${customer.id}"=0D=0A   se=
tInputField id=3D"${customer.string1}"=0D=0A   [...]=0D=0Adone=0D=0A=0D=0A7=
=2EclickLink logout=0D=0A=0D=0ADo you have any hint how I can solve this ta=
sk with webtest and without=0D=0Ascripting in it=3F Thanks + Kind regards S=
t Germain=0D=0A=0D=0A=0D=0A________________________________________________=
______________________=0D=0AXXL-Speicher, PC-Virenschutz, Spartarife & mehr=
: Nur im WEB.DE Club!=0D=0A=0D=0AJetzt gratis testen! http://freemail.web.d=
e/home/landingpad/=3Fmc=3D021130=0D=0A=0D=0A_______________________________=
________________=0D=0AWebTest mailing list=0D=0AWebTest@lists.canoo.com htt=
[Webtest] Re: Canoo WebTest R_1104 Build Fixed

	
  • Next message: FW: [Webtest] propertyTable nested to step
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]