SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Dec 2002
    Posts
    98
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    VB MessageBox problem kicked from Infragistics/Sheridan grid control

    I have an infragistics grid. One of the testcases I am working on is deleting an entry from the grid.

    So, I selected and deleted first row. My code looks like this,

    My MsgBox declaration looks like this,
    I am having problem with the messagebox that comes after deleting an entry from the Grid. SilkTest tries to click on the Messagebox but takes a while and then it looses the control and I need to kill the testcase and sometimes the application too.

    In the same window, I have a button which generates similar messagebox and SilkTest can handle it properly.

    So, I am wondering there must be some differences between those 2 messageboxes. I tried recording the messagebox that comes after delete, but I get the same result.

    Have you experienced this problem OR do you by any chance know what's going on?

    Thanks in advance for your help. I appreciate it.

    ------------------
    DJ



    [This message has been edited by djava (edited 02-27-2003).]
    DJ

  2. #2
    Member
    Join Date
    Dec 2002
    Posts
    98
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: VB MessageBox problem kicked from Infragistics/Sheridan grid control

    I have found out that to select a line I can use TypeKeys("<Space>")

    I get the messagebox to confirm the 'Delete',
    saying "Are you sure you want to delete the record for*".

    And then SilkTest clicks on the 'Yes' button (after taking a few seconds). The row that I want to delete gets deleted and then SILKTEST CAN'T COME BACK. At this point I have to kill Application. And in the result file I get follwing information,

    [-] Delete Grid Entry
    [ ] *** DefaultBaseState is invoking App
    [ ] *** Error: Script aborted by user
    [ ] Occurred in Click
    (points at following line in my code)
    [-]

    Code Line:
    MsgBox.Yes.Click()

    Any idea why the Click() is not returning gracefully?


    ------------------
    DJ

    [This message has been edited by djava (edited 02-21-2003).]
    DJ

 

 

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.40 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 12.50%
vBulletin Optimisation provided by vB Optimise v2.7.1 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.3.0 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 01:41 AM.

Copyright BetaSoft Inc.