Unable to capture table of a C++ form in silktest classic - silktest

I am trying to capture the elements on a C++ form in a Windows Desktop Application. The elements are mainly tables and contents of Dialog boxes. I am able to capture the individual cells in the table but not the entire table. I am unable to get the contents of the dialog box either. I am using SilkTest classic agent for this. Can anybody guide me with this?

Related

Text is visible in UI of WPF application but WinAppdriver is unable to identify the text

I am trying to automate a windows Application (WPF) using WinAppdriver v1.2.1 and Java. However I am facing an issue now in identifying the Text which is visible in the UI but winappdriver is not able to locate it. (I made sure that the xpath is correct). I even tried the xpath generated by UIRecorder
In screenshot below, the highlighted text is what I want to locate:
Astonishingly, the Inspect.exe tool is able to show the text and the control type is UIA_TextControl and all other attributes are available, as displayed in screenshot below:
Since the driver was not able to identify Text, to verify this strange behaviour, I used another UI inspect tool. When trying to locate the text using FlaUInspect, the Text Control is not visible under TreeItem.
I am wondering:
Why these Windows UI inspect tools have different behaviour and Why winappdriver is not able to identify the TextControl when it is clearly visible in UI and in inspect.exe tool?
Has anyone faced similar issue ever?

Items in Tool Box are grayed out - how to Enable them?

I'm trying to create my first report and I created a dataset and am trying to drag table from the toolbox. But it is grayed out. How to enable it? Any reason why it is happening like that?
You haven't actually created a new report. What you've done is create a project which can and often does contain many different reports. These projects can also contain many data sets and data sources. You can right-click the reports folder and create a new report which will enable those controls.

Filtration for List view data upon List view Header column clicks in WINFORMS

I dont know whether this is possible or not, But i just want your suggestions on this ..
Here is what I would like to be able to do. Not sure if this functionality is built in or if I will need to use a combination of any controls/tools.
I want to be able to filter a listview data.. have it filter the listview accordingly on click of listview columns header.I want to be able to use checkboxes in dropdown of listview header column such that I can filter data easily.
Best Example: Control Panel-->Uninstall a Program ,Where a list of uninstall programs available in listview for computing filtration upon click of any header.
I want this in Windows Forms Applications C# Visual Studio 2010
If solution is possible, pls. share the site links or any free tools also as well.
Here is the same idea for a DataGridView http://www.codeproject.com/Articles/33786/DataGridView-Filter-Popup However, you would have to write the code to do the filtering as a winforms ListView does not supporting binding to a DataTable.
ObjectListView -- an open source wrapper around a .NET ListView -- supports filtering out of the box.

How to update or refresh the contents of a ComboBox in a WiX dialog?

I would like to implement the well-known scenario whereby the contents of a ComboBox in a WiX dialog depends upon the contents of a previous TextBox value, as input by the user. This will allow me to drive the installation of a component that needs to run SQL scripts.
First, the user specifies the name of the database server.
Second, I would like the ComboBox to display the list of available databases on said server.
This seems a simple enough request and, as far as I understand it, is not easily supported with Windows Installer / WiX. However, I would like to workaround and implement this behavior as close as is possible.
What would be the closest implementation possible ?
I have tried an explicit pushbutton that triggers a custom action. I have tried a duplicate identical dialog that gets navigated to but I can't seem to combine two behaviors - CA execution and dialog navigation.
The general approach is this:
create a custom dialog which contains the edit box control
create a different dialog which contains the combo box control
on the Next button of the first dialog execute a custom action which populates the combo box on the second dialog
This cannot be done using a single dialog.
Also, you need to write custom code to populate the combo box. You can find some sample VBScript code here: http://www.advancedinstaller.com/user-guide/tutorial-combobox-listbox.html#combolist-examples
It's an example for Advanced Installer, but the sample .VBS custom actions can be used with any setup tool.

Creating a Drag n Drop Designer so users can create a Form?

I'd like to create a way for my users to create Forms so they won't have to ask me to do it. Unfortunately, I am in dark, unknown territory. I envisioned it as the following:User can drag pre-made tables or (pre-made) custom rows.Once the user has created the layout, he will save the layout and deploy to the server.Other users will then be able to access the new Form which will have textboxes, radiobuttons, and checkboxes.Lastly, users will be able to save and load that Form Data anytime they access the Form.
Anyone can point me in the right direction or give me a quick summary of what I'll need to accomplish this task? It will be much appreciated.
At this point, I'd like to do it in WinForms, WPF, or Silverlight. I know the tech is different but the overall approach should be same (I'm hoping).
Rather than building an application for form-filling, consider using Microsoft Infopath.
If Infopath is too expensive to deploy, you may use the form functionality in Microsoft Word instead. Here's a tip to save data from Microsoft Word forms to the database.

Resources