SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 9 of 9
  1. #1
    Member
    Join Date
    Nov 2009
    Posts
    41
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    changing smart id param\'s

    Hi all

    I cannot recognize a frame in my application so smart identification starts working (and delaying) and does the job for me.

    In the OR standard (?) only abs_x is set as description property. If I add the name (smart id uses the name) it does not change anything

    If I go to tools->object identification and there I add "name" to the mandatory properties it does not change anything
    If I click through to smart id configuration and delete "name" from the optional filter properties QTP still uses name for smart identification!
    If I put name under base filter prop's it still is being used under optional!

    So : how can I improve performance through bypassing smart identification or improving it?

    thanks!
    R's
    R

  2. #2
    SQA Knight
    Join Date
    Jun 2008
    Posts
    2,556
    Post Thanks / Like
    Mentioned
    3 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0

    Re: changing smart id param\'s

    My vote is for:
    File - Settings - Run - Disable Smart Identification

  3. #3
    Member
    Join Date
    Jul 2004
    Location
    UK
    Posts
    201
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: changing smart id param\'s


    how many frames your page contains ?

    Can you Spy the frame object and post the details here!!!
    Malleswari.

  4. #4
    Member
    Join Date
    Nov 2009
    Posts
    41
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: changing smart id param\'s

    There are 7 frame's
    I hope attached is usefull

    R's
    R
    Attached Images Attached Images

  5. #5
    Moderator ifraser's Avatar
    Join Date
    Jul 2004
    Location
    Brisbane, Australia
    Posts
    2,090
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: changing smart id param\'s

    The second vote for turning it off.

    It is the cause of to many problems.
    You can buy my Art from: "Post Cards now available"
    Ian Fraser Landscape Photography
    World Wide Shipping.

    http://mowogman.wordpress.com/

  6. #6
    Member
    Join Date
    Jul 2004
    Location
    UK
    Posts
    201
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: changing smart id param\'s

    Well add 'index' property for frame identification properties or retrieve frame with index property..

    try highlighting all frames using index vale, then get the actual frames index value and pass this value in your script.

    pls write if any issue.
    Malleswari.

  7. #7
    Member
    Join Date
    Nov 2009
    Posts
    41
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: changing smart id param\'s

    Thanks all :-)
    Malleswari

    Browser("Item Dashboard (Item)").Page("Item Dashboard (Item)").Frame("name:=Navigator (Y-B1-PM006)","index:=0").Highlight
    gives me a general error while
    Browser("Item Dashboard (Item)").Page("Item Dashboard (Item)").Frame("Navigator (Y-B1-PM006)").Highlight
    Nicely highlights the relevant frame

    So I think I see your point only I can't get it working. Maybe I am missing something

  8. #8
    Member
    Join Date
    Nov 2009
    Posts
    41
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: changing smart id param\'s

    If I turn off SID then I guess i need to be descriptive like ....Frame("name:=Navigator (Y-B1-PM006)").WebElement("innertext:=Create New Item").Click ??

    then the script fails since it can't find the frame
    which is strange as since it is the only frame with the name! (SID has proven that)

    so I prefer this option but I don't know how to do it, it appears to contradict

  9. #9
    Member
    Join Date
    Jul 2004
    Location
    UK
    Posts
    201
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: changing smart id param\'s

    have you tried in this following way ...

    Browser("Item Dashboard (Item)").Page("Item Dashboard (Item)").Frame("index:=0").Highlight

    also please get the number of frames in the page, if the page contains 3 frames and check index value for 0,1,2.

    pls let know your findings.
    Malleswari.

 

 

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 9.68%
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 03:32 AM.

Copyright BetaSoft Inc.