SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 4 of 4
  1. #1
    SQA Council
    Join Date
    Mar 2001
    Posts
    14,438
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Script Command Failure problem

    User praveen (praveen@nous.soft.net) posted:

    Hi all,

    I m consistently encountering a problem called **** Script Command Failure
    on line 23 of 'Provider' - What does this error message signify and how to
    workaround with. Thanks in Anticipation. Look for the line starting with
    asterisk in the script to diagnose the problem

    Sub Main
    Dim Result As Integer

    'Initially Recorded: 06/10/2000 10:11:56 PM
    'Script Name: Provider

    Window SetContext, "Caption=IFA Productivity
    Manager;Class=ThunderMDIForm", ""
    MenuSelect "Utilities->Masters->Company Master"

    Window SetContext, "Name=frmCompanyMaster", ""
    PushButton Click, "Name=frmCompanyMaster.cmdModify"

    Result = GenericObjectVP (CompareText,
    "Name=frmCompanyMaster.cboCompanyName",
    "VP=Alphanumeric;Wait=2,10;Type=CaseSensitive" )

    Result = ComboBoxVP (CompareText,
    "Name=frmCompanyMaster.cboCompanyType",
    "VP=Alphanumeric2;Wait=2,10;Type=CaseSensitive ")

    PushButton Click, "Name=frmCompanyMaster.cmdClose"
    Window SetContext, "Caption=IFA Productivity
    Manager;Class=ThunderMDIForm", ""
    MenuSelect "Business->Plan Information->Protection"

    Window SetContext, "Name=frmProtectionDetails", ""
    ***** -Line23 PushButton Click, "Name=frmProtectionDetails.cmdLookup"

    Window SetTestContext, "Name=frmNewSearch", ""
    Result = ListViewVP (CompareImage, "Name=ListView1", "VP=Window
    Image;Wait=2,5")
    Window ResetTestContext, "", ""

    Window SetContext, "Name=frmNewSearch", ""
    PushButton Click, "Name=cmdRetrieve"
    Header Click, "ObjectIndex=1;\;ItemText=Client Name", "Coords=74,17"
    ListView Click, "Name=ListView1;\;ItemText=Swer, Abc Sd", "Coords=70,8"
    PushButton Click, "Name=cmdAccept"

    Window SetContext, "Name=frmKeyMDI", ""

    Window SetContext, "Name=frmProtectionDetails", ""
    GenericObject Click, "Name=frmProtectionDetails.tabProtection",
    "Coords=584,13"
    PushButton Click, "Name=frmProtectionDetails.cmdNew"

    Window SetTestContext, "Name=frmKeyMDI", ""
    Window SetTestContext, "Name=frmProtectionDetails", ""
    Result = GenericObjectVP (CompareData,
    "Name=frmProtectionDetails.cboProvider", "VP=Object Data;Wait=2,10")
    Window ResetTestContext, "", ""


    End Sub


    **** Script Command Failure on line 23 of 'Provider' -

    Regards,

    Praveen Kumar Chenabatni,
    Sr. Software Consultant
    Nous Infosystems Pvt. Ltd.,
    Bangalore
    Ph: 5534208, 5522086
    ---

  2. #2
    SQA Council
    Join Date
    Mar 2001
    Posts
    14,438
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Script Command Failure problem

    User Tom Ba (tombasay@hotmail.com) posted:

    It means Robot can't do what you want.

    This is normal behavior. ;-)

    But in this case,
    look and see if the button is enabled.
    If not enabled,
    Robot can't click it
    and reports the dweaded
    Script Command Failure.


    Olie
    A fine way to
    start week off
    ----Original Message Follows----
    From: "praveen" <praveen@nous.soft.net>
    Reply-To: "SQA Suite Team Test Users" <sqa-suite-users@lyris.dundee.net>
    To: "SQA Suite Team Test Users" <sqa-suite-users@lyris.dundee.net>
    Subject: Script Command Failure problem
    Date: Sat, 7 Oct 2000 16:51:15 +0530

    Hi all,

    I m consistently encountering a problem called **** Script Command Failure
    on line 23 of 'Provider' - What does this error message signify and how to
    workaround with. Thanks in Anticipation. Look for the line starting with
    asterisk in the script to diagnose the problem

    Sub Main
    Dim Result As Integer

    'Initially Recorded: 06/10/2000 10:11:56 PM
    'Script Name: Provider

    Window SetContext, "Caption=IFA Productivity
    Manager;Class=ThunderMDIForm", ""
    MenuSelect "Utilities->Masters->Company Master"

    Window SetContext, "Name=frmCompanyMaster", ""
    PushButton Click, "Name=frmCompanyMaster.cmdModify"

    Result = GenericObjectVP (CompareText,
    "Name=frmCompanyMaster.cboCompanyName",
    "VP=Alphanumeric;Wait=2,10;Type=CaseSensitive" )

    Result = ComboBoxVP (CompareText,
    "Name=frmCompanyMaster.cboCompanyType",
    "VP=Alphanumeric2;Wait=2,10;Type=CaseSensitive ")

    PushButton Click, "Name=frmCompanyMaster.cmdClose"
    Window SetContext, "Caption=IFA Productivity
    Manager;Class=ThunderMDIForm", ""
    MenuSelect "Business->Plan Information->Protection"

    Window SetContext, "Name=frmProtectionDetails", ""
    ***** -Line23 PushButton Click, "Name=frmProtectionDetails.cmdLookup"

    Window SetTestContext, "Name=frmNewSearch", ""
    Result = ListViewVP (CompareImage, "Name=ListView1", "VP=Window
    Image;Wait=2,5")
    Window ResetTestContext, "", ""

    Window SetContext, "Name=frmNewSearch", ""
    PushButton Click, "Name=cmdRetrieve"
    Header Click, "ObjectIndex=1;\;ItemText=Client Name", "Coords=74,17"
    ListView Click, "Name=ListView1;\;ItemText=Swer, Abc Sd",
    "Coords=70,8"
    PushButton Click, "Name=cmdAccept"

    Window SetContext, "Name=frmKeyMDI", ""

    Window SetContext, "Name=frmProtectionDetails", ""
    GenericObject Click, "Name=frmProtectionDetails.tabProtection",
    "Coords=584,13"
    PushButton Click, "Name=frmProtectionDetails.cmdNew"

    Window SetTestContext, "Name=frmKeyMDI", ""
    Window SetTestContext, "Name=frmProtectionDetails", ""
    Result = GenericObjectVP (CompareData,
    "Name=frmProtectionDetails.cboProvider", "VP=Object Data;Wait=2,10")
    Window ResetTestContext, "", ""


    End Sub


    **** Script Command Failure on line 23 of 'Provider' -

    Regards,

    Praveen Kumar Chenabatni,
    Sr. Software Consultant
    Nous Infosystems Pvt. Ltd.,
    Bangalore
    Ph: 5534208, 5522086
    ---

  3. #3
    SQA Council
    Join Date
    Mar 2001
    Posts
    14,438
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Script Command Failure problem

    User Schoen, Torsten 3865 PPE-QA1 (Torsten.Schoen@de.heidelberg.com) posted:

    That error message means that the button you want to click can not be found.
    Is that recognition string you use valid?

    just a quick shot.

    Torsten Schoen
    PPE-QA1
    Heidelberger Druckmaschinen AG
    ---

  4. #4
    SQA Council
    Join Date
    Mar 2001
    Posts
    14,438
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Script Command Failure problem

    User Carl Nagle (Carl.Nagle@sas.com) posted:

    In the LogViewer you should be able to Right_Click that log entry and view the Properties. There should be more information about why you got the Script Command Failure.


 

 

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 13.64%
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 07:50 PM.

Copyright BetaSoft Inc.