Use GetROProperty to get the value from webtable and compare with the value
what you want to validate.
hope it works.

On Wed, Jul 27, 2016 at 4:14 PM, Vikash Mishra <[email protected]>
wrote:

> set a =
> Browser("A").Page("B").WebTable("C").WebTable("Item").ChildItem(2,2,"ObjType",0)
> //ObjType = Link/ WebElement/WeBbutton/WebCheckbox/WebRadioButton etc..
> b = a.GetROProperty("value")
> if b<>"" then
>  a.click  or a.select // perform ur action here...
> end if
> try ..may work
>
>
> On Tuesday, July 26, 2016 at 7:01:59 PM UTC+2, saravanan u wrote:
>>
>> Hi,
>>     Thanks Vikash,
>>
>> Actually scenario is
>> 1.assign a int value into a variable
>> 2.check if variable is present in the webtable.
>> 3.if it's true select the value.
>>
>> Thanks,
>> Saravanan
>> On 26 Jul 2016 14:29, "Vikash Mishra" <[email protected]> wrote:
>>
>>> Browser.page.webtable.childitem(row,column, objecttype, idex).click
>>>
>>>
>>>
>>> On Monday, July 25, 2016 at 6:17:53 PM UTC+2, saravanan u wrote:
>>>>
>>>> Hi,
>>>>     I need a script for below scenario.
>>>> Scenario :click a specific value from Web table if it is present in the
>>>> table.
>>>> Thanks in advance
>>>>
>>>> Thanks,
>>>> Saravanan
>>>>
>>> --
>>> --
>>> 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/d/optout.
>>>
>> --
> --
> 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/d/optout.
>

-- 
-- 
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/d/optout.

Reply via email to