This method works for setting a standalone parameter value, but when I tried adding the tableIndex so I can update a parameter in a specific row it fails.
Element setelement = engine.FindElement(dmaID, elementID);
setelement.SetParameter(parameterNumber, parameterValue, tableIndex);
tableIndex is a string according to this document but maybe this is unrelated. My question is how do I pass the table row index with the SetParameter method. I'm using the generic table driver for my test and the index of the row is f4b749d8-5794-4b19-bce8-81fe1af17134 which I provided but I'm getting an error...
Hi Edward,
Looking at your code snippet, it seems that the parameterValue and tableIndex should be swapped for it to work. The error probably came from trying to set the tableIndex "1" which does not exist in your table.
Hope that helps!
Switching them around worked for me. Thank you!