Micro Focus QTP (UFT) Forums
Storing runtime value into datasheet - 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: Storing runtime value into datasheet (/Thread-Storing-runtime-value-into-datasheet)



Storing runtime value into datasheet - priyaUFTlearner - 04-03-2015

Hi, I am trying to store captured object property value into datasheet using below code but i am getting this error message (The set DataTable.Value operation failed. The <F> column does not exist.
Code:
Line (12): "DataTable.Value("F",dtGlobalSheet)= x". )

Code is:

Code:
x= Browser("abc").Page("abc").WebElement("abc").GetROProperty("innertext")
DataTable.Value("errormessage",dtGlobalSheet)= x


Please someone suggest me?


RE: Storing runtime value into datasheet - supputuri - 04-03-2015

Do you have "errormessage" column in your GlobalSheet? make sure the name is exactly printed in the data sheet and code

-Sridhar Upputuri


RE: Storing runtime value into datasheet - priyaUFTlearner - 04-03-2015

Yes, Sridhar I did make sure that.

But I am able to achieve this with standard output checkpoint in UFT.

Thanks,
Priya.


RE: Storing runtime value into datasheet - babu123 - 04-06-2015

rename F column to some text. F column name to Test like that


RE: Storing runtime value into datasheet - priyaUFTlearner - 04-10-2015

Thanks, it worked.