Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Retrieve row number based on value in DataTable
#2
Solved: 10 Years, 9 Months, 2 Weeks ago
Hi,
you can run a For loop for the same purpose....Flow will be like this:
1.First get row count of the excel sheet with GetRowCount method.
2.Store it in a variable say Row_Count.
3.Run a For loop say "For i=1 to Row_Count
4.get the value of Coumn2 by "DataTabe.Value" method and store it in a variable say "Temp"
5.Compare the value Temp wiht value"E" and now u can run your test case accordinly...

Hope it will be helpful..........

Regards
Reply


Messages In This Thread
RE: Retrieve row number based on value in DataTable - by Shrikantsr - 04-12-2011, 12:44 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Error as Global Not defined while trying to retrieve value from Datatable siddharth1609 0 856 09-11-2019, 02:52 PM
Last Post: siddharth1609
  Cannot retrieve Native property JeL 1 921 07-29-2019, 05:41 PM
Last Post: JeL
  DataGrid: double click on selected row robertosalemi 0 4,291 05-12-2016, 03:00 PM
Last Post: robertosalemi
  Row count is always shown as 1 Harry1999 0 1,979 04-14-2016, 11:11 PM
Last Post: Harry1999
  To retrieve content of a WEBEDIT object alpha1 2 2,420 06-11-2015, 11:21 AM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)