how to check if item is visible or not ?
Posted: Thu May 31, 2012 12:52 pm
hello, i have a problem..
i have a task where can be mark "priorite". this mark is at the begining invisible and become visible after i press button "priority task" and my test should be like..
1 check that there is task withous mark
2 press button
3 check that there is task with mark
and i dont know how to do it.
i used validate text of mark or just id if exist or not, but ranorex told me all time it exist.. so how i can check if text is visible and then validation exist is true or text is invisible and then validation exist failed (adn other hand validation not exist is true when object is invisible ?
i have a task where can be mark "priorite". this mark is at the begining invisible and become visible after i press button "priority task" and my test should be like..
1 check that there is task withous mark
2 press button
3 check that there is task with mark
and i dont know how to do it.
i used validate text of mark or just id if exist or not, but ranorex told me all time it exist.. so how i can check if text is visible and then validation exist is true or text is invisible and then validation exist failed (adn other hand validation not exist is true when object is invisible ?