Hi Avinash

'1. First Create OR Parameter - OR Manager -> Tools-> Manager
Repository Parameters--> Click on "+ "  button to add new parameter
' 2. Select Browser or Page Object Property in OR -  and in OR Test
Object Details click on Property "Select Parameter radio button and
select parameter created in OR


'Browser Property value to be set
strBrNameProperty = "Microsoft Exchange - Outlook Web Access"
' Set Browser "name" property runtime
Browser("BrMicrosoftExchange").SetTOProperty "name", strBrNameProperty
'Check Browser  Identified
MsgBox Browser("BrMicrosoftExchange").Exist

Best Regards,
Atul Sinha

On May 21, 5:29 pm, avinash vl <[email protected]> wrote:
> Hi,
>
> I’m using shared repositories and on many cases I’m assigning runtime values
> to these objects. But it fails.
>
> By using the SetToProperty I am assigning the text “*example*” to and
> webElement.
>
>       Browser(“browser”).Page(“page”).WebElement(“elementName”).SetToProperty
> “text”, example
>
> Now I’m trying to click on that webElement
>       Browser(“browser”).Page(“page”).WebElement(“elementName”).Click
>
> Please advice
>
> --
> Regards,
> Avinash

-- 
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

Reply via email to