AutomatedQA Message Boards
Newsgroups become obsolete, our new Forums are available here.
| Board: | automatedqa.public.testcomplete |
| Subject: | Unable to read caption of a form |
| Date: | 4 Dec 2009 05:44:42 -0800 |
| From: | "Michael St.Peter" |
Using the object browser, I am viewing the form with the full name:
Sys["Process"]("PPP3")["Form"]("Ponemah Physiology Platform - TEST_750-490sp2.RVW
(User: St.Peter)")["Panel"]("Workspace")["MDIWindow"]("DRa 14% complete")
In my script I use the following name:
P3PlusProcess["Form"]("Ponemah Physiology Platform *")["Panel"]("Workspace")["MDIWindow"]("DRa*")["Caption"]
However, the script cannot see the object because 'Object Expected' is typically
returned. The first two modifications that I made, for other objects, I
have not had any problems. The last mod, changing "DRa 14% complete" to
"DRa*" seems to be where my issue lies. The caption for the form changes
until it reaches 100% and then it goes to "DRa". Why can I not get the caption
with my modified code?