Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Storing runtime value into datasheet
#1
Solved: 9 Years, 8 Months, 1 Week ago
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?
Reply
#2
Solved: 9 Years, 8 Months, 1 Week ago
Do you have "errormessage" column in your GlobalSheet? make sure the name is exactly printed in the data sheet and code

-Sridhar Upputuri
Thanks,
SUpputuri
Reply
#3
Solved: 9 Years, 8 Months, 1 Week ago
Yes, Sridhar I did make sure that.

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

Thanks,
Priya.
Reply
#4
Solved: 9 Years, 8 Months, 1 Week ago
rename F column to some text. F column name to Test like that
Reply
#5
Solved: 9 Years, 8 Months, 1 Week ago
Thanks, it worked.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Error with QTP DataSheet Values. srach84 1 2,145 11-27-2014, 10:32 AM
Last Post: vinod123
  Way to take values from datasheet and output Fairbanks 3 3,201 03-27-2014, 07:18 PM
Last Post: Ankur
  Import and read multiple tabs on a datasheet trance07 1 3,434 10-09-2013, 07:29 PM
Last Post: Parke
  Sometimes there is Global datasheet. utestqa 0 2,739 10-02-2013, 07:09 PM
Last Post: utestqa
  Datasheet import problem jinnah 2 3,097 09-28-2012, 09:10 PM
Last Post: jinnah

Forum Jump:


Users browsing this thread: 2 Guest(s)