This is a migrated thread and some comments may be shown as answers.

Element Visibility problems

1 Answer 47 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 09 Feb 2015, 05:07 PM
Hello there,

I'm having an issue with element visibility check on Silverlight. My application have an alert popup that i need to check if it appears or not during my tests.
I mapped the element and tried to verify if it exists or not, but Test Studio can't find the element when the popup is closed (and i don't know why). So i'm trying to verify the visibility, but i found an issue:

If i create one step checking if the element is visible and another after checking if the element is collapsed, the test will pass on the first step and fail on the second. Until now this behaviour is correct.
But if i invert the steps (first verifying if the element is collapsed and another checking if he is visible), Test Studio will pass both steps!! So, how can an element be visible and collapsed at the same time??

This is causing me a lot of problems, because my application uses this alert popup on everything. What i must do to solve this?
I'm attaching both the log files and  prints of the result.

1 Answer, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 10 Feb 2015, 11:05 PM
Hello Daniel,

I agree this doesn't make any sense "how can an element be visible and collapsed at the same time??". To investigate this I need a Silverlight application that reproduces the symptoms for me to investigate. Do you have one I can connect to or can you send me a sample Silverlight project which demonstrates this problem?


Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Daniel
Top achievements
Rank 1
Answers by
Cody
Telerik team
Share this question
or