hi danny,

pls add me to ur gtalk list , I have sent the frnd request


On Thu, Feb 7, 2013 at 12:29 AM, Ankit Gupta <[email protected]> wrote:

> Hi Danny,
>
> What I can see from the code in function library is that the
> control_object is the object id on which click operation is being performed
> but this control_object is not actually been supplied to the function fnAction
> as parameter as required because the control_object is being set locally in
> function  fnIdentifyControl and so it is not actually available to
> fnaction to perform this action
>
> "Execute (control_object.click)"
>
>
> Thanks and Regards,
> Ankit Gupta
>
> On Wed, Feb 6, 2013 at 10:23 PM, Danny Laureano <
> [email protected]> wrote:
>
>> I'm trying to do a keyword driven framework and the Function where I call
>> the different actions has different Case depending on the action I want to
>> perform. What I have to do to eliminate the Execute Command?
>>
>> The control_object variable has the the hierarchy similar or equal to
>> (Browser(arrParentProp(0)).Page(arrParentProp(1)).Frame(arrParentProp(2)).WebButton(arrParentProp(3))
>>
>> Why QTP is not only accepting ->->-> control_object.click
>> here is part of my code;
>> If you want to see all the function library see the attachment please.
>> Code:
>>             Case "Click_Link"
>>                 sExec = control_object &
>> ".click"
>>                 Execute (sExec)
>>
>>             Case
>> "Click_WebButton"
>>                 sExec = control_object & ".click"
>>                 Execute (sExec)
>>
>> 'Same thing happen with every case, for example *****
>> Case "Run"
>>                     sExec = "systemutil.Run" & sDataValue
>>                 Execute (sExec)
>>                 Browser("Main").Page("Main").Sync
>>                 Browser("Main").Page("Main").WebList("Environment").Select
>> "System Integration (UAT)"
>>
>>  --
>> --
>> 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
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "QTP - HP Quick Test Professional - Automated Software Testing" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>

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

--- 
You received this message because you are subscribed to the Google Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to