Showing results for 
Search instead for 
Do you mean 

script error

Honored Contributor Honored Contributor

script error

while running script from vugen

 

we are getting error for oracle form based application throught protocol oracle web application.

 

New_Contact.c(219): nca_java_action("281","resourceRequest")
New_Contact.c(221): Checking for active timers...
New_Contact.c(221):     No timers found, exiting.
New_Contact.c(221): Add to flush terminate message
New_Contact.c(221): nca_java_action("281","msgRequested")
New_Contact.c(223): nca_step_end: terminate message
New_Contact.c(223): Timer is already in use -> could not be scheduled twice
New_Contact.c(223): No timers in queue -> nothing to schedule

 

script not getting proceed at above steps

 

any suggestions

 

Cheers!

Nvr Blame a day in ur life....... Good day gives "happiness" & Bad day gives "experience" ......
4 REPLIES
HPE Expert

Re: script error

Hi Parkar,

 

Try what is mentioned in this article:

http://support.openview.hp.com/selfsolve/document/KM1258034

 

Regards,

Mario

HP LR/PC Support

If you are customer you can try posting on our internal forums for more personalized support.

LoadRunner:
http://h30499.www3.hp.com/t5/LoadRunner-Support-Customer/bd-p/loadrunner-support-customer-forum

Performance Center:
http://h30499.www3.hp.com/t5/Performance-Center-Support/bd-p/performance-center-support-customer

How to:
http://www.youtube.com/watch?v=4ChlysWupWM

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
Frequent Visitor

Re: script error

Hi Mario, I am not able to view the link provided.Can you please send me the doc to my  mail  sandhya.hanny@gmail.com.

or else please suggest me a solution?

 

Cheers

HPE Expert

Re: script error

This is what is mentioned for solution:

 

Set the NCA time as follows:

  1. Close VuGen.
  2. Set the NCATimerWaitMode=0,1,2,3 in the default.cfg file in the script folder.
        You can set different values but at a time only ONE value.
        Default value is 0.
  3. Open VuGen and open script.
  4. Replay the script.
  5. At least one of the value should help and script should replay fine.

In Runtime Settings, try the following:

Oracle NCA ---> Client Emulation --> Uncheck “Enable heartbeat” --> This is a good practice. 

 
Regards,

Mario M.

HP LR/PC Support

If you are customer you can try posting on our internal forums for more personalized support.

LoadRunner:
http://h30499.www3.hp.com/t5/LoadRunner-Support-Customer/bd-p/loadrunner-support-customer-forum

Performance Center:
http://h30499.www3.hp.com/t5/Performance-Center-Support/bd-p/performance-center-support-customer

How to:
http://www.youtube.com/watch?v=4ChlysWupWM

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
Occasional Visitor

Re: script error

Thansk That helps, but curious what is that issue and what was teh exact solution.

I also below is in my script, when tried to delete few nca_wait_for_timer (); script failed to identify next window, any help ???

Do we need to have the same # of nca_wait_for_timer (); , can't we replace only one with a  parametr in it ....

    nca_wait_for_timer(NCA_TIMER_NEAREST);
    nca_wait_for_timer(NCA_TIMER_NEAREST);
    nca_wait_for_timer(NCA_TIMER_NEAREST);
    nca_wait_for_timer(NCA_TIMER_NEAREST);
    nca_wait_for_timer(NCA_TIMER_NEAREST);
    nca_wait_for_timer(NCA_TIMER_NEAREST);
    nca_wait_for_timer(NCA_TIMER_NEAREST);
    nca_wait_for_timer(NCA_TIMER_NEAREST);
    nca_wait_for_timer(NCA_TIMER_NEAREST);
    nca_wait_for_timer(NCA_TIMER_NEAREST);

    /* Exit to Forms */
    nca_set_window("Expenditure Items");
    nca_menu_select_item("Expenditure Items", "File;Exit Oracle Applications");

    /* Click On OK */
    nca_set_window("Caution");
    nca_popup_message_press("Caution", "OK");
    /* Logout */
      web_reg_find("Text=Single Sign-Off", 
        LAST);

    web_url("OALogout.jsp", .....................................

.....................................................

 

Thanks,
RaZendhar