| || |
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.
[This message has been edited by djava (edited 02-27-2003).]
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)
Any idea why the Click() is not returning gracefully?
[This message has been edited by djava (edited 02-21-2003).]