Forum Discussion
Hi Hskim,
Please check if my suggestion given in another thread you've started helps you:
http://community.smartbear.com/t5/Functional-Web-Testing/Compare-value-from-Excel/m-p/112727
- djadhav10 years agoRegular Contributor
If you are using rowCount for output row number then
rowCount = 1 should do it for you. From there you can keep incrementing it.
In case that is not true, please paste some code where you are writing the values to Excel.
- hskim10 years agoContributor
I tried to fix the value like 'rowCount = 1'.
And then the result is written at that just one time.
After that 2rd result is written same position the 1th result is gone.
I want to writ the 1th result from 1 position and 2rd result must be written the bottom.
- djadhav10 years agoRegular Contributor
I agree, that's what would happen. We need to use it this way
rowCount = 1
- Begin writing to excel
Get value of rowCount
Write to excel
increment value of rowCount
- End writing to Excel
Loop from - Begin to - End as many times as required
If you post some of your code then it'll be easier.