Micro Focus QTP (UFT) Forums

Full Version: not taking the global data sheet value
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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