SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2
  1. #1
    Super Member FredMan's Avatar
    Join Date
    Oct 2007
    Location
    Lenexa, Kansas
    Posts
    1,218
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Infragistics SwfTreeView Drag and Drop Problems

    I am having issues with the drag and drop operations. Can someone help me with this?

    QTP 9.2
    .Net add-in
    TestAdvantage 8.2 CLR2.0 installed
    Application coded in C#

    Here is the recorded code for the drag drop operation. I get the error "[ActiveNode]: No node with specified text property"

    SwfWindow("Bonus Administrator").SwfTreeView("selectionTree").SetFo cus
    SwfWindow("Bonus Administrator").SwfTreeView("selectionTree").Activ ateNode "\PCG Bonus\Total Miklos\Interior\010551 - Indianapolis Interior"
    SwfWindow("Bonus Administrator").SwfTreeView("selectionTree").Selec t "\PCG Bonus\Total Miklos\Interior\010551 - Indianapolis Interior"
    Wait(3)

    SwfWindow("Bonus Administrator").SwfTreeView("selectionTree").Activ ateNode "\PCG Bonus\Total Miklos\Interior\010553 - Portland Interior"
    SwfWindow("Bonus Administrator").SwfTreeView("selectionTree").Activ ateNode "\PCG Bonus\Total Miklos\Interior\010555 - Bay Area Interior 55/65"
    SwfWindow("Bonus Administrator").SwfTreeView("selectionTree").Selec tMultiple ""

    The following line of code is where the error happens. <font color="red"> </font>


    SwfWindow("Bonus Administrator").SwfTreeView("selectionTree").Activ ateNode "\PCG Bonus\Total Miklos\Interior\010555 - Bay Area Interior 55/65\010551 - Indianapolis Interior"
    SwfWindow("Bonus Administrator").SwfTreeView("selectionTree").Selec t "\PCG Bonus\Total Miklos\Interior\010555 - Bay Area Interior 55/65\010551 - Indianapolis Interior"
    SwfWindow("Bonus Administrator").SwfTreeView("selectionTree").DragN ode "\PCG Bonus\Total Miklos\Interior\010551 - Indianapolis Interior", "\PCG Bonus\Total Miklos\Interior\010555 - Bay Area Interior 55/65\010551 - Indianapolis Interior"
    Onward thru the fog...

  2. #2
    Super Member FredMan's Avatar
    Join Date
    Oct 2007
    Location
    Lenexa, Kansas
    Posts
    1,218
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Infragistics SwfTreeView Drag and Drop Problems

    Some further observations:

    I noticed that when a node is dragged manually across other nodes, the nodes are not getting highlighted as the dragged node passes them and when stopping at the destination node, that node does not get highlighted.

    Any takers?
    Onward thru the fog...

 

 

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 12.50%
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 06:32 AM.

Copyright BetaSoft Inc.