SPONSORS:






User Tag List

Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Apr 2001
    Location
    Montreal, CA
    Posts
    74
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    VerifyProperties() trouble

    In our application we have a wizard called OptionsWizard.
    This wizard will have Back,Next and Cancel...buttons
    Every window that is appeared on clicking Next button is recognized by Silk Test as "Options Wizard" but some contents will be changed...
    So I have common window declaration as Window OptionsWizard followed by objects of the OptionsWizard scrren that appeared on clicking Next.

    Now when I tried to record VerifyProperties()...I am gettting message as Cannot Get all properties...."xyz" object not found, where "xyz" is the object that will appear in one of other OptionWizard dialog.

    I hope it is not confusing...
    Can some body help me,
    Thanks,
    ___________________
    Murali K Parepalli
    Intuit

    [This message has been edited by aspmurali (edited 02-04-2003).]
    _ _ ___________ _ _
    Murali K Parepalli

  2. #2
    Junior Member
    Join Date
    Jan 2003
    Posts
    27
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: VerifyProperties() trouble

    There are two ways you can handle this. For the first, don’t rely on the canned 4test VerifyProperties method. Instead, create your own error checking. For example, if you want to verify the caption of a pushbutton within the window, do the following:

    Or, instead of using a common set of declarations, you can identify each version of the Options Wizard by a unique child object within the window. For example, if the first view of the Options Wizard had a unique pushbutton named “More Info” and the second view had a unique pushbutton named “Finish”, you would have declarations that looked like this:

    Make sure you have the /.. at the end of the tag, as this returns focus to the parent object. There is more info on this in this post: http://www.qaforums.com/Forum1/HTML/004456.html

    I’d recommend the second solution, as there are advantages of being able to determine which view of the Options Wizard you are on by using OptionsWizardViewX.Exists() as opposed to having to write a function that looks for child objects in a commonly declared window.



    ------------------

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin 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 05:51 AM.

Copyright BetaSoft Inc.