03-10-2008, 04:57 PM
Please,Can anyone tell me how can I compare local sheet data with the value in run time data table?
|
How to compare local sheet values with run time data table values?
|
|
03-10-2008, 04:57 PM
Please,Can anyone tell me how can I compare local sheet data with the value in run time data table?
03-11-2008, 10:10 AM
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
03-14-2008, 07:09 PM
Thanx alot Sreekanth...I was able to execute the above script successfully ang get the expected output.
|
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
| Help with Select checkbox from data table value | jayraocourts | 0 | 1,743 |
11-01-2019, 10:25 PM Last Post: jayraocourts |
|
|
|
How To Find Dropdown Object based on Values from the dropdown list | mesg2anil | 12 | 36,468 |
12-19-2017, 10:25 PM Last Post: sandy2404 |
|
|
how to get values of childItem of a webtable | caze | 17 | 122,840 |
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 | 2,149 |
01-17-2017, 11:05 AM Last Post: JACKSPARROW |
|
| Inserting variable values into Descriptive Programming Functions | eske99 | 2 | 4,128 |
12-18-2015, 01:47 PM Last Post: vinod123 |
|