v4 - Possible Bugs?

t-hex

  • Joined: Nov 13, 2011
  • Posts: 152

Sat 5/5/2012 - 15:23

1.

Getting this particular error on 'Run VBScript' action:

On WinXP x86:

 

Input Error: Can not find script file "C:\Documents".

 

 

 

On Win7 x86:

 

Input Error: Can not find script file "C:\Users\xyz".

 

 

 


Any space in the file-path is making the 'Run VBScript' action module to error out?


Where does it want to expand to? %temp% path? to save/run a temporary VBScript file (*.vbs)?


-------------------------------------------------------------------------
2.

The "Custom Headers" in 'Invoke Web Service' action has a few limitations:
 

The following headers can't be set:

Connection
Content-Length
Date
Expect
Host
If-Modified-Since
Range
Referer
Proxy-Connection

 

If the above ^ are used, it results in:
 

Runtime Error: Failed to download from Web:This header must be modified using the appropriate property.Parameter name: name

 

The "referer" header part is very important when automating. I tried setting it as --> Referer: host.com
got the error previously mentioned.

Reference: http://stackoverflow.com/questions/239725/c-sharp-webrequest-class-and-headers

-------------------------------------------------------------------------
3.

'Invoke Web Service' action > 'Advanced' tab > 'Connection Timeout' field

Accepts integer values but defaults to the default value (30) after being set.


How to replicate:
  [i] Set the 'Connection Timeout' to say 31 > Click 'OK' to save an exit the 'Invoke Web Service' action dialog box
 [ii] Now open/double-click the action you just added to the queued actions window
[iii] Go to 'Connection Timeout' field > You'll see that it has default-ed to 30
-------------------------------------------------------------------------

Can users please report back? Thanks.

(*.waj file attached)

 

run_vbs_action_and_webService_Bug_v4.waj

#1

gwidon

  • Joined: May 10, 2012
  • Posts: 1

Thu 5/10/2012 - 9:15

I got the same error on XP:

Input Error: Can not find script file "C:\Documents".

Is there already a solution?

#2

t-hex

  • Joined: Nov 13, 2011
  • Posts: 152

Thu 5/10/2012 - 10:13

Hi gwidon smiley

 

No official soln./patch/fix available for any of the above bugs at the moment, after the v4.0.0.1256 release.

------------------

A workaround:

 

http://www.winautomation.com/forum/getting-data-computer-when-application-runinstalled#post_4

 

From post #4, get the "WMI_HDD_serial_using_vbs.waj" file.

 

=================================

 

This bug is/might be related to:

 

http://www.winautomation.com/forum/possible-bug-run-dos-command-module

#3

t-hex

  • Joined: Nov 13, 2011
  • Posts: 152

Fri 5/18/2012 - 14:21

@WA

 

Any update?

#4

Marios

  • Joined: May 26, 2009
  • Posts: 195

Mon 5/21/2012 - 17:26

Hi t-hex,

 

sorry for the delayed reply. Yes, I can confirm both bugs, and we'll have a fix in our next maintentance release asap (if possible by the end of the week).

 

 

#5

c.galissaires

  • Joined: May 25, 2012
  • Posts: 8

Wed 5/30/2012 - 7:33

Hi all,

 

I got the same error on Windows 2003 server:

Input Error: Can not find script file "C:\Documents".

is the fix patch available please ?

 

Kind regards

 

Cyril
 

#6

Samantha

  • Joined: Apr 23, 2010
  • Posts: 2326

Mon 6/4/2012 - 13:39

we're expecting a maintenance realease to be made available within the next couple of weeks at the latest

 

Samantha

#7

cvbusa

  • Joined: Nov 6, 2010
  • Posts: 34

Wed 6/13/2012 - 17:05

Ditto on this Run VBScript action error on Windows XP 32-bit with WinAutomation 4.0.0.1256

 

%VBScriptOutput% = Input Error: Can not find script file "C:\Documents"

 

Charles

#8

Samantha

  • Joined: Apr 23, 2010
  • Posts: 2326

Tue 6/19/2012 - 14:26

