The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:




Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Testing Tools >> Micro Focus/Compuware QALoad

Pages: 1
tsc
Newbie


Reged: 08/17/10
Posts: 1
Exception Get () in combination with RR_printf
      #638929 - 08/17/10 04:21 AM

We recently upgraded QAload from version 5.06 to 5.09. I am validating the existing scripts we used many times with qaload 5.06, without any problems.

Now the following problem appears:

For example if I use the "Get" statement and the output string is being printed through a RR_printf statement, the validation ends with a middleware exception. But if I leave the RR_printf statement out, there is no Middleware exception and the validation is succesfull.

__flowID = Get(REPLY, STRING, "online-web/flows/k/", "\" method=");
RR__printf( "ID = %s", __flowID );


VU 0 : Line 361, 'Get(REPLY, STRING, "online-web/flows/k/", "" method=" )'
VU 0 : Line 366, 'Get(REPLY, STRING, "<td class="here">", "</td>" )'
VU 0 : Line 366, VU 0 CRASHED IN THE WWW MIDDLEWARE
VU 0 : Line 366, MIDDLEWARE EXCEPTION ERROR -- SCRIPT ABORTED
VU 0 : Line 366, 'EXIT'
VU 0 : Line 366, VU ENCOUNTERED A PROCESSING EXCEPTION

Anyone facing the same problem?


Post Extras: Print Post   Remind Me!   Notify Moderator  
drazle
Active Member


Reged: 11/30/00
Posts: 829
Loc: Michigan, USA
Re: Exception Get () in combination with RR_printf [Re: tsc]
      #638976 - 08/17/10 08:42 AM

There are lots of changes between 5.6 and 5.9. Did you recompile the scripts?

MicroFocus seems to have mucked with the CLoadString class for the 5.9 release (from 5.7 at least, which I'm using) and I had several issues related to using this object and RR__printf/printf and so far have not gone to 5.9. I recommend that you open a support ticket w/MicroFocus.

--------------------
A problem is a difference between what is perceived and what is desired, that
we want to reduce
(Dewey 1933)


Post Extras: Print Post   Remind Me!   Notify Moderator  
jmeuh
Newbie


Reged: 02/06/07
Posts: 14
Re: Exception Get () in combination with RR_printf [Re: drazle]
      #640745 - 09/01/10 08:37 AM

Try one of this :

CLoadString __flowID ="";
__flowID = Get(REPLY, STRING, "online-web/flows/k/", "\" method=");

printf("ID = %s", (char*)__flowID );
or
printf("ID = %s", __flowID.AsString() );


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 1 anonymous users are browsing this forum.

Moderator:  AJ, DSquared 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 2953

Rate this topic

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5