Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Database Checking
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
Two ways,

1) check for the column --- select xyz from table if column exist it will show you the data else it will raise an error. Use err object to raise and capture the error ( if it occurs)

2) Other method can be to download the table before and after inserting the column in excel and use getparametercount to get the no of columns each time. If diff is 1 then the column is inserted.

I would prefer the 1st method. 2nd, In my opinion is not efficient.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply


Messages In This Thread
Database Checking - by Rajesh - 01-14-2008, 02:55 PM
RE: Database Checking - by Ankur - 01-16-2008, 11:41 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP consuming more time while checking for the objects skadam 4 4,073 10-04-2011, 02:57 PM
Last Post: skadam
  Checking text msg dynamically... Shandru 1 2,327 10-06-2010, 12:08 PM
Last Post: Saket

Forum Jump:


Users browsing this thread: 1 Guest(s)