Micro Focus QTP (UFT) Forums
Parameterization - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Parameterization (/Thread-Parameterization)



Parameterization - nilu verma - 04-23-2008

Hi,
I am very new to QTP. I Put a Database CHkpt & parameterize it. But i dont know how to and where to code to get that unique value in the text box. I also tried Text Output Check point but i am not able to figure out how to pass the value .

Code:
Dim Receipt_txt
Receipt_txt = Datatable("Receipt_Num", dtGlobalSheet)

It gives me a syntax Error that End of statement Expected.

I will really appreciate the help.

Thanks,
Nilu.


RE: Parameterization - newqtp - 04-23-2008

If you are are try to get the value from your datatable on column name recipt_txt
then try this
Code:
receipt_txt=Datatable.value("Receipt_Num", dtGlobalSheet)