How to recognize the 2nd launching firefox in TC
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2009
09:44 AM
12-11-2009
09:44 AM
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.
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2009
10:18 PM
12-11-2009
10:18 PM
Hi,
If you launch FF from TestedApps, you can obtain its process as a result of the Run method. It will launch a new instance of FF and return it.
Also, you can use indexes to distinguish among existing FF processes.
If you launch FF from TestedApps, you can obtain its process as a result of the Run method. It will launch a new instance of FF and return it.
Also, you can use indexes to distinguish among existing FF processes.
------
Yuri
TestComplete Customer Care Engineer
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Yuri
TestComplete Customer Care Engineer
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
