Click here to Skip to main content
15,902,275 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
Hi,
Can any one help me to find solution for this.I googled and I have not found related answers.
In coded UI test,I have an Excel Sheet with certain Testcase_Id and related method names in it.
And simultaneously I have an SQL Database where I have all the testcases and values for the fields.
My work is I have to compare the testcase Id from the Excel sheet to the SQL database. when the testcase Id's are same the test has to be run for the particular method and particular testcase alone.

I am a beginner so please help me.

Regards,
Revathi
Posted
Updated 23-Nov-11 21:09pm
v2
Comments
Sergey Alexandrovich Kryukov 24-Nov-11 2:39am    
Not a question. Not a good problem for a beginner -- uneasy and dirty, making little sense...
--SA
revathi kannan 24-Nov-11 3:10am    
Hi,I have altered the question can you help me now.

1 solution

The simplest way to do it is to export your data from SQL to an excel file and create a file with test cases from both SQL and the original excel file. Now, use excel functions / macros to filter and remove rows with duplicate testcase ids.

This[^] link should be helpful for the duplicate removal.
 
Share this answer
 
Comments
revathi kannan 25-Nov-11 0:59am    
Hi sir,
I dont want to export the data.I just want want to compare the testcases in both excel file and sql.could u pls give the code.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900