SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 8 of 8
  1. #1
    Senior Member
    Join Date
    Jun 2007
    Posts
    513
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Highlighting a row in a table using Object

    I want to highlight a row in the table
    SwfWindow("").SwfWindow("").SwfTable("").Object.Se lectedCells(1)but it does not select the row. Am i using the correct syntax? Can spmeone please take a look? Thanks.

  2. #2
    Senior Member
    Join Date
    Jun 2007
    Location
    IL, US
    Posts
    408
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Highlighting a row in a table using Object

    Did you try "ActivateRow" method?

    SwfTable("").ActivateRow rownum

    Thanks,
    Pavan

  3. #3
    Senior Member
    Join Date
    Jun 2007
    Posts
    513
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Highlighting a row in a table using Object

    It displays error Object does not support this action. I can only use SwfTable.Object. Are there any other proeprties I can use? Thanks.

  4. #4
    Member
    Join Date
    May 2004
    Posts
    355
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Highlighting a row in a table using Object

    I am not sure if you have already tried it..

    SwfWindow("").SwfWindow("").SwfTable("").Selectrow 1

  5. #5
    Senior Member
    Join Date
    Jun 2007
    Posts
    513
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Highlighting a row in a table using Object

    yes, I did and displays the same error It displays error "Object does not support this action". I can only yuse method on SwfTable().Object. Any method I try to use on SwfTable, it says does not support. Thank for your help

  6. #6
    Senior Member
    Join Date
    Jun 2007
    Location
    IL, US
    Posts
    408
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Highlighting a row in a table using Object

    [ QUOTE ]
    I can only use method on SwfTable().Object. Any method I try to use on SwfTable, it says does not support.

    [/ QUOTE ]

    Any idea why its not supporting the normal methods?

    Thanks,
    Pavan

  7. #7
    Junior Member
    Join Date
    Sep 2008
    Posts
    8
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Highlighting a row in a table using Object

    have u tried the inbuilt function
    Object.highlight
    eg:
    Browser("Google").page("google").webedit("q").high light

    Thanks
    Amber

  8. #8
    Member
    Join Date
    Oct 2008
    Location
    Cambs, UK
    Posts
    426
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Highlighting a row in a table using Object

    You might find that highlighting only works at the object level, a row isn't an object in that sense. An alternative would be to extract the data and display it together with the associated row number in some other way - maybe the Print Log Window. It all depends on why you are wanting to do this I guess.
    For an easy to use test automation framework, checkout my website:

    http://www.atomqa.com

 

 

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.38%
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 01:50 AM.

Copyright BetaSoft Inc.