Hi 

 

After upload the file  I am getting this type of error.

 

<error exception="com.canoo.webtest.engine.StepExecutionException"

                filename="D:\TAF\Canoo\orgWebTest.xml" line="133"
message="Current response is not an HTML page but of type text/csv">

                <stacktrace><![CDATA[D:\TAF\Canoo\orgWebTest.xml:133:
Current response is not an HTML page but of type text/csv, Step:
SetFileField at D:\TAF\Canoo\orgWebTest.xml:133:  with
(taskName="setFileField")

                at
com.canoo.webtest.engine.WebClientContext.getCurrentHtmlResponse(WebClientCo
ntext.java:206)

                at
com.canoo.webtest.engine.Context.getCurrentHtmlResponse(Context.java:85)

                at
com.canoo.webtest.util.FormUtil.searchAllFormsForSuitableOne(FormUtil.java:1
06)

                at
com.canoo.webtest.util.FormUtil.findFormForField(FormUtil.java:94)

                at
com.canoo.webtest.steps.form.SetFileField.findForm(SetFileField.java:65)

                at
com.canoo.webtest.steps.form.AbstractSetFieldStep.doExecute(AbstractSetField
Step.java:139)

                at com.canoo.webtest.steps.Step.execute(Step.java:101)

                at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

                at org.apache.tools.ant.Task.perform(Task.java:364)

                at
com.canoo.webtest.ant.TestStepSequence.executeSteps(TestStepSequence.java:43
)

                at
com.canoo.webtest.ant.TestStepSequence.doExecute(TestStepSequence.java:31)

                at com.canoo.webtest.steps.Step.execute(Step.java:101)

                at org.apache.tools.ant.Task.perform(Task.java:364)

                at
com.canoo.webtest.ant.WebtestTask.execute(WebtestTask.java:197)

                at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

                at org.apache.tools.ant.Task.perform(Task.java:364)

                at org.apache.tools.ant.Target.execute(Target.java:341)

                at org.apache.tools.ant.Target.performTasks(Target.java:369)

                at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)

                at
org.apache.tools.ant.Project.executeTarget(Project.java:1185)

                at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.j
ava:40)

                at
org.apache.tools.ant.Project.executeTargets(Project.java:1068)

                at org.apache.tools.ant.Main.runBuild(Main.java:668)

                at org.apache.tools.ant.Main.startAnt(Main.java:187)

                at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)

                at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)

]]></stacktrace>

            </error>

 

Here previous response was html page now it's  type text/csv. How can I
render from current response to previous.

 

Thanks for any help.

 

Thanks

Reddy  k

 


DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the 
property of Persistent Systems Ltd. It is intended only for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient, you are not authorized to read, retain, copy, print, distribute or 
use this message. If you have received this communication in error, please 
notify the sender and delete all copies of this message. Persistent Systems 
Ltd. does not accept any liability for virus infected mails.

Reply via email to