SPONSORS:






User Tag List

Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    May 2003
    Location
    pune
    Posts
    52
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    java custom objects

    hi while doing the automation of the java application i got one custom object which is actually a table with column header, sub column, fields it is recognising header as one custm, sub as second, field data as third custom object how do i map it so that i can use it properly where for indivisual cell i can get even it's colour and text and data in corresponding cell in some row.
    Ramesh

  2. #2
    Member
    Join Date
    May 2003
    Location
    CA
    Posts
    45
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: java custom objects

    Originally posted by rametty1:
    hi while doing the automation of the java application i got one custom object which is actually a table with column header, sub column, fields it is recognising header as one custm, sub as second, field data as third custom object how do i map it so that i can use it properly where for indivisual cell i can get even it's colour and text and data in corresponding cell in some row.
    <font size="2" face="Verdana, Arial, Helvetica">If the table object is not recognised by your silktest, ensure whether proper extension enabler is loaded (active-x/java..). Still if it not recognised, do class mapping for the object to table or JavaJFCTable or VbTable using record -&gt; class map option.

    The color of the cell cannot be retrived by silktest directly. In this case, you should call java methods to find the color and then call from silktest using InvokeJava method. At the same time, u can get the text directly by silktest using GetCellValue method.

    First, try to map and ensure it is recognised at runtime and then do the rest.

    [img]images/icons/tongue.gif[/img] Babu [img]images/icons/tongue.gif[/img]

  3. #3
    Member
    Join Date
    May 2003
    Location
    pune
    Posts
    52
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: java custom objects

    hi i waould like to know one thing does the class of the object changes when we do class mapping if so it is not changing what is the problem is anyone facing this problem
    [img]images/icons/frown.gif[/img]
    Ramesh

  4. #4
    Senior Member
    Join Date
    Jul 1999
    Location
    Bellingham, WA USA
    Posts
    1,323
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: java custom objects

    Class mapping allows you to instruct Silk to treat a custom object it does not recognize as though it were an object that Silk does recognize. Suppose your developers created a custom object that looked and behaved very much like a treeview, but it isn't actually a treeview. You can map the class to a treeview and tell Silk to treat it like a treeview. It doesn't always work perfectly, but you often to get much of the functionality you desire.

 

 

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 02:05 AM.

Copyright BetaSoft Inc.