Forum Discussion

nilesh_singhai's avatar
nilesh_singhai
Occasional Contributor
13 years ago

wvalue method error




Hello Everyone,



We have a scenrio with us where we need to capture cell data from the Grids and verify the same. Grids displayed are of SlClassName - RadGridView and method we used for capturing Cell data was wValue(rowIndex,Column Name).



Please refer to the Attachment. We have one record (thus rowindex enetred was 0 ) and Column name (retrieved with the help of wColumn method) entered was 'Distribution List Name'. When this parameters were passed to the wValue method TestComplete gives Error

"

Possible reasons:

1. The application stopped responding.

2. The application was compiled incorrectly (see the Open Applications topic in the help system).

3. An error occurred in TestComplete.



Technical information:

394 0x80070057 (The parameter is incorrect.) .



Tested object:

Sys.Browser("iexplore").BrowserWindow(0).Window("Frame Tab", "", 1).Tab("Reval - Windows Internet Explorer").Window("Shell DocObject View", "", 1).Window("Internet Explorer_Server", "", 1).Page("https://reval-uat.staging.echonet/").Form("form1").Panel("silverlightControlHost").Object(0).SlObject("Shell", "").SlObject("ViewTabContainerControl").SlObject("ItemsControl", "", 1).SlObject("ViewTabContent", "", 3).SlObject("ScrollArea").SlObject("DistributionListsView", "").SlObject("SearchResultGrid")

"



Surprisingly , same method works fine at times and when we try it again same error is displayed.





Please Suggest.

Thanks


3 Replies


  • Hi Nilesh,


     


    Please follow the steps below to help us better understand the cause of the problem:


    1. Run the Report Generator tool located in <TestComplete>\Bin\ReportGenerator.exe.


    2. Select the "Launch/attach to TestComplete" option.


    3. Reproduce the problem.


    4. Click the "Generate..." button in the Report Generator tool and save the report to a local folder.


    5. Send the report to our TestComplete Support team 


     


    Also, could you please send the answers to the following questions to the Support Team?


    1. What grid version are you using?


    2. What Silverlight version is installed on your computer?


     

  • nilesh_singhai's avatar
    nilesh_singhai
    Occasional Contributor
    Hi Tanya,

    Thanks for your prompt reply.



    The details you had asked for are as follows:

    grid version : 2011.2.712.1040

    Silverlight version is installed on computer: 5.1.20125.0





    Regarding the Running the ReportGenerator.exe, when I tried to run the same the system got hanged and I had to restart it. When I double clicked on the exe to run the exe,Mouse pointer Started flickering and I had to restart the system.

    Request you to please suggest other way to run the exe.


  • Hi Nilesh,


     


    grid version : 2011.2.712.1040


    TestComplete officially doesn't support your control version - Q2 2011. According to the "Telerik RadGridView for Silverlight Support" article, only the Q3 2011, Q1 2012 versions are supported. That's why, you may get the error - we don't guarantee that the test will work without issues in this case.