Hi All,

 

I am seeing VB Script issue while running Canoo Webtest to login to our
application.

 

Script is trying to, 

1.       Invoke the url of our application

2.       Entering the user credentials

3.       Clicking the Sign  In - button link

 

Here is the issue comes. The Sign In page is not going to next
page(http://mywebsite.com/adminTool_rs1/adminuser), it returns back to
previous response due to some VBScript WARNING
(https://mywebsite.com/application/signon/secured/login_adm.html).

 

Log Console Shows: 

 

  [invoke]  INFO (com.canoo.webtest.engine.WebClientContext) - Current
response now:
https://mywebsite.com/application/signon/secured/login_adm.html

[verifyTitle]  INFO (com.canoo.webtest.steps.Step) - >>>> Start Step:
verifyTitle "we should see the login title" (3/46)

[setInputField]  INFO (com.canoo.webtest.steps.Step) - >>>> Start Step:
setInputField "set user name" (4/46)

[setInputField]  INFO (com.canoo.webtest.engine.WebClientContext) -
Current form set to (action=/application/signon/secured/login.cgi)

[setInputField]  INFO
(com.canoo.webtest.steps.form.AbstractSetFieldStep) - Found 1 suitable
fields, considering only the first one

[setInputField]  INFO (com.canoo.webtest.steps.Step) - >>>> Start Step:
setInputField "set password name" (5/46)

[setInputField]  INFO
(com.canoo.webtest.steps.form.AbstractSetFieldStep) - Found 1 suitable
fields, considering only the first one

     [echo] click on login button

[clickLink]  INFO (com.canoo.webtest.steps.Step) - >>>> Start Step:
clickLink (8/46)

[clickLink]  INFO (com.canoo.webtest.engine.WebClientContext) - Content
of window changed to
https://mywebsite.com/application/signon/secured/login.cgi (text/html)

[clickLink]  INFO (com.canoo.webtest.engine.WebClientContext) - Content
of current window changed, it will become current response

[clickLink]  INFO (com.canoo.webtest.engine.WebClientContext) - Current
form set to none

[clickLink]  INFO (com.canoo.webtest.engine.WebClientContext) - Current
response now: https://mywebsite.com/application/signon/secured/login.cgi

[clickLink]  INFO (com.canoo.webtest.engine.Configuration) - Performing
refresh to http://mywebsite.com/adminTool_rs1/adminuser/ (delay: 0)
according to configuration

[clickLink]  WARN (com.gargoylesoftware.htmlunit.html.HtmlScript) -
Script is not JavaScript (type: , language: VBScript). Skipping
execution.

[clickLink]  INFO (com.canoo.webtest.engine.WebClientContext) - Content
of window changed to
https://mywebsite.com/application/signon/secured/login_adm.html
(text/html)

[clickLink]  INFO (com.canoo.webtest.engine.WebClientContext) - Content
of current window changed, it will become current response

[clickLink]  INFO (com.canoo.webtest.engine.WebClientContext) - Current
form set to none

 

Please help me to fix this issue,

 

Thanks,

Surya

Reply via email to