Hi All,
I was not able to get any workaround of the issue, QTP help states
that Repository Object could be used as :
Repository.value("xyz") = DataTable("parameter name","sheet name")
It turned out, Repository Object can only be used as this way only and
nothing else. But again this matter gets complicated as the object
gets set only once throughout the test hence no parameterization was
possible ( i may be sounding a bit weird but this was the case i found
out ).
So I left the quest to find a solution of this issue and will wait if
you all Automation geeks can come up with anything on this.
Cheers,
/rahul
On Dec 22, 11:42 am, iRahulSingh <[email protected]> wrote:
> Hi All,
>
> I've a shared Repository with a OR parameter attached with 1 object.
> lets say name of the OR parameter is "xyz". Now when i've to map this
> parameter while attaching this repository in an action of a test i can
> do that from Resources > Map Repository Parameter > "xyz" .
>
> But my problem is i've to Map this parameter now using the code as i'm
> using that object in an function which will be called to many actions
> hence i can;t afford to do the above step hence QTP help gave me a way
> to do that by using :
> Repository.value("xyz") = "value to be set"
> but this is not working my OR parameter is having the same value as
> default value throughout the test i.e 0.
>
> Please help me how i can go forward with this or if somebody has any
> other approach .
>
> Regards,
> /rahul
--
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