Pop - up recognition in Ajax Tru Client Protocol (2940 Views)
Reply
Occasional Contributor
Saip
Posts: 2
Registered: ‎10-15-2012
Message 1 of 24 (2,940 Views)

Pop - up recognition in Ajax Tru Client Protocol

Hi,

 

We have recorded an application using Ajax Tru Client protocol ( as this is the only protocol supported) and a pop - up ( confirmation pop up before logging out on saving data) is recorded while doing the recording ( which is expected as per the application flow) but while replaying it is not able to recognized and it is failing at this step. I am not able to do Object identification as I do not see the Object arguments in that step. It is recorded as separate step.

 

Could you please let me know the solution of it.

 

 

Thanks,

RSP

Please use plain text.
HP Expert
Shlomi Nissim
Posts: 105
Registered: ‎08-15-2009
Message 2 of 24 (2,917 Views)

Re: Pop - up recognition in Ajax Tru Client Protocol

Hi,

 

Can you please describe what type of pop-up it is? Is it a custom application window or browser confirmation dialog?

 

Regards,

Shlomi

Visit LoadRunner Linked-In Group: http://www.linkedin.com/groups?about=&gid=1879289

Visit TruClient Linked-In Group: http://www.linkedin.com/groups/HP-TruClient-Software-group-4539324/about
Please use plain text.
Occasional Advisor
Satzz
Posts: 12
Registered: ‎09-24-2012
Message 3 of 24 (2,910 Views)

Re: Pop - up recognition in Ajax Tru Client Protocol

[ Edited ]

Hi,

just increase the levels (available on the top sildebar) to 2 or 3 and run the script...

It may run because at level 1-> some objects may not be recorded...

Please use plain text.
Frequent Advisor
liviya
Posts: 85
Registered: ‎12-05-2011
Message 4 of 24 (2,820 Views)

Re: Pop - up recognition in Ajax Tru Client Protocol

Hi Saip,

 

Did you found any solution because I am facing same issue.

 

Thanks in advance.

 

Regards,

Deepak

Please use plain text.
HP Expert
Shlomi Nissim
Posts: 105
Registered: ‎08-15-2009
Message 5 of 24 (2,792 Views)

Re: Pop - up recognition in Ajax Tru Client Protocol

Hi,

 

Can you please describe what type of popup is it and which version of LoadRunner you are using?

Visit LoadRunner Linked-In Group: http://www.linkedin.com/groups?about=&gid=1879289

Visit TruClient Linked-In Group: http://www.linkedin.com/groups/HP-TruClient-Software-group-4539324/about
Please use plain text.
Frequent Advisor
liviya
Posts: 85
Registered: ‎12-05-2011
Message 6 of 24 (2,730 Views)

Re: Pop - up recognition in Ajax Tru Client Protocol

Hi Shilomi,

 

We are facing same issue. The pop up is a windows pop up to "save or open" pdf file.

 

LR version:-11.51

Firefox:-22

 

Please suggest how we can handle this.

 

Regards,

Deepak

Please use plain text.
HP Expert
Guy_Rosenthal
Posts: 208
Registered: ‎10-24-2011
Message 7 of 24 (2,727 Views)

Re: Pop - up recognition in Ajax Tru Client Protocol

Kindly attach a screenshot of the pop-up dialog.

 

Guy Rosenthal
TruClient RnD Team Manager
TruClient-STORM RnD
Please use plain text.
Frequent Advisor
liviya
Posts: 85
Registered: ‎12-05-2011
Message 8 of 24 (2,724 Views)

Re: Pop - up recognition in Ajax Tru Client Protocol

Hi,

 

Please find the attached screenshot for reference.

 

Regards,

Deepak

Please use plain text.
HP Expert
Guy_Rosenthal
Posts: 208
Registered: ‎10-24-2011
Message 9 of 24 (2,717 Views)

Re: Pop - up recognition in Ajax Tru Client Protocol

This pop-up come from the OS and not from the browser thus cannot be recorded.

You can install Adobe Reader plugin which will open the PDF in-place at the browser.

