Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP Datatable
#1
Not Solved
Hi,
I am getting the login user name and I need to compare that name with the names in datatable and once the name matches I want corresponding values entered for that entry.

But when I do that everytime it takes value from first row of the datatable and there are on it is going to next row in Datatable.
Is there any way we can move to next row in datatable?

Thanks
Reply
#2
Not Solved
Check Datatable object in QTP Help.
You can use setnextrow
Reply
#3
Not Solved
Hi,
You can use SetNextRow method of datatable..

DataTable.SetNextRow

Thanks
Sridhar
Reply
#4
Not Solved
Hi Sridhar,
I am new to this QTP.In Accessing DataTable values through scripts.I have entered 3 values to the datatable and i highlighted a single value in the notepad .In the expertview i am "not finding any scripts recorded".When i run the test ,it passed .Since the scripts are not recorded ,i get the 3 outputs without the values.What should i do, inorder to get the scripts to be recorded.Please help me.
Thanks.
Reply
#5
Not Solved
Hi,
If you can kindly post the script or code here then i can help you in that.

Regards
Sridhar
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Datatable add and datatable import sheet wheelercha 4 33,357 06-14-2012, 04:53 PM
Last Post: Arul

Forum Jump:


Users browsing this thread: 1 Guest(s)