Browser().Exist is returing True even though the browser is not opened yet in the application. I need to verify the Popup windows , Exist property is retuning ture before that window is opened and after it is closed.Can any one tell me how this property worksMany Thanks

Showing Answers 1 - 3 of 3 Answers

swapnil

  • Jan 24th, 2007
 

Same scenario happened with me while I was doing CET Project Since in OR it is present thats why it is giving true U do one thing, check for particular webelement of page eg. browser("welcome to online appl").page("Welecome to online appln).webelement(" ").exists this will return u false

  Was this answer useful?  Yes

uma

  • Jan 31st, 2007
 

I followed the suggested method and verfying the existence of textbox in the Popup screen.But it is still returning 'true' before the popup page opened. I checked using GetROProperty to get the value of that textbox. The value of the textbox is returned before the popup screen is opened.I closed the script and run that again. Now it is behaving in the opposite way.Even after the popup page is opened and textbox is displayed it is returning 'False'.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions