What I need to understand is how to get a result back from an execution statement such as:
thisCommand.CommandText = "SELECT myValue FROM DatabaseTable"
thisCommand.ExecuteNonQuery()
Is this possible? Is there a better way? If so, what do I need to do to make it happen?
When I run the following code, the value returned to my variable aResult is always -1, regardless of whether the search succeeds or not:
SQL_Command =
"SELECT * FROM LookupItemsTexts WHERE [Text] = 'fred'"
Log.WriteLine(SQL_Command)
'debug line
'Now execute the command
thisConnection.Close()
thisConnection.Open()
thisCommand.CommandText = SQL_Command
aResult = thisCommand.ExecuteNonQuery()
Log.WriteLine(aResult.ToString())
'debug line
Thanks,
Nigel Edwards.
I am evaluating Test Studio as a potential candidate for running automated testing on a Silverlight application. I watched the video “Test Studio – Guide to Success Part I.” This video was very helpful. However, I am having trouble automating a test for a Silverlight Out of Browser application.
First, I configured Test Studio to open the OOB application. When I click the record button, I get an unhandled exception.
In addition, I cannot watch the video “Out of Browser Silverlight Applications.” Right now this video would be very helpful. Likewise, none of the Silverlight Automation videos seem to work. Please help.
Hi,
The new version of Telerik Load Testing, does it have data driven test capability?
If yes, where can I read more about it?
Thanks
Hi, please can you tell me what is purpose of associating coded test to Test Case in VS which I saw in your video (Test Studio Integration with Team Foundation Server)? I thought that this is when you need run more advanced test CUI test in MTM? But which advantage I can get associating Test studio test with test case?
Thanks
David
/// <
summary
>
/// Find logic
/// (Html): [id 'Exact' silverlightControlHost][tagIndex 'Exact' object:0]
///
/// </
summary
>
public ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl ObjectTag
{
get
{
return Get<
ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl
>("id=silverlightControlHost", "|", "tagIndex=object:0");
}
}