firefox - Access the same Popup window with different Test Cases with Selenium IDE -


i'm trying create test suite few test cases build 'modular' test application. application has features can reused many times. it's puzzle mounted in many formats. instance, application has parts shared products , parts shared other products.

my problem access same popup window in different test cases. example:

test suite product 1  case (login) case b (fill fields , open popup) case c (fill pages @ popup window) case d (fill more pages @ popup window) case e (get results , close application)  test suite product 2 case (login) case z (fill different fields , open popup) case c (fill pages @ popup window) case x (fill different pages @ popup window) case e (get results , close application)  test suite product 3 case (login) case b (fill fields , open popup) case c (fill pages @ popup window) case x (fill different pages @ popup window) case e (get results , close application) 

and on...

i read creating rollup scripts , using 1 test case each product option. couldn't find editor create , edit these rollup scripts. i'm using ide version of selenium because facility record actions. parts of our application has more 100 yes/no medical questions divided in many pages , can changed depending on product client accessing.

any ideas?

update:

i've tried things, no luck far. seeing logs seems ide loses popup id created, , without this, it's not possible focus on popup. tried put selectpopup, waitforpopup, selectwindow, no success.

if debug test or click on popup window before timeout , bring focus "manually", test continues no errors. it's not proper solution.

update2:

looking logs, see windows id (seleniumxxxxxxxxxx) changes after finishing test case , starting new one. seems selenium creates whole new poll of windows, considering original window , forgetting new pop up(s) was(were) created during test case...

no 1 having same issue? no 1 has information help??


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -