Forum Discussion
9 Replies
- Marsha_RChampion Level 3
Has this ever worked for you? When did it stop working?
- AlexKarasChampion Level 3
Hi,
I am second to Marsha. Did it ever work?
I am not sure what scripting language your test project is based on, but if it is JScript then you must use .toArray() call.
I.e.:
Sys.FindAll("ObjectType", "Browser", 10).toArray().length;
https://support.smartbear.com/testcomplete/docs/scripting/specifics/jscript.html#ArraysInJS
- bhcommunity1Contributor
Hey,
1) Project uses JavaScript
Sample code indicates
// Search for all edit buttons in the Font dialog
textBoxes = w.FindAll("WndClass", "Edit", 5);2) I believe this stopped working sometime over the last couple of weeks
We have a function for closing down browsers which performs a sanity check against the browser page prior to attempting to call the close method.
- bhcommunity1Contributor
FYI - We have scenarios where we have multiple browsers open at one time.
- Marsha_RChampion Level 3
Did you happen to upgrade your TestComplete right before then?
- bhcommunity1ContributorI don't recall when I upgraded to Version: 15.51.30.7 x64
* Probably shortly after it was released
I think this was released around first week of June,
Bright Horizons Children's Centers LLC., 2 Wells Ave. Newton, MA 02459 USA
Bright Horizons Family Solutions Limited (Co. No. 2328679), r/o 2 Crown
Court, Rushden, Northamptonshire NN10 6BS UK
This e-mail and any attachments to it are intended only for the addressee
and may contain information which is confidential and/or legally privileged.
If you are not the intended recipient, you are hereby notified that any
dissemination, distribution or copying is strictly prohibited. If you have
received this e-mail in error, please contact the sender immediately and
delete the material from any computer and any printout thereof. Bright
Horizons cannot guarantee that this e-mail communication is secure or free
of error. No liability is accepted for any viruses or for any corruption,
amendment to or deletion of or from this e-mail.
- rraghvaniChampion Level 3
I've copied the coding shown in your screenshot, and here it is working,
Using TC v15.52.2.7 x64
- bhcommunity1Contributor
Upgraded to Version: 15.52.2.7 x64
- Issue is resolved with this version.
Related Content
- 11 years agokirk_bottomley
- 2 years agoPossum
Recent Discussions
- 4 hours agoSvetaG