SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Junior Member
    Join Date
    Apr 2011
    Posts
    25
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Can Someone tell me how to use SelectCell in DP

    Hi All

    Can some one tell me how to use SelectCell in DP. I use the following code to select cell data. But it return "The Parameter is incorrect"

    SwfWindow("text:=Appname").SwfWindow("text:=name") .SwfTable("swfname:=List").SelectCell 0,"Report Type"
    when i use Object repository it select the cell using SelectCell.

    can some one help me with this

    regards
    shan

  2. #2
    Senior Member
    Join Date
    Aug 2006
    Location
    Montreal, Quebec, CANADA
    Posts
    106
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Can Someone tell me how to use SelectCell in DP

    Hello Shan,

    Try the following:
    1- Replace "Report Type" by its column number
    or
    2- Check if the couple parameter:= value you are using for your test objects are correct and unique to identify your test objects.


    Thank you.

  3. #3
    Junior Member
    Join Date
    Apr 2011
    Posts
    25
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Can Someone tell me how to use SelectCell in DP

    thanks for the reply.I try with the column number it's not working and properties i use it's unique. when i use GetCellData it returns the text value in the cell.

    Thank you
    shan

  4. #4
    Super Member QAGanesh's Avatar
    Join Date
    Sep 2010
    Posts
    1,898
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Can Someone tell me how to use SelectCell in DP

    Can u just tell us what is the application built on, i.e. is it an infragistics etc?..
    Thanks,
    Ganesh Iyer
    Winds of Change

  5. #5
    Junior Member
    Join Date
    Apr 2011
    Posts
    25
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Can Someone tell me how to use SelectCell in DP

    We use DevExpress control, not infragistics.

  6. #6
    Super Member
    Join Date
    Dec 2005
    Location
    USA
    Posts
    1,407
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0

    Re: Can Someone tell me how to use SelectCell in DP

    try with
    SwfWindow("text:=Appname").SwfWindow("text:=name") .SwfTable("swfname:=List").SelectRow(Row#)
    ------------
    Chikki
    when things gets harder ,the harder gets going

  7. #7
    Super Member
    Join Date
    Dec 2005
    Location
    USA
    Posts
    1,407
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0

    Re: Can Someone tell me how to use SelectCell in DP

    msgbox SwfWindow("text:=Appname").SwfWindow("text:=name") .SwfTable("swfname:=List").Exist(0)

    what it returns?
    ------------
    Chikki
    when things gets harder ,the harder gets going

  8. #8
    Super Member QAGanesh's Avatar
    Join Date
    Sep 2010
    Posts
    1,898
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Can Someone tell me how to use SelectCell in DP

    Also use SetView prior to SelectCell.

    Also its SelectCell Row, Column not SelectCell Row,Column. So it should be SwfWindow("text:=Appname").SwfWindow("text:=name") .SwfTable("swfname:=List").SelectCell 0, "Report Type"
    Thanks,
    Ganesh Iyer
    Winds of Change

  9. #9
    Junior Member
    Join Date
    Apr 2011
    Posts
    25
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Can Someone tell me how to use SelectCell in DP

    msgbox SwfWindow("text:=Appname").SwfWindow("text:=name") .SwfTable("swfname:=List").Exist(0)
    == It return true.

    We did put setview prior to selectcell, still not working.

    odd!

  10. #10
    Super Member QAGanesh's Avatar
    Join Date
    Sep 2010
    Posts
    1,898
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Can Someone tell me how to use SelectCell in DP

    Try using childobjects to find, if any other table exists with same description. Try to identify all the tables
    Thanks,
    Ganesh Iyer
    Winds of Change

 

 
Page 1 of 2 12 LastLast

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 10.00%
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:45 AM.

Copyright BetaSoft Inc.