Micro Focus QTP (UFT) Forums
variable usage - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: variable usage (/Thread-variable-usage)



variable usage - mctr12 - 03-03-2008

I have
Code:
Browser("WebUtil").Page("Environment - WebUtil").JavaApplet("Main").JavaInternalFrame("Logon")

I need these "WebUtil", "Environment - WebUtil" as variables (data table) how i can do it ? plz help me.


RE: variable usage - sreekanth - 03-04-2008

just write it as
Code:
Brow= "WebUtil"
(Here u can use datatable.value method to retrieve it from data table)
Code:
Browser(Brow).Page("Environment - WebUtil").JavaApplet("Main").JavaInternalFrame("Logon")