Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Working with Virtual Table and Q-T application.
#1
Not Solved
Hi,

I am trying to build a tests for QT + C++ application using QTP 11.
My application in simplify view is several fields to be filled (list, checkbox, text, ...) and button "Add" - which is add them to displayed table ( I am not dealing with database tables).

QTP does not recognize the objects of the application, only main windows (QTP recognize them as QWidget).

I am trying to setup Virtual Objects to accomplish my task.

Generally I have 2 issues - with Virtual List and Virtual table.

Virtual Table:
1). How can I create virtual table object, if when I setting up virtual object, the table is empty? I mean, I cannot define num. of rows in the Virtual Object Creation dialog, because rows will be added / removed from the table dynamically.

2). How can I handle new row added / deleted in virtual table? I know, that on regular table I can use something like Get Row Number functions, as well as just use property Rows. But this function is not available for Virtual Table, and Rows property will return pre-defined number of rows (entred in the Virtual Objects dialog).

3). When my table is defined in some pre-defined size on the form (liek 300 px width, 200 px height). When number of rows is growing up, and not all rows can be displayed in the table - scroll bars will appeared. How can I select and test rows that I need to scroll to?

Thanks a lot!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to retrieve a value from a table if the application is built in power builder. deepakmehta82 1 2,893 04-26-2013, 07:58 AM
Last Post: shaj
  Virtual Object devanggoel 0 1,874 02-22-2010, 11:56 AM
Last Post: devanggoel
  Virtual Object using Descriptive Programming panchalvinay 0 3,318 12-15-2009, 10:21 PM
Last Post: panchalvinay
  Can we create virtual object to bit map? satyadon 0 1,876 10-22-2008, 04:54 PM
Last Post: satyadon
  Virtual Objects shobhana 2 2,650 08-26-2008, 03:13 PM
Last Post: shobhana

Forum Jump:


Users browsing this thread: 1 Guest(s)