java - RFT: Problems testing window visibility -


i trying confirm visibility of window on html page using java. in every aspect of window, passing when not visible. rational function tester can observe objects of window , have used them test windows state. in both cases(window showing/not showing) variables same. .exists() returns true , ensureobjectisvisible().

what happen.

    if(//window visible){         button_yesbutton().click();          system.out.print("is vis");     }else{         system.out.print("not vis");     } 

button_yesbutton().click(); happens! rft should crash exception not find object because window not on screen, yet mouse clicks in top left corner of browser , passes though window visible.

what "window" object checking visibility for? browser(i.e html_htmlbrowser()) ?


Comments

Popular posts from this blog

How to provide Authorization & Authentication using Asp.net, C#? -

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

How to use Authorization & Authentication in Asp.net, C#? -