SPONSORS:






User Tag List

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Nov 2000
    Location
    Kearny, NJ, US
    Posts
    8
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help with testing tables

    Hi

    I am working on a VB application in which the data is displayed in
    excel spread sheets where you can manipulate the data, I mean the
    spread sheet has combo boxes, text fields etc. I tried recording test cases
    using silk test but it clicks by the screen co-ordinates. I need to use
    the methods like ClickCell, EnterCellText, getcelltext etc...

    Any suggestions how to test??

    Thanks in advance.

  2. #2
    Senior Member
    Join Date
    Jul 1999
    Location
    Burlingame CA 94010
    Posts
    502
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Help with testing tables

    Srini,

    Without looking at the application, its a little hard to make recommendations. However, you will probably have to use either DLL's, the Extension Kit, or find a way to move around the spreadsheet using keystrokes.
    You can use keystrokes to navigate to specific cells, to set and select text in the cells, and to copy the text in the current cell to the clipboard (assuming copy/paste is enabled). You can then use Clipboard.GetText () to read the copied text.

    Keystrokes are sent using the TypeKeys method.
    window.TypeKeys ("<Right 5><Down 2>")

    For popup lists, there is often a keystroke which will expand the list, then send <Down> arrows and <Enter> to the list.

    To navigate to a specific cell, use <Right n> and <Down n>

    Hope this helps

    ------------------
    John W Green
    jwgreen@automationexpertise.com http://www.automationexpertise.com

    [This message has been edited by John Green (edited 11-11-2000).]

 

 

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 09:06 AM.

Copyright BetaSoft Inc.