qanhd
16 years agoOccasional Contributor
How to recognize the 2nd launching firefox in TC
Flow is as follow:
Launch 1st firefox
Check that it launches successfully using Exists method
Wait for it to fully launch
Launch 2nd firefox (w/o closing the first one)
Check that it launches successfully using Exists method <--- This is where I am having issue because it will return true since the 1st firefox already launched. Any thoughts? I don't want to statically wait for 2nd firefox to launch. I thought of checking for ID/handle but not a good idea if there are more than 2 already launched.
Launch 1st firefox
Check that it launches successfully using Exists method
Wait for it to fully launch
Launch 2nd firefox (w/o closing the first one)
Check that it launches successfully using Exists method <--- This is where I am having issue because it will return true since the 1st firefox already launched. Any thoughts? I don't want to statically wait for 2nd firefox to launch. I thought of checking for ID/handle but not a good idea if there are more than 2 already launched.