Micro Focus QTP (UFT) Forums
not taking the global data sheet value - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Regular Expressions (https://www.learnqtp.com/forums/Forum-UFT-QTP-Regular-Expressions)
+--- Thread: not taking the global data sheet value (/Thread-not-taking-the-global-data-sheet-value)



not taking the global data sheet value - vandana sharan - 07-28-2010

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


RE: not taking the global data sheet value - QTPLearn - 07-28-2010

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