SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5
  1. #1
    New Member
    Join Date
    Nov 2014
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    UFT support for UI built using AngularJS

    Hello All,

    I am a beginner in UFT automation and in my company the entire app's old UI is getting replaced with the new UI built using angular JS.

    I just tried to record some basic scripts using the new UI and UFT 12 but UFT doesn't recognize angular JS.

    I just want to know how should I go about it? is there any addin which i need to add specifically?

    please help me on this


    Thanks,
    Sai

  2. #2
    New Member
    Join Date
    Nov 2014
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    hello All,

    Just an update. I tried to record using insight recording mode and looks like am able to play back the recorded script. but is this the way to move forward?

    any alternate way for UFT to recognize angular.js objects by adding addin or something?

    please respond to my query.

    Thanks
    Sai

  3. #3
    Moderator
    Join Date
    Jul 2005
    Location
    Delhi
    Posts
    15,575
    Post Thanks / Like
    Mentioned
    1 Post(s)
    Tagged
    7 Thread(s)
    Total Downloaded
    0
    Hi Sai,

    Doing it with Insight recording would be a big big NO! Angular JS is JS side framework and that's why you will need to either check with HP if they are planning to release a plugin for this. Or else you will need to write web extensibility add-in or execute custom java script code.

    For making it a success you will need to understand Java script well. Look at the protactor open source project and you may get some insights into how it works

    Regards,
    Tarun

  4. #4
    SQA Knight
    Join Date
    May 2006
    Location
    Playa Del Rey, California, United States
    Posts
    2,647
    Post Thanks / Like
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0
    I don't see why Angular for say being any more difficult than any other Single Page apps. You're creating directives, but inside directives are still plain old HTML elements. I don't have UFT to try this out, so I'm just answering based on my knowledge as an Angular developer.

    What you might fight difficult on is on the synchronizing the test actions with the timing of how the page responds. Since you don't have that page load event that naturally signals your automation tool to wait before continuing and the transition of states/pages, you tend to have to use more wait wrappers with single page apps.
    David Lai
    SDET / Consultant
    LinkedIn profile

  5. #5
    Apprentice
    Join Date
    Oct 2005
    Location
    MA
    Posts
    10
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Angular JS with UFT: Do you have the Web 2.0 extension installed?

    Try running a repair on your UFT. When the set up wizard comes up click on the Web2.0 extension. Once installed when you open UFT you will see some new add-ins under the web add-in in the add-in manager. Try selecting the ExtJS add-in and see if that helps.


    Quote Originally Posted by dlai View Post
    I don't see why Angular for say being any more difficult than any other Single Page apps. You're creating directives, but inside directives are still plain old HTML elements. I don't have UFT to try this out, so I'm just answering based on my knowledge as an Angular developer.

    What you might fight difficult on is on the synchronizing the test actions with the timing of how the page responds. Since you don't have that page load event that naturally signals your automation tool to wait before continuing and the transition of states/pages, you tend to have to use more wait wrappers with single page apps.
    Bye for now

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.71%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 10:38 PM.

Copyright BetaSoft Inc.