QTP Data table

When I run my test script, only the first row of the data table gets executed and the test results are shown up. Test script doesn't run through the other rows of the data table. I am using global data table.
Did anybody experience this kind of problem. If so, what could be the cause of it? Please share your experience and any suggestions are welcome.
Thanks in advance

Questions by Sujatha Kandikonda

Showing Answers 1 - 7 of 7 Answers

wizard

  • Mar 20th, 2007
 

Check your testsettings. Make a selection for run on all rows

  Was this answer useful?  Yes

sanarita

  • Mar 21st, 2007
 

i think it might be problem with your test script.you have to use parameterization so that in data table all rows will defenetly run.u have to decide that where u can parameterize the test.

  Was this answer useful?  Yes

lsuri

  • Mar 22nd, 2007
 

Hi,

         I think you recorded the script by opening the login window of the application. After the first iteration. the login window might be closed and when the second iteration starts it searches for the login window to enter login id and password. If there is no script to open the login window it can not open the login window and consequently the script can not run.

                   Please let me know if I'm right or not.


Thanks
L

  Was this answer useful?  Yes

Mohibul Islam

  • Mar 22nd, 2007
 

just use DataTable.SetNextRow in between the loop it will execute all the rows one by one.

  Was this answer useful?  Yes

kishan

  • Mar 22nd, 2007
 

what are the books nessary for easy learing of  Manual Testing & Quick Test professionals...

  Was this answer useful?  Yes

Hi Click on Action call Properties and check Run on all rows option.

I faced a problem while using the local data sheet , I used the run on all rows option.
But messgage displayed is object not found,

When I use the Global Sheet it , is working fine.
But there is a problem
It keeps logging in and Logout for all the users

Please write to me HOw to avoid logging in for every user.

I  am learning QTP

Please reply to sjsai70@yahoo.com

Thanks

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions