Hi All,
I am using QTP 9.2 with Java Application
---
Simple way to select a Java tree subfolder (for example "System") is:
Browser("Sample").Page("PageSample").JavaApplet("AppletSample").JavaTree("JTree").Select "System"
---
Also,
We may use a variable:
Dim
A = "System"
Browser("Sample").Page("PageSample").JavaApplet("AppletSample").JavaTree("JTree").Select A
---
If we go in, lets say, "System ==> Users"
That would be:
Browser("Sample").Page("PageSample").JavaApplet("AppletSample").JavaTree("JTree").Select "System;Users"
But the Question is:
Is there anyway to insert a variable there?
Something like:
Dim
A = System
B = Users
Browser("Sample").Page("PageSample").JavaApplet("AppletSample").JavaTree("JTree").Select A;B
OR
Browser("Sample").Page("PageSample").JavaApplet("AppletSample").JavaTree("JTree").Select A;"Users"
Thank you very much!
I am using QTP 9.2 with Java Application
---
Simple way to select a Java tree subfolder (for example "System") is:
Browser("Sample").Page("PageSample").JavaApplet("AppletSample").JavaTree("JTree").Select "System"
---
Also,
We may use a variable:
Dim
A = "System"
Browser("Sample").Page("PageSample").JavaApplet("AppletSample").JavaTree("JTree").Select A
---
If we go in, lets say, "System ==> Users"
That would be:
Browser("Sample").Page("PageSample").JavaApplet("AppletSample").JavaTree("JTree").Select "System;Users"
But the Question is:
Is there anyway to insert a variable there?
Something like:
Dim
A = System
B = Users
Browser("Sample").Page("PageSample").JavaApplet("AppletSample").JavaTree("JTree").Select A;B
OR
Browser("Sample").Page("PageSample").JavaApplet("AppletSample").JavaTree("JTree").Select A;"Users"
Thank you very much!