leeasdf9
9 years agoFrequent Contributor
How to capture an obj with random process index
sys: Win8
tc:11
process: jp2launcher
Hi,
There is a case we need to verify a popup dialog from a main application, the main tested application is processed as Sys.Process("jp2launcher",1), and 2nd tested application is processed as Sys.Process("jp2launcher",2).
The issue is that the 3rd expected popup dialog is processed sometimes as
Sys.Process("jp2launcher",2).SwingObject("mypopupobj","labelname",-1,1)
sometimes as
Sys.Process("jp2launcher",3).SwingObject("mypopupobj","labelname",-1,1)
is there a way to search this popup obj in all browsed jp2laucher processes?
Thanks for your help in advances,
Lee
You can use wildcards or/and conditional name mapping