Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Blank(null) cells within Datatable
#1
Solved: 11 Years, 4 Months, 4 Weeks ago
QTP10
XP
IE8
I'm using a datatable within a TEST, that has several rows and columns.
There is however one column that has numbers to input; but I intentionally left the last 5 rows of that column BLANK (NULL).

When I attempt to run it, it errors out when it hits that empty field.

What can I put in that field to represent a 'BLANK'?
Reply
#2
Solved: 11 Years, 4 Months, 4 Weeks ago
Hi cocojava,

Can you try putting a single quote (') in those last 5 rows? When you put a single quote in a cell and hit enter, you can see the cell still blank. That being said, you actually put a single quote but still the cell is blank.

Hope it will solve your purpose.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Need to Validate Text filed is blank after clicking on the Text box balak89 3 4,975 09-13-2015, 12:06 AM
Last Post: ADITI1992
  how to remove null values in array venkatesh9032 0 2,914 02-19-2014, 06:51 PM
Last Post: venkatesh9032
  I am trying to extract text from a webelement but it is generating blank text scenari excellentpawan 2 4,753 08-13-2013, 08:37 PM
Last Post: excellentpawan
  Check for blank in datatable cell Prashanth 1 3,514 05-15-2013, 06:08 AM
Last Post: basanth27
  GetRoProperties("enabled") returns null? RandomGrin 3 7,469 02-28-2013, 11:27 PM
Last Post: RandomGrin

Forum Jump:


Users browsing this thread: 2 Guest(s)