Tuesday, April 14, 2015

VUGen Not Recording Applications Running on Chrome

Problem StatementDuring testing we might encounter situations where some of the web-applications are supported only on Chrome not on IE / Firefox. In these situations we might ask whether LR will support recording of Chrome application(s) if so then what version it supports and whether any tweaks needed to resolve any issues.

Solution


If you are using LR 11.0 then you might face issues where Chrome will be launched but the suddenly chrome behaves very slow and becomes non-responsive. While manually the same application runs fine without any issues, to fix this you can apply the necessary LR patches and re-record the flow.
If the issue persists then you can download the latest bbhook.dll from HP Support and perform the following:


  • Go to [Vugen / LR] Install dir -> Bin folder and take a backup of the bbhook.dll and replace it with the new one.
  • Go to [Vugen / LR] Install dir -> config folder and open the vugen.ini file using notepad (or textpad)
  • At the end of the file add the below 2 lines
    [NoTrap]
    Application1=chrome.exe
  • save the vugen.ini file and then copy it to "C:\Windows" folder
  • Restard Vugen.
If you are using LR 11.5; it has Chrome support till ver 25; if you are using higher version of chrome then you might face issues in recording... to avoid these you can either install chrome version 25 or install latest LR patches. 

Another workaround is to record the Application using LR Proxy available with LR 11.5 where LR will work as a proxy (listening on port 8888); you can change the proxy settings in chrome browser and navigate your flows / scenarios. Events will get recorded and script will be generated in VUGen.

During recording of a HTTPS page with chrome browser you face an recording error which says "Alternate-Protocol: 443:quic"; currently both LR 11.x and 12.x doesn't support QUIC and you have to use other browsers which doesn't support QUIC like IE and Mozilla.

Hope this was helpful in resolving your issues.


11 comments:



  1. What an awesome post, I just read it from start to end. Learned something new after a long time.



    Manual testing training in Chennai


    Selenium testing training in Chennai

    ReplyDelete
  2. I do agree with all the ideas you have presented in your post. They’re really convincing and will certainly work. Still, the posts are very short for newbies. Could you please extend them a little from next time? Thanks for the post..

    Seo Training in Chennai

    ReplyDelete
  3. It's like you read my mind! You seem to know a lot about this, like you wrote the book in it or something. I think that you can do with some pics to drive the message home a little bit, but instead of that, this is fantastic blog. A great read. I will definitely be back.

    Seo Company in Chennai

    ReplyDelete
  4. Excellent and very cool idea and the subject at the top of magnificence and I am happy to this post..Interesting post! Thanks for writing it. What's wrong with this kind of post exactly? It follows your previous guideline for post length as well as clarity..

    Back to original

    ReplyDelete
  5. I do agree with all the ideas you have presented in your post. They’re really convincing and will certainly work. Still, the posts are very short for newbies. Could you please extend them a little from next time? Thanks for the post..
    Dandruff Treatment
    Hyperpigmentation Cream
    Antifungal Medications
    Eczema Treatment
    Hyperpigmentation Treatment

    ReplyDelete
  6. Nice information about chrome. Very useful for us. if you want any type of support for webroot Antivirus in Your PC, visit our Official website today.

    ReplyDelete
  7. Hello ,

    I tired with this option its not working , i am able to record in IE but not in chrome any other workaround ??

    Error Message: NOT PROXIED! (REASON: Unable to connect to remote server

    ReplyDelete