If you need to select for different profile ( say en example PETE,
JANE) ,
VbWindow("CWMainForm").VbTreeView("AppServerTree").Select "PETE,
JANE ;Current Encounter;A/P;Order Rads"
So you contruct the item in the run time and then pass
strProfileName = "PETE, JANE"
strNoteItem = strProfileName & " ;Current Encounter;A/P;Order Rads"
VbWindow("CWMainForm").VbTreeView("AppServerTree").Select
strNoteItem
On Jan 13, 12:44 am, Pete <[email protected]> wrote:
> Below is a script I am working on. Can anyone guide on how I can allow
> a different name come across everytime I create a new profile. Below
> is show DOE,Jane and I want replace with a different name when I
> create a new profile.
>
> VbWindow("CWMainForm").VbTreeView("AppServerTree").Select "DOE,
> JANE ;Current Encounter;A/P;Order Rads"
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en