Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on Error: Internal error in agent - Function never returned a value within the SilkTest forums, part of the Software Testing category; Hi, My AUT has a control which looks more like a Table OR ListView. It has 7 columns. Each time my AUT catches a messages sent to it over the ...
|
|||||||
|
|||
|
Error: Internal error in agent - Function never returned a value
Hi,
My AUT has a control which looks more like a Table OR ListView. It has 7 columns. Each time my AUT catches a messages sent to it over the network, a new row gets added to the control. Silk identifies the control as CustomWin. I tried mapping the object to ListView class. In this case I run into Error: Window type mismatch - Expecting a listview in details view for any function from ListView class that i might use in my script. This led me to think that may be ListView wasn't the right class. When I map it to "Table" class i keep getting Error: Internal error in agent - Function never returned a value for any function from table class that i might use. Is there a way i can get around this error? what is causing this? Thanx in advance. Sajith |
| Sponsored Links |
|
|||
|
Re: Error: Internal error in agent - Function never returned a value
Quote:
Hey Sajith, ![]() Can u please let me know the functions which throw this error. Thanks Sabarish |
|
|||
|
Re: Error: Internal error in agent - Function never returned a value
Hi again Sabarish,
I get this error when I use GetRowCount and GetCellValue function. However when i use GetContents i dont get the error but no results either. The List of string returned by GetContents turns out to be blank. I have not tried other functions. I am not sure if this info can be useful but in QTP the same control is identified as swfTable and the function equivalent to Silk's GetCellValue (can't remember the exact function name) is giving the expected results. Regards Sajith |
|
|||
|
Re: Error: Internal error in agent - Function never returned a value
Hi Sajith Nops ![]() I was out on a vacation, hence the delay! I think the the appln: control you mapped to as Table Class does not respond to the methods. i.e the class map doesn't work for your controls. hence you get Error: Internal error in agent - Function never returned a value or GetContents turns out to be blank. Try to map it to some other class and see if it works. Thanks |
|
|||
|
Re: Error: Internal error in agent - Function never returned a value
The reason I think the control is a Table is coz atleast QTP sees it a table. (please check my first post in this thread)
And I had also tried mapping it to Listview, i got the error Error: Window type mismatch - Expecting a listview in details view Thanks Sajith PS: Do you have any experience with Silktest integration with QC? If yes, could you please check my post in the Quality Center forum? |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| I get error "invalid call to function"... | JobHelper | QTP | 1 | 06-23-2008 04:10 PM |
| Getting error "syntax error in ObjectRepository" | siteuse | QTP | 1 | 07-05-2007 04:57 PM |
| Report Net on XP gives error, Cryptographic error has occured | chandrabhoopathy1 | Data Warehousing | 0 | 05-24-2007 07:07 PM |
| Ora-600 : Internal code Error 26599 | jgobinath | Oracle | 7 | 02-27-2007 08:04 AM |
| Type of Error for Variables not declared in function | fred | C and C++ | 1 | 07-12-2006 05:31 PM |