SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Member
    Join Date
    Apr 2008
    Location
    Pune
    Posts
    420
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Grid is recognized as SWFObject inside SWFTab for VB or .net forms

    I am using uft 12.0. I have .net Add in. Able to recognize sfwwindow and swftab. But there is grid which is like table element inside the swftab. It is getting recognized as one single swfobject. I want to verify some values which are displayed in tabular format inside this grid. Any idea how can i achieve this.

    Thanks.

  2. #2
    Member
    Join Date
    Apr 2008
    Location
    Pune
    Posts
    420
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    I have mapped grid object to swftable using .net extensibility. BUt now getting error object doesnot support this property or method. Any way we can know how to map swfobject with .net extensibility object mapping approach.

    Thanks.

  3. #3
    Member
    Join Date
    Apr 2008
    Location
    Pune
    Posts
    420
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    Basically this grid is Janus.Windows.GridEX.GridEX control. UFT is not recognizing this.

  4. #4
    Advanced Member gencke's Avatar
    Join Date
    Feb 2008
    Location
    Seattle, Washington, United States
    Posts
    531
    Post Thanks / Like
    Mentioned
    3 Post(s)
    Tagged
    2 Thread(s)
    Total Downloaded
    0
    I see more questions than answers for Janus on the interwebs, might want to contact HP support on this one.
    Patience is like bread I say.... I ran out of that yesterday.

  5. #5
    Member
    Join Date
    Apr 2008
    Location
    Pune
    Posts
    420
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    Yes gencke. I have done the same. Contacted HP waiting for there reply.

  6. #6
    Member
    Join Date
    Apr 2008
    Location
    Pune
    Posts
    420
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    I got the latest updates from HP that they do not have support available for JANUS controls. Although they are suggesting to use .net extensibility. I am using it and mapped this control to swfTable object. Still not able to use it. ANyone can share any code snippet will be of great help. Thanks.
    Last edited by charanpreet_hora; 06-25-2014 at 10:01 AM.

  7. #7
    Member
    Join Date
    Apr 2008
    Location
    Pune
    Posts
    420
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    I have mapped this grid to swfTable. But while using methods like GetCelldata for this grid, it is giving error UFT doesnot support this property. Now what to do. am I doing something wrong. Or some more coding is required where we are mapping grid object to swftable in .net VBA. Kindly guide on this or provide some code snippet. As this is killing lot of time for me for no solution.
    Thanks.

  8. #8
    Advanced Member gencke's Avatar
    Join Date
    Feb 2008
    Location
    Seattle, Washington, United States
    Posts
    531
    Post Thanks / Like
    Mentioned
    3 Post(s)
    Tagged
    2 Thread(s)
    Total Downloaded
    0
    I use QTP 11, but here is an example of getcelldata I used to capture data in SwfTable.

    StrItem=ucase(SwfWindow("Copy of production").SwfWindow("Detail").SwfTable("GridVie w").GetCellData(Counter,1))
    Patience is like bread I say.... I ran out of that yesterday.

  9. #9
    Member
    Join Date
    Apr 2008
    Location
    Pune
    Posts
    420
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    somehow it is not working as i mapped swfobject to swftable. I got the workaround using object.getvalue(position).
    Following is the code i am suing:-
    SwfWindow("regexpwndtitle:="&SWFWindowName).SwfObj ect("swfname:="&SwfName).object.getvalue(position)

    Now I need to double click on this object. Searching for some native method. If someone knows kindly let me know. Thanks.

  10. #10
    SQA Knight
    Join Date
    May 2006
    Location
    Playa Del Rey, California, United States
    Posts
    2,594
    Post Thanks / Like
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0
    My guess is the SWF file was not compiled with the Automation Add-in.

    Adobe*Flex*4.6 * Creating applications for testing
    David Lai
    SDET / Consultant
    LinkedIn profile

 

 
Page 1 of 2 12 LastLast

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 11.54%
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 11:40 PM.

Copyright BetaSoft Inc.