SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5
  1. #1
    Senior Member
    Join Date
    Mar 2010
    Posts
    118
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Cannot identify radio buttons inside a JavaTable

    I am trying to automate a java application that is launched thru JNLP ( Java Network Launch Protocol)

    On one of the screens i have a JavaTable which contains radio buttons in the first column.

    When I run the object spy over it, spy is not able to highlight the radio buttons.

    is there a way this can be made to work ? am i missing something ? or is this not supported by the java addin.

    has anyone faced this problem before ?

    P.S Spy is able to identify rest of the elements on the screen

    Also with a Java table the method childitem seems to be missing unlike a webtable
    Cheers!!!
    Shrikant

  2. #2
    Super Member Jonty's Avatar
    Join Date
    Jan 2007
    Location
    India
    Posts
    1,266
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Cannot identify radio buttons inside a JavaTable

    Did you try to access button objects using child objects method on the parent window itself?
    Cheers
    Jonty..
    -- Here to Learn and share ---

  3. #3
    Senior Member
    Join Date
    Apr 2008
    Posts
    187
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Cannot identify radio buttons inside a JavaTable

    [ QUOTE ]
    Did you try to access button objects using child objects method on the parent window itself?

    [/ QUOTE ]

    Jonty is right on here. If that doesn't work, you'll need to use the Extensibility to add that custom object to QTP.

  4. #4
    Member
    Join Date
    Jun 2008
    Posts
    220
    Post Thanks / Like
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Cannot identify radio buttons inside a JavaTable

    Hi Srikanth,

    I also had a similar issue with Oracle applications where a specific object was not getting identified. I contacted HP and they providied me with the .Jar file in your case you can find the same in jaclin.jar ..:\Program Files\HP\QuickTest Professional\bin\java\classes. Contact HP using your SAID and show them over webinar which field is not working they will give you a patch or a updated jaclin.jar file.

    By the way if you have not upgraded to QTP 10.0 please update ASAP as many bugs are fixed in the latest version.
    I don't build Software but I make them work better, Testing is a Passion

  5. #5
    Senior Member
    Join Date
    Mar 2010
    Posts
    118
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Cannot identify radio buttons inside a JavaTable

    DenisJ,
    i am using QTP 10 still was facing the problem.

    All,
    Tried Child objects for the parent frame - didnt work
    Tried Child Objects for the Table - didnt work
    But finally cracked it.

    How ??

    ClickCell Method.

    The GetCellData method can be used to identify the cell that contains the required radio button.

    When I invoke the ClickCell method the element inside the cell gets clicked.'

    In this case it solved my purpose.
    Cheers!!!
    Shrikant

 

 

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 6.67%
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 02:19 PM.

Copyright BetaSoft Inc.