Search
Who is online?
In total there are 2 users online :: 0 Registered, 0 Hidden and 2 Guests None
Most users ever online was 36 on Wed Jan 10, 2018 12:25 am
Getting error in compilation
2 posters
Page 1 of 1
Getting error in compilation
Hi,
I am trying to use OpenSTA for testing my application.
I am able to record a Script,but getting following error while compilation.
================================================================
Compiling... NEWSCRIPT.HTP
"User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; GTB6.5; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3
*************************************************************************************************************************************
NEWSCRIPT.HTP(22) : error (badrecsiz), Source Line is Too Long
CONSTANT S_cookie_1_0 = "ASP.NET_SessionId=uwydpa21l1dfudbya5h10n55"
*********************************************************************
NEWSCRIPT.HTP(23) : error (exttxt), Unexpected Text Encountered Following Statement
"Cookie: "+S_cookie_1_0}
************
NEWSCRIPT.HTP(233) : error (undefvar), Undefined Variable
scl: info (endnoobj), NEWSCRIPT.HTP Completed with 3 Diagnostics - Object Deleted
================================================================
I have changed LAN settings to proxy server and port 8080.
I have changed browser to IE 7.
Thanks,
I am trying to use OpenSTA for testing my application.
I am able to record a Script,but getting following error while compilation.
================================================================
Compiling... NEWSCRIPT.HTP
"User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; GTB6.5; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3
*************************************************************************************************************************************
NEWSCRIPT.HTP(22) : error (badrecsiz), Source Line is Too Long
CONSTANT S_cookie_1_0 = "ASP.NET_SessionId=uwydpa21l1dfudbya5h10n55"
*********************************************************************
NEWSCRIPT.HTP(23) : error (exttxt), Unexpected Text Encountered Following Statement
"Cookie: "+S_cookie_1_0}
************
NEWSCRIPT.HTP(233) : error (undefvar), Undefined Variable
scl: info (endnoobj), NEWSCRIPT.HTP Completed with 3 Diagnostics - Object Deleted
================================================================
I have changed LAN settings to proxy server and port 8080.
I have changed browser to IE 7.
Thanks,
puneet- Posts : 21
Reward Points : 41
Join date : 2010-08-22
source line too long
Hi,
The solution for message is break the source code line in between using " & ".
As in ur case problem is with line number 22
"NEWSCRIPT.HTP(22) : error (badrecsiz), Source Line is Too Long"
then, if the line number 22 is too long then,
break into 2 lines as follows,
previous:-
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1;
GTB6.5; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3
After :-
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; " &
" GTB6.5; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3
The solution for message is break the source code line in between using " & ".
As in ur case problem is with line number 22
"NEWSCRIPT.HTP(22) : error (badrecsiz), Source Line is Too Long"
then, if the line number 22 is too long then,
break into 2 lines as follows,
previous:-
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1;
GTB6.5; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3
After :-
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; " &
" GTB6.5; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3
Nitin- Posts : 1
Reward Points : 1
Join date : 2011-03-07
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
Mon Mar 06, 2017 3:29 am by JebaQpt
» Can you say some unavoidable aspects for all Android App Testing Services?
Thu Oct 20, 2016 3:12 am by testbytes
» Can someone say about the things to look for while hiring iPad App Testing Services?
Fri Oct 14, 2016 5:26 am by testbytes
» Can you suggest some top testing frameworks used by Android App Testing Services?
Fri Oct 14, 2016 5:24 am by testbytes
» Can someone say why should hire specialist iPad app testing services?
Fri Oct 14, 2016 5:21 am by testbytes
» Can someone say how Android mobile app testing will become crucial in next 5 years?
Wed Aug 17, 2016 5:44 am by testbytes
» Can you say how iPhone app testing services fare in next few years?
Wed Aug 17, 2016 5:33 am by testbytes
» Can anyone say how different types of Mobile Application Testing improve the credibility of apps?
Wed Aug 17, 2016 5:07 am by testbytes
» Can you say some useful fragmentation tools used by android app testing services?
Mon Jul 25, 2016 1:01 am by testbytes