Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to compare local sheet values with run time data table values?
#2
Solved: 10 Years, 10 Months ago
Hi ,

Just check with the below :

Step1. Intially read the values from local sheet...(Local_val=datatable("colname",dtLocalSheet)

step2. Read the values from runtime datatable ..(runtime_val=datatable("colname",dtGlobalSheet)
(note:here runtime datatable is nothing but a trial/duplicate copy of globalsheet)

step3. Validate the step1 & step2 and then display the results
Code:
if (trim(Local_val)=trim(runtime_val)) then
    msgbox "Validation success"
    reporter.reportevent 0,"values comparison","validation is passed"
else
    msgbox "validation unsuccessfull"
        reporter.reportevent 1,"values comparison","validation is failed"
end if
Reply


Messages In This Thread
RE: How to compare local sheet values with run time data table values? - by sreekanth chilam - 03-11-2008, 10:10 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Help with Select checkbox from data table value jayraocourts 0 1,084 11-01-2019, 10:25 PM
Last Post: jayraocourts
Sad How To Find Dropdown Object based on Values from the dropdown list mesg2anil 12 33,092 12-19-2017, 10:25 PM
Last Post: sandy2404
Toungue how to get values of childItem of a webtable caze 17 117,952 11-06-2017, 01:05 PM
Last Post: sivaji
  Trying to create List box in excel sheet at Run time with values yes No JACKSPARROW 0 1,611 01-17-2017, 11:05 AM
Last Post: JACKSPARROW
  Inserting variable values into Descriptive Programming Functions eske99 2 3,187 12-18-2015, 01:47 PM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)