Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Search in Excel / DataTable
#5
Solved: 11 Years, 5 Months ago
I'm writing test results in excel after comparing the values with in the code.
for example,
Code:
set ActValues = objExcel.ActiveWorkbook.Worksheets("ActualValuesNResults")
ActValues1 = ActValues.cells(1, 1)
ActValues2 = ActValues.cells(1, 2)
if ExpctValue1 = ActValues1 then
if ExpctValue2 = ActValues2 then
TestStatus = "Pass"
end if
else
TestStatus = "Fail"
End if
'writing test results in cell A3 in the "ActualValuesNResults" work sheet
ActValues.cells(1, 3) = TestStatus

hope this answers your question.

Cheers
Ram
Reply


Messages In This Thread
Search in Excel / DataTable - by idolast - 01-22-2008, 06:41 PM
RE: Search in Excel / DataTable - by idolast - 01-23-2008, 05:38 PM
RE: Search in Excel / DataTable - by newqtp - 01-23-2008, 11:21 PM
RE: Search in Excel / DataTable - by vramu1 - 01-24-2008, 06:32 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  CyberArk CorePAS REST API to search for accounts pramod 0 866 06-29-2023, 03:11 PM
Last Post: pramod
  Search All Test scripts For a Function? AndyBSG 1 2,786 02-19-2015, 04:15 AM
Last Post: supputuri
  Search for a string in all the files under all subdirectory Mahesh27 1 2,245 07-03-2013, 03:24 PM
Last Post: Sathiya
  Testing Search box kriday 1 2,555 06-26-2013, 08:51 AM
Last Post: basanth27
  Search for a word in excel string QAVA 6 9,462 11-23-2012, 11:17 AM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)