Comparing the values Webelement with datatable val
I need to compare the value of WebElement which i feteched at run time using GetRoProperty("innertext"). Now i need to compare this value with all the values that i had in my datatable one by one and if i found the value then i have to see at which row the value exists. Please let me know how to do this.
Re: Comparing the values Webelement with datatable val
1. Do the iteration to your existing datatable based on your row count and column count.
2. Fetch data from Datatable using Datatable("sheetname",dtlocalsheet/dtgolablsheet)
3. Use CompStr function to compare string.
4. If string comparision returns true then return cell value.