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
Search
 
 

Display results as :
 


Rechercher Advanced Search

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

None

[ View the whole list ]


Most users ever online was 36 on Wed Jan 10, 2018 12:25 am
February 2018
MonTueWedThuFriSatSun
   1234
567891011
12131415161718
19202122232425
262728    

Calendar Calendar


Getting error in compilation

Go down

Getting error in compilation

Post  puneet on 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

View user profile

Back to top Go down

source line too long

Post  Nitin on 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

View user profile

Back to top Go down

Back to top

- Similar topics

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