I am trying to automate the login page to start for the following website
:https://www.network.comFor some reason input fields are not
recognized.Following is my script. I will highly appreciate for your
help.-------------------<project name="SimpleTest" basedir="." default="main">
<property name="webtest.home" location="/export/home/sgqa/webtest" />
<import file="${webtest.home}/lib/taskdef.xml"/> <target name="main">
<webtest name="LoginTest"> <config
saveresponse="true" resultpath="/tmp/results"
showhtmlparseroutput="true"
host="network.com" port="443"
protocol="https" /> <steps> <invoke
description="Load Login Page"
url="/GridPortal/GridPortal/StartAction.do?aceActionName=AceSpecificInitializeOnly"
/> <verifyTitle description="We should
see Welcome to Sun Grid" text="Sun Grid" />
<verifyText description="Verify the Welcome to Sun Grid"
text="Enter" /> <selectForm name="GridPortal_LandingForm" />
<verifyInputField name="usrNm" formName="GridPortal_LandingForm"
value="" /> </steps> </webtest>
</target></project>----------------------Following is the screen output when I
am executing the test case :[selectForm] INFO
(com.canoo.webtest.engine.WebClientContext) - Current form set to
(action=/GridPortal/GridPortal/LandingAction.do;jsessionid=F9888A61AA614739A126A88302E7E53D)[verifyInputField]
INFO (com.canoo.webtest.steps.Step) - >>>> Start Step: verifyInputField
(5/5)[verifyInputField] INFO (com.canoo.webtest.steps.Step) - Running with:
Canoo Webtest: R_1551.[verifyInputField] INFO (com.canoo.webtest.steps.Step) -
Exception thrown from this class:
com.canoo.webtest.engine.StepFailedException[verifyInputField] INFO
(com.canoo.webtest.steps.Step) - Message was: No suitable form found having
field named "usrNm" INFO (com.canoo.webtest.steps.Step) - Running with: Canoo
Webtest: R_1551. INFO (com.canoo.webtest.steps.Step) - Exception thrown from
this class: com.canoo.webtest.engine.StepFailedException INFO
(com.canoo.webtest.steps.Step) - Message was: No suitable form found having
field named "usrNm" INFO (com.canoo.webtest.ant.WebtestTask) - Finished
executing webtest "LoginTest"
(/export/home/sgqa/webtest/practice/SimpleTest.xml:6: )BUILD
FAILED/export/home/sgqa/webtest/practice/SimpleTest.xml:6: Canoo Webtest:
R_1551.Test failed.Test step steps
(/export/home/sgqa/webtest/practice/SimpleTest.xml:14: ) null failed with
message "No suitable form found having field named "usrNm""Total time: 20
secondsThanksAshok
_________________________________________________________________
Create the ultimate e-mail address book. Import your contacts to Windows Live
Hotmail.
www.windowslive-hotmail.com/learnmore/managemail2.html?locale=en-us&ocid=TXT_TAGLM_HMWL_reten_impcont_0507