Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
not taking the global data sheet value
07-28-2010, 04:52 PM
Post: #1
not taking the global data sheet value

hello,

I am a new for QTP. i just open the flight reservation window and given the username and password. and just exit the application.

i had parameterize the username of the Flight application.

but its not taking the value from Global data sheet.
just throwing the error that parent window is not matching.

from object repository , i used regular expression for login window value i.e #3770 and i did #377[0-9]

but its not taking and throwing error.

pls suggest me

Thanks
Vandana
Find all posts by this user
Quote this message in a reply
07-28-2010, 05:31 PM (This post was last modified: 07-28-2010 05:50 PM by QTPLearn.)
Post: #2
Question RE: not taking the global data sheet value
It would be nice if you attach your code for better understanding.

Instead of using #3770 and i did #377[0-9],better use proper object property,like txtUserName.
Please use SPY option to get the object value.

By the way to use the Global Sheet ,you have to pass the value in below mention form:

DataTable["UserName",dtGlobalSheet]


~Thanks

~@k
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Indexing sheets from Global table using column value in Excel iluvlabbies 1 517 11-19-2009 10:22 AM
Last Post: Saket

Forum Jump:


User(s) browsing this thread: 1 Guest(s)