Hi, how to check whether object is visible or not ? kindly advise

On Saturday, April 4, 2015 at 1:27:32 AM UTC-5, Venkat Reddy Bandaru wrote:
>
> Hi vidya 
> Check using Visible property, it may help in resolving the issue. 
> On Apr 4, 2015 5:06 AM, "Sedhupathi Gnanasundaram" <[email protected] 
> <javascript:>> wrote:
>
>> Hi Vidya,
>>
>> I too handled these kind of issues,
>> i used the height property to handle this but height property is not 
>> preferable ... So check it out as per your need ..
>>
>>
>> Thanks,
>> Sedhu 
>>
>> On Fri, Apr 3, 2015 at 11:58 PM, Sourish Mallick <[email protected] 
>> <javascript:>> wrote:
>>
>>> Check the property visible.. if it is true
>>>
>>> On Fri, Apr 3, 2015 at 10:00 PM, Rupali Mahapatra <[email protected] 
>>> <javascript:>> wrote:
>>>
>>>> Hi,
>>>>
>>>> The webelement might be hidden and thats why it returns true always. 
>>>> Check if the webelement is hidden or not. That will solve the issue.
>>>>
>>>> Thanks
>>>> On 3 Apr 2015 17:06, "vidya Bose" <[email protected] <javascript:>> 
>>>> wrote:
>>>>
>>>>> Hi, I am trying to validate if a webelement property exists on the 
>>>>> page or not. But QTP always returns true :( and not going to 'Else' part 
>>>>> . 
>>>>> Below is my code. pls help to fix this  :( 
>>>>> ************************************************************
>>>>> BlnResult = Browser("CDMS :: Master Agreement").Page("CDMS :: Master 
>>>>> Agreement").WebElement("File Upload successfully").Exist(0) Then 
>>>>> Msgbox "Success"
>>>>> Else 
>>>>> Msgbox "Fail"
>>>>> End If
>>>>> ************************************************************
>>>>> QTP always returns "success" even in case if web element doesn't exist 
>>>>> on the page.
>>>>>
>>>>> -- 
>>>>> -- 
>>>>> 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] 
>>>>> <javascript:>
>>>>> To unsubscribe from this group, send email to
>>>>> [email protected] <javascript:>
>>>>> 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] <javascript:>.
>>>>> 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] 
>>>> <javascript:>
>>>> To unsubscribe from this group, send email to
>>>> [email protected] <javascript:>
>>>> 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] <javascript:>.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> -- 
>>>  
>>>  
>>> Regards,
>>> Sourish Mallick
>>>  
>>> -- 
>>> -- 
>>> 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] 
>>> <javascript:>
>>> To unsubscribe from this group, send email to
>>> [email protected] <javascript:>
>>> 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] <javascript:>.
>>> 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] 
>> <javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> 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] <javascript:>.
>> 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