Unable to handle a Frame in Desktop application
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Unable to handle a Frame in Desktop application
Generally, Dropdown items will be captured in an array format, by which we will be able to get all item properties and methods. But for this object, it displays the objects in Frame as like below, and we are unable to fetch the properties like wItemcount, wItems, WItemText, etc.
Object:
Sys.Process("application").VBObject("frmMain").VBObject("applicationesktop1").VBObject("ucDropDownMenu1").VBObject("FraMenu")
The image of the frame is given below.
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
If you are not able to add a particular class to help TestComplete read these values, I suggest you to:
enable Text Recognition ->
find all TextObjects inside this drop-down list ->
put it inside Array ->
and you are ready to work.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you please post the Object spy snap.
Try finding any property like Items? or anything related.
But as Wamboo suggested I think text object should also work as last option.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the reply. Let me try and come back to you
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This isn't actually a dropdown, its more like a frame. Let me try the steps you given and come back to you. Thanks.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did it work?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry for the delay, I still couldn't able to get the text of the objects through any type
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did You try this option?
https://www.google.com/search?client=firefox-b-d&q=testcomplete+text+recognition
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
> Sys.Process("application").VBObject("frmMain")
What language the tested application is developed with? Is this pure old VisualBasic or VB .Net ?
/Alex [Community Champion]
____
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Yes, This is a pure VisualBasic application
