Quantcast
Channel: All LoadRunner Practitioners Forum posts
Viewing all 12134 articles
Browse latest View live

Re: Loadrunner 12.53 in windows 10

$
0
0

Hi,

In every steps can't use Action Completed because the step get executed before document gets fully loaded. So in some steps I use end event as "Step Synchronous network Completed" and after these steps also using "wait for object" steps.

I tried using End event as "Document loaded" in every step but in some place document get fully loaded but the step doesn't get completed and hang. It gives timeout error.

Thanks

 

 


Forbidden ERROR(403)

$
0
0

Hi,

I am getting Forbidden Error(403) and in that it is showing some URL address, I don't know why this error is rising during execution.This is happening in LOGIN scenario. when i checked in page resource in login page manually this URL is in "iframe id, src=URL address".

There are no correlation values for this script as it is in AJAX protocol.

Can anyone tell me why this error is occuring and any possible reasons for solving this issue, Please do the needful.

Thanks.

Re: Need JS code to press F2 button in Ajax Tru client

$
0
0

Hi,

Application prompts us  to press F2 to go to edit mode  to edit the selected rows.

I dont have much insight on how application was build for this functionality.

 

How to install plugin for TruClient-IE protocol in Vugen 12.02 (Application does not work while rcrd

$
0
0

I am unable to record an application using TruClient-IE protocol in Vugen 12.02

The application works fine in standalone IE browser only after installing additional plugins.

How can we install plugins for Truclient IE browser in 12.02.

Re: How to install plugin for TruClient-IE protocol in Vugen 12.02 (Application does not work while

Re: How to install plugin for TruClient-IE protocol in Vugen 12.02 (Application does not work while

$
0
0

Hi,

TruClient IE does not provide an easy way to install plugins as most plugins are not pure web based and TruClient supports record/replay of web based content only.

In order to configure a plugin in TruClient IE there is a need to manually configure TruClient IE registry branch, not something an end user is supposed to do.

Regards,

Shlomi

Re: Loadrunner 12.53 in windows 10

$
0
0

Hi,

I understand.

My best advice would be to use the automaticcally assigned end event as long as it is working. In case it does not use Action Completed and Wait for Object right after if. Change the Wait for Object step timeout to make sure it does not timesout while the document is being loaded.

Should you require further assistance please contact HPE support.

Regards,

Shlomi

 

Re: Need JS code to press F2 button in Ajax Tru client

$
0
0

Please use the code below inside Evaluate JavaScript step. The code you shared in the beginning of this post simulates only keydown. In order to fully simulate the user key stroke you need to add also keypress and keyup

 

var keyboardEvent = document.createEvent("KeyboardEvent");
var initMethod = typeof keyboardEvent.initKeyboardEvent !== 'undefined' ? "initKeyboardEvent" : "initKeyEvent";


keyboardEvent[initMethod](
"keydown", // event type : keydown, keyup, keypress
true, // bubbles
true, // cancelable
window, // viewArg: should be window
false, // ctrlKeyArg
false, // altKeyArg
false, // shiftKeyArg
false, // metaKeyArg
113, // keyCodeArg : unsigned long the virtual key code, else 0
0 // charCodeArgs : unsigned long the Unicode character associated with the depressed key, else 0
);
document.dispatchEvent(keyboardEvent);

keyboardEvent[initMethod](
"keypress", // event type : keydown, keyup, keypress
true, // bubbles
true, // cancelable
window, // viewArg: should be window
false, // ctrlKeyArg
false, // altKeyArg
false, // shiftKeyArg
false, // metaKeyArg
113, // keyCodeArg : unsigned long the virtual key code, else 0
0 // charCodeArgs : unsigned long the Unicode character associated with the depressed key, else 0
);
document.dispatchEvent(keyboardEvent);


keyboardEvent[initMethod](
"keyup", // event type : keydown, keyup, keypress
true, // bubbles
true, // cancelable
window, // viewArg: should be window
false, // ctrlKeyArg
false, // altKeyArg
false, // shiftKeyArg
false, // metaKeyArg
113, // keyCodeArg : unsigned long the virtual key code, else 0
0 // charCodeArgs : unsigned long the Unicode character associated with the depressed key, else 0
);
document.dispatchEvent(keyboardEvent);


Re: Cannot Start HP Web Tours Server

$
0
0

Thank you for idea how to fix.

This is the best answer among I've found on internet. Simple!!!!

I  think in addition to your recommendation need to try at first next:
Find line in file httpd.conf with text

#ServerName localhost:1080

and remove comment :

ServerName localhost:1080

Save and restart.

After restart HP Web tour Server Web tour application opens.

May be you don't need to change value Listen 1080.

If not working try to change both :

Listen <another value>

and

ServerName localhost:<another value>

And one more advice:

After starting HP Web tour Server (I'm using Windows Server 2012 R2) appear not clear message in command window. Do not close as it says in message. You can minimize window. If you close  - server will stop and you can't start Web tour application

Good luck!

 

Re: Load Generator Configuration

$
0
0

Hello Lior,

Thanks for the suggestion and guidance. I think i am getting close to understand the installation process. But i have few more questions.

Q1)We have requested creating the 2-Virtual Machines. One machine will be used as Controller and other machines as Load generator. So my question is when i get the installation setup file and during installation, on Controller should i select Controller as installation option? or should i install the full setup.  On load generator machine, should i just install the setloagenerator.exe file or should i install the full setup? Can you please advise.

Q2) After the Instllation, what are the post installation activities need to be performed?Can u please adivse?

Q3) We have licence for 1000 SAP ERP Vuser. SAP Vusers are of different types(SAP-WEB, SAP-GUI and Cliick and Script). My question is can we use 1000 SAP Vuser for any of the SAP Protocol or it depends on the licence? Meaning, 1000 Users can be SAP WEB or 1000 Vuser can be used for SAP GUI?

In other words, should we take licence for each sap protocol or just taking license for SAP bundle should be enough to run SAP ERP Vuser based on requriement? Can you please advise?

Q4) We have HP ALM(Quality Center) servers configured for Functional test cases and defect management. We are trying to Install HP PC as well. Can we install HP QC and HP PC on same instance of application server? 

As per my knowledge we can do it, but they would be certain limitations regarding the patch level. QC patches are released for x months and PC patches are release for x+2 months( just an example) So we need to wait until both level of patches are released. Apart of this what are the other limitations?

Hope to get some clarification from you. Thanks for your time and suggestion.

Re: How to install plugin for TruClient-IE protocol in Vugen 12.02 (Application does not work while

$
0
0

Thanks Shlomi for the reply.

I am trying to record "SAS Integrated Merchandize Planning" web application and protocol advisor shows Truclient.

However, when I try to use TruClient-IE to record, the layout of some objects are missing on the browser and page is not getting rendered properly.

But the aplication works fine in normal IE11 browser. I founf the reason to be that the application uses IE5 default (F12 Developer tools->Emulation Tab and Document Mode) but TruClient in LR12.02 supports applications compatible with IE9 and above.

 

Is there anyway t resolve this?

Re: Need JS code to press F2 button in Ajax Tru client

$
0
0

Hi Sholmi,

Thnaks for thge reply.

Tried the below code , no action is taking place still.

Re: "An error has occured" popup error while compiling or replaying the script in vugen.

$
0
0

Hi ,

When you are getting "An error has occurred". Just follow up below things,

  1. Save as your script with different name and different location then close the script.
  2. Open newly saved script.
  3. Go to Tools -> Option -> Turn off the Run Time Viewer.
  4. Compile -> Save -> Run now.

(It will work. Even if you are trying many time execution and It won't throw any error like "An error has occurred".)

Cheers!

Re: Using parameters on non-mandatory fields

$
0
0

It almost worked. But you did help me to find the solution. We needed to add al else statement

 

var paramValue = TC.getParam("ParamName");
if (paramValue == "EMPTY"){
""
}else {
TC.getParam("ParamName")
}

Re: Need JS code to press F2 button in Ajax Tru client

$
0
0

Hi,

I tried this code on  http://unixpapa.com/js/testkey.html and it works correctly.

Maybe you need to run in Evaluate JavaScrpt on Object or talk to the developers of your application to get help.

Regards,

Shlomi

 


Re: Using parameters on non-mandatory fields

Re: How to install plugin for TruClient-IE protocol in Vugen 12.02 (Application does not work while

$
0
0

Hi Danny,

What happens if you change the standards to 9 or above in regular IE browser? Will the application render corectly? 

If it does render correctly and there is no need in special plug-in it should be possible to support it also with TruClient IE - contact HPE support team.

If it does not render correctly and\or there is a need in a special plug-in it will not be supported by TruClient IE. You can try TruClient Firefox or TruClient Chromium instead

Good Luck,

Shlomi

LoadRunner 12.53 - Oracle Ebus Issue

$
0
0

Hi Guys,

I am looking to record a number of scripts for the Oracle Ebusiness Suite using HP LR 12.53. I have started off by simply recording the log in and out, using both Web HTTP/HTML protocol and Oracle WEB protocol seperately. However the code returned doesnt appear to pick up any information to correlate, and when I replay the script fails (looking at screenshots) but there is nothing in the script to correlate.

Can anyone suggested any settings I may need to change to get HP LR to pick up the required level of detail?

Many thanks,
Dave

Error: The remote host's status is 'Failed'. Check the remote host machine [and verify that it has n

$
0
0

Hi All,

 

I am running the file download script in HP Controller and AM encountering with the below error. Could any one please help me in solving this issue.

"Error: The remote host's status is 'Failed'. Check the remote host machine [and verify that it has not crashed]. [MsgId: MERR-29722]"

Thanks in Advance.

 

Re: Need JS code to press F2 button in Ajax Tru client

$
0
0

Hi Sholmi,

Thanks for your posts.

It worked when i changed the last line to to document.activeElement.dispatchEvent(keyboardEvent);

 

Viewing all 12134 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>