SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    May 2008
    Location
    Bangalore
    Posts
    22
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Object doesn\'t support : \'qtApp.Test.Actions\'

    Hi All,

    While running the script system throughs an error message as:
    Object doesn't support this property or method: 'qtApp.Test.Actions'

    Can anyone explain me plz.

    Thanks,
    Deepika

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

    Re: Object doesn\'t support : \'qtApp.Test.Actions\'

    Which version of QTP are you using? If lower than QTP 10 then the error is obvious as the AOM doesn't support it

  3. #3
    Senior Member
    Join Date
    Sep 2007
    Posts
    114
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Object doesn\'t support : \'qtApp.Test.Actions\'

    Can you post the snippet of the code which is throwing this error?
    -Soumya

  4. #4
    Junior Member
    Join Date
    May 2008
    Location
    Bangalore
    Posts
    22
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Object doesn\'t support : \'qtApp.Test.Actions\'

    I'm using QTP 9.5, Have you faced the same issue?????

  5. #5
    Junior Member
    Join Date
    May 2008
    Location
    Bangalore
    Posts
    22
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Object doesn\'t support : \'qtApp.Test.Actions\'

    I executed in QC its working, but when i open the same script in QTP it throws the error.

    Here is the script(Soon after clicking on Run the error occurs )
    Dim oShell, oEnv
    Set oShell = CreateObject("Wscript.Shell")
    Set oEnv = oShell.Environment("Process")
    Environment("AutomationPath") = oEnv("QTPAutomation") 'D:\QTPAutomation

    ' Execute config file.
    Executefile Environment("AutomationPath") & "\Common\Config\CommonEnv.vbs"'
    Executefile Environment("AutomationPath") & "\Components\TGReports\Config\TGRS_Config.vbs"
    '
    'Load repository
    LoadRepository REPO_PATH

    '''=== Invoke IE and login ==='
    TGReports_Login "PPE"

    '''===Verify Main Page ==='
    Verify_MainPage

    '''=== Verify Transaction Summary ===
    Transaction_Summary "PPE"

    ''''=== Exit TG Reports===
    Exit_TGR

  6. #6
    Moderator
    Join Date
    Oct 2010
    Location
    Norway
    Posts
    3,265
    Post Thanks / Like
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0

    Re: Object doesn\'t support : \'qtApp.Test.Actions\'

    [ QUOTE ]
    I executed in QC its working, but when i open the same script in QTP it throws the error.

    [/ QUOTE ]

    AOM scripts are to be run outside a QuickTest Script.
    Rajkumar

 

 

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 © 2016 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 © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 09:59 AM.

Copyright BetaSoft Inc.