Yes, this is a known bug Charles, and a fix for it has been implemented already, and will be available shortly, within the forthcoming maintenance release

 


Samantha

#9

kimc

  • Joined: Jan 13, 2011
  • Posts: 298

Thu 6/21/2012 - 18:28

Found another "interesting" situation. Just upgraded to V4 at work. So, I opened an previous V3 job and noticed that, although my job designer options were set to "Show Small Icons" and no "Show Action Name" - that the Action Names were actually displayed. That only happened on the FIRST open of the job, and only that job. After that, all was well. Kind of odd.

#10

Samantha

  • Joined: Apr 23, 2010
  • Posts: 2326

Fri 6/22/2012 - 16:13

It's odd indeed! I'm afraid I could not reproduce it, however, I'll keep my eyes open for any similar cases, before I can open a ticked for this one.

 

Samantha

 

 

#11

t-hex

  • Joined: Nov 13, 2011
  • Posts: 152

Fri 12/21/2012 - 14:43

3.

 

'Invoke Web Service' action > 'Advanced' tab > 'Connection Timeout' field

Accepts integer values but defaults to the default value (30) after being set.


How to replicate:
  [i] Set the 'Connection Timeout' to say 31 > Click 'OK' to save an exit the 'Invoke Web Service' action dialog box
 [ii] Now open/double-click the action you just added to the queued actions window
[iii] Go to 'Connection Timeout' field > You'll see that it has default-ed to 30
 

 

^ still there on v4.0.3.1892

 

---------------------------------------------------------------------------

 

4.

 

"Cookie" header, if present in "Invoke Web Service > Custom Headers" has no effect.

bug2.waj

#12

Marios

  • Joined: May 26, 2009
  • Posts: 195

Fri 12/21/2012 - 20:24

Hi t-hex,

 

you are right, we've corrected this in v. 4.0.4 which we made available today. Thanks for bringing this into attention

#13

fawad.naseer

  • Joined: Nov 22, 2012
  • Posts: 61

Sat 12/22/2012 - 5:30

updated to the latest version getting this error 

Edited: Ignore it , working fine now.

#14

t-hex

  • Joined: Nov 13, 2011
  • Posts: 152

Sat 12/22/2012 - 11:54

Thanks for the reply Marios. Issue no. 3 was fixed after upgrading WA to v4.0.4.2093. Thanks again for the awesome support :)

Also, can you please look into this:

4.

"Cookie" header, if present/set in "Invoke Web Service > Custom Headers" has no effect.

Setting client side cookie, does not show up in the actual request sent during the execution of the "Invoke Web Service" action/command. Client set cookie seems to be stripped off from the request.

How to replicate:
  [i] Set the 'Custom Headers' field in the 'Invoke Web Service' action dialog box to, say:


      "Cookie: name1=value1; name2=value2"
      (without quotes)
      
      > Click 'OK' to save and exit the 'Invoke Web Service' action dialog box

 [ii] Setup a TCP/HTTP debugger to capture client-side requests
[iii] Run the concerned 'Invoke Web Service' action/command
[iv] View the captured request in TCP/HTTP debugger

      > See if 'Cookie' header is present/set in the request.

#15

Marios

  • Joined: May 26, 2009
  • Posts: 195

Sun 12/23/2012 - 21:37

thanks for the details, we entered it in our issue tracking system and we'll fix it in our next maintenance release. The current release was already scheduled, so we only had time to to correct the timeout glitch, which was a quick fix smiley

#16

t-hex

  • Joined: Nov 13, 2011
  • Posts: 152

Wed 4/3/2013 - 8:48

Any update on the 'Cookie' header issue? Having a really hard time processing jobs dependent on cookie manipulation :|

#17

Samantha

  • Joined: Apr 23, 2010
  • Posts: 2326

Wed 4/3/2013 - 16:49

The "Cookie" header issue has been fixed already and a fix for it will be included within the next maintenance release

 

Samantha

#18

t-hex

  • Joined: Nov 13, 2011
  • Posts: 152

Sat 4/6/2013 - 9:09

Thanks so much for the reply Samantha :)

#19
Not a member yet? Register

Copyright 2013 - Softomotive Ltd