Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
not taking the global data sheet value
#1
Not Solved
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
Reply
#2
Not Solved Question 
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
Reply


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

Forum Jump:


Users browsing this thread: 1 Guest(s)