QA Forums
Welcome on the QA Forums.

To take full advantage of everything offered by our software testing & Quality forums, please log in if you are already a member or join our community if you're not yet.... Smile


Join the forum, it's quick and easy

QA Forums
Welcome on the QA Forums.

To take full advantage of everything offered by our software testing & Quality forums, please log in if you are already a member or join our community if you're not yet.... Smile
QA Forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
 
 

Display results as :
 


Rechercher Advanced Search

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
Who is online?
In total there are 2 users online :: 0 Registered, 0 Hidden and 2 Guests

None

[ View the whole list ]


Most users ever online was 36 on Wed Jan 10, 2018 12:25 am
April 2024
MonTueWedThuFriSatSun
1234567
891011121314
15161718192021
22232425262728
2930     

Calendar Calendar


Getting error in compilation

2 posters

Go down

Getting error in compilation Empty Getting error in compilation

Post  puneet Thu Oct 07, 2010 11:42 pm

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,

puneet

Posts : 21
Reward Points : 41
Join date : 2010-08-22

Back to top Go down

Getting error in compilation Empty source line too long

Post  Nitin Tue Mar 08, 2011 1:50 am

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

Nitin

Posts : 1
Reward Points : 1
Join date : 2011-03-07

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum