SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3

Thread: QTP 8.2

  1. #1
    Junior Member
    Join Date
    Jul 2005
    Location
    Pune
    Posts
    5
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    QTP 8.2

    Hi,

    I'm having a little problem. I've to check in my application, if a row is highlighted in a JavaTable and is it different from the previously highlighted row.
    I've tried all the ways like ActivateRow,etc.
    In this JavaTable all the rows are having same properties for Test Objects.
    Can anyone please tell me how can I identify the Index of current ActivateRow?

    Thanks & Regards,
    Sailaja

  2. #2
    Senior Member
    Join Date
    Mar 2005
    Location
    Agoura Hills,CA
    Posts
    111
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: QTP 8.2

    Try this out :
    First get the rowcount of the Javatable in a variable
    example
    icount = Browser().Page().Javatable().GetRowCount

    Then do a loop
    example
    for i = 1 to icount
    strVal = Browser().Page().Javatable().GetCellData(i,j) 'j specifies the column u r searching in the table '
    If (strVal = "What ur looking for" ) Then
    'do what u want to do with that
    Next

  3. #3
    Junior Member
    Join Date
    Jul 2005
    Location
    Pune
    Posts
    5
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: QTP 8.2

    Hi Prajwas,

    Thanks a lot for your response to my problem. i will definitely try this out.

    Thanks once again.

    Regards,
    Sailaja

 

 

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 03:05 PM.

Copyright BetaSoft Inc.