in order to do so:

 

Copy  nppdf32.dll (can be taken from the adobe reader installed on the machine) to:
%LR_PATH%\bin\firefox\plugins --> create plugin directory if not exist
 and      
%LR_PATH%\bin\gecko\plugins --> create plugin directory if not exist

Guy Rosenthal
TruClient RnD Team Manager
TruClient-STORM RnD
Please use plain text.
Frequent Advisor
liviya
Posts: 85
Registered: ‎12-05-2011
Message 10 of 24 (2,712 Views)

Re: Pop - up recognition in Ajax Tru Client Protocol

Thanks a lot Rosenthal.

 

Regards,

Deepak

Please use plain text.
Frequent Advisor
liviya
Posts: 85
Registered: ‎12-05-2011
Message 11 of 24 (2,708 Views)

Re: Pop - up recognition in Ajax Tru Client Protocol

One more question.

 

There is no way to record any pop up which comes from OS using TruClient protocol.

 

Regards,

Deepak

Please use plain text.
HP Expert
Guy_Rosenthal
Posts: 208
Registered: ‎10-24-2011
Message 12 of 24 (2,705 Views)

Re: Pop - up recognition in Ajax Tru Client Protocol

No

Guy Rosenthal
TruClient RnD Team Manager
TruClient-STORM RnD
Please use plain text.
Occasional Visitor
Pavan111
Posts: 1
Registered: ‎09-13-2013
Message 13 of 24 (2,668 Views)

Re: Pop - up recognition in Ajax Tru Client Protocol

Hi ,

I am using VUGen TruClient protocol for my application and clicking on export btn ("Excel file") one pop up window is opening with different options(Open with,Save File...) and had to click on ok btn on this popup window

 

The problem is that, True client is not capturing the popup window, i used general object action and try to highlight the window but it dosn't capture i,

 

Can you suggest me how to capture this window or can we hadndle excel files also like the pdf files? (by keeping the nppdf32.dll  file in LR path).

 

Thanks in Advance

 

Please use plain text.
HP Expert
Suerte13cr
Posts: 736
Registered: ‎09-14-2011
Message 14 of 24 (2,660 Views)

Re: Pop - up recognition in Ajax Tru Client Protocol

That dll is just for PDFs and its for firefox to open them in browser without having to go through the step saving it, a functionality like this in firefox can only be done with plug ins which AJAX TC Firefox does not support as it is mainly for javascripting recording, and as mentioned before OS prompts are not recorded and when opening excel files it will ask for it to be downloaded locally for another program to open it.

 

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.
Please use plain text.
Frequent Advisor
liviya
Posts: 85
Registered: ‎12-05-2011
Message 15 of 24 (2,616 Views)

Re: Pop - up recognition in Ajax Tru Client Protocol

HI,

 

After Copying nppdf32.dll, I was able to open pdf file in browser itself. Now, I am facing issue while running this script in performance center. For some PDF file I am getting "Your browser cannot render the document. Please install  a pdf plugin accordingly" error but there is no issue with other PDF files. However, I am able to open all PDF documents manually.

 

Please find the attached screenshot for reference.

 

Regards,

Deepak

Please use plain text.
Occasional Visitor
Madhuban
Posts: 1
Registered: ‎12-05-2013
Message 16 of 24 (2,302 Views)

Re: Pop - up recognition in Ajax Tru Client Protocol

[ Edited ]

Hi All,

 

I am also facing the same OS pop-up issue. While recording or replaying, I get an authentication pop-up asking for the userid and password. Can someone please help me get rid of this pop-up. This is causing a lot of troubles. I have attached the screenshot for your reference.

 

Thanks,

Madhuban

Please use plain text.
HP Expert
Shlomi Nissim
Posts: 105
Registered: ‎08-15-2009
Message 17 of 24 (2,285 Views)

Re: Pop - up recognition in Ajax Tru Client Protocol

Change all instance of user.js located under the script directory as well as the instance located in %appdata%\Hewlett-Packard\LoadRunner\Web2\LrWeb2MasterProfile

 

Modify the following entries or add it in case it does not exist:

 

user_pref("network.automatic-ntlm-auth.allow-proxies", true);

user_pref("network.negotiate-auth.allow-proxies", true);

 

user_pref("network.negotiate-auth.trusted-uris", "https://<your_domain_name>");

user_pref("network.automatic-ntlm-auth.trusted-uris", "https://<your_domain_name>");

 

 

Visit LoadRunner Linked-In Group: http://www.linkedin.com/groups?about=&gid=1879289

Visit TruClient Linked-In Group: http://www.linkedin.com/groups/HP-TruClient-Software-group-4539324/about
Please use plain text.
Frequent Visitor
srashiec
Posts: 3
Registered: ‎04-25-2014
Message 18 of 24 (1,403 Views)

Re: Pop - up recognition in Ajax Tru Client Protocol

Hi

'm currently using LR11.5 anf truclient IE protocol to script my application. I have PDF report that gets generated in the separate browser window in truclient browser. The problem is its not getting identified. I want to have a text check on the report but the objects are not getting identified. Also while recording there is a step "Activate tab2" for this action but while replaying it fails with the incorrect ordinal value. pls help
Please use plain text.
HP Expert
Guy_Rosenthal
Posts: 208
Registered: ‎10-24-2011
Message 19 of 24 (1,379 Views)

Re: Pop - up recognition in Ajax Tru Client Protocol

Hi,

TruClient can not work on PDF content as it is not part of the page DOM.

Regarding the 2nd issue you should elaborate more, send scripts or snapshots.

Guy Rosenthal
TruClient RnD Team Manager
TruClient-STORM RnD
Please use plain text.
Frequent Visitor
srashiec
Posts: 3
Registered: ‎04-25-2014
Message 20 of 24 (1,355 Views)

Re: Pop - up recognition in Ajax Tru Client Protocol

When you say "TruClient can not work on PDF content as it is not part of the page DOM", so if i have to find out response time for any report that gets generated, what could be the best way to do it? is it possible through some other protocol like web http/html protocol? 

Also can Truclient be combined with some other protocol to get an multi protocol script? Coz when i tried ,the Truclient protocol was not available for selection for a multiprotocol script?

 

Please use plain text.
HP Expert
Guy_Rosenthal
Posts: 208
Registered: ‎10-24-2011
Message 21 of 24 (1,352 Views)

Re: Pop - up recognition in Ajax Tru Client Protocol

Hi,

1. You can surround the download step with transaction with Network completed End Event for that.

2. TruClient protocols do not support multi-protocol feature

 

Thanks,

Guy Rosenthal
TruClient RnD Team Manager
TruClient-STORM RnD
Please use plain text.
Frequent Visitor
srashiec
Posts: 3
Registered: ‎04-25-2014
Message 22 of 24 (1,345 Views)

Re: Pop - up recognition in Ajax Tru Client Protocol

Thank you...Appropos to your suggestion, i surrounded the step with transaction. And it does work but i wanted to confirm if this gives the response time for report generation or its for click action. like in my AUT,i have RUN button available on UI and clicking on that brings up the report. 

 

Attached is the screenshot for the same.

 

Please use plain text.
Occasional Visitor
Harsha123
Posts: 1
Registered: ‎06-30-2014
Message 23 of 24 (822 Views)

Re: Pop - up recognition in Ajax Tru Client Protocol

Hi

 

I am also having authentication popup problem.  I am using 11.52 Loadrunner.  The path you mentioned for user.js, I could not find.  Could you please help.

 

Regards,

Harsha

Please use plain text.
Occasional Visitor
Naveen_K
Posts: 1
Registered: ‎07-24-2014
Message 24 of 24 (496 Views)

Re: Pop - up recognition in Ajax Tru Client Protocol

hi Team HP, Can you please respond to the above query.

As per your below suggestion. Will this confirm the Download of Document from server. or should we set Step completed as "Document Download"

1. You can surround the download step with transaction with Network completed End Event for that.


Thanks
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation