You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Did you have solution for this? I also have the same problem when I try to access Grid of WCF Test Client on the right panel when double click to open service and input.
But I cannot input value in the grid.
Do you all have any solution grid in WCF Test Client?
private IWebElement InputControl
{
//get { return driver.FindElement(By.Id("inputControl")); } //both locator cannot catch grid
get { return driver.FindElement(By.ClassName("WindowsForms10.LISTBOX.app.0.141b42a_r10_ad1")); }
}
DataGrid grid = InputControl.ToDataGrid();
int c = grid.ColumnCount; //error here because of not catch grid object
int r = grid.RowCount; //error here because of not catch grid object
I can't retrieve the value of a cell from a datagridview.
Code;
var grid = _driver.FindElementByName("DataGridView");
var itensgrid = grid.ToDataGrid();
var b = itensgrid.Find(1,1);
Message:
OpenQA.Selenium.NoSuchElementException : NOT GET ITEM
Rastreamento de Pilha:
RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse)
RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary
2 parameters) RemoteWebDriver.InternalExecute(String driverCommandToExecute, Dictionary
2 parameters)RemoteWebElement.Execute(String commandToExecute, Dictionary`2 parameters)
DataGrid.CallDataGridcellCommand(String command, Int32 row, Int32 column)
DataGrid.Find(Int32 row, Int32 column)
The text was updated successfully, but these errors were encountered: