SPONSORS:






User Tag List

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    May 2001
    Location
    Australia
    Posts
    4
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    JavaJFCTable ClickCell()

    I have included a testcase and the two methods that I placed in the Frame definition file for the ApplicationDialog.

    My question is - Why does the ClickCell() fail?

    All the contents are displayed, the cell is found yet it can’t be clicked? There is another JavaJFCTable on the ApplicationDialog that works without failure. What may be missing in the application code – any clues?

    [-] testcase ClickForceOutSuccess() appstate none
    [ ] ApplicationDialog.SetActive()
    [ ] STRING findItem = "07 - Walking Away.rmx"
    [ ] ApplicationDialog.ForceOutByString( findItem )

    “Method in ApplicationDialog”
    [-] void ForceOutByCell( TABLECELL cell )
    [ ]
    [ ]
    [ ] LIST OF STRING lsContents = this.JavaJFCPageList("#1").JavaJFCPageList("#1").J avaJFCTable("#1").GetContents()
    [ ] Print ( lsContents )
    [ ]
    [ ] Print ( "Text on click cell is >", this.JavaJFCPageList("#1").JavaJFCPageList("#1").J avaJFCTable("#1").GetCellValue( cell ), "<")
    [ ]
    [ ] cell.Col = FORCEOUT_COLUMN
    [ ]
    [ ] this.JavaJFCPageList("#1").JavaJFCPageList("#1").J avaJFCTable("#1").ClickCell( cell )

    “Another Method in ApplicationDialog”
    [-] void ForceOutByCell( TABLECELL cell )
    [ ] LIST OF STRING lsContents = this.JavaJFCPageList("#1").JavaJFCPageList("#1").J avaJFCTable("#1").GetContents()
    [ ] Print ( lsContents )
    [ ]
    [ ] Print ( "Text on click cell is >", this.JavaJFCPageList("#1").JavaJFCPageList("#1").J avaJFCTable("#1").GetCellValue( cell ), "<")
    [ ]
    [ ] this.JavaJFCPageList("#1").JavaJFCPageList("#1").J avaJFCTable("#1").ClickCell( cell )
    [ ]
    [ ] cell.Col = FORCEOUT_COLUMN
    [ ]
    [ ] this.JavaJFCPageList("#1").JavaJFCPageList("#1").J avaJFCTable("#1").ClickCell( cell )

    The error being returned is :

    [ ] Forcing out ( 07 - Walking Away.rmx )
    [ ] {false, Blank Item, Force-in, < 0.01, Dismissable, false, 04 - 7 Days.rmx, Force-in, 2.80, Dismissable, false, 01 - Fill Me In.rmx, Force-in, 3.07, Dismissable, false, music_newage3.mp3, Force-in, 2.98, Dismissable, false, 07 - Walking Away.rmx, Force-in, 2.46, Dismissable, false, free, Force-in, 2.58, Dismissable, false, 08 - Time To Party.rmx, Force-out, 2.92, Dismissable, false, music_newage1.mp3, Force-out, 1.30, Dismissable, false, music_newage4.mp3, Force-out, 2.02, Dismissable, false, music_newage2.mp3, Force-out, 4.00, Dismissable, false, music_newage5.mp3, Force-out, 3.18, Dismissable}
    [ ] Text on click cell is > 07 - Walking Away.rmx <
    [ ] *** Error: Item '?' was not found
    [ ] Occurred in ClickCell
    [ ] Called from ApplicationDialog.ForceOutByCell at ApplicationDialog.inc(62)
    [ ] Called from ApplicationDialog.ForceOutByString at ApplicationDialog.inc(48)
    [ ] Called from ClickForceOutSuccess at ApplicationDialog.t(28)

    Thanx...


    ------------------

  2. #2
    Junior Member
    Join Date
    May 2001
    Location
    Australia
    Posts
    4
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: JavaJFCTable ClickCell()

    This only seems to be not working as the JTable in the Java Code has variable height rows???
    If the code is changed to fixed height the tests work.

    dw
    :-*)

    ------------------

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin 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 10:45 PM.

Copyright BetaSoft Inc.