Unified Functional Testing Practitioners Forum
Showing results for 
Search instead for 
Do you mean 

VB obj idntfn issue-VbWindow("xyz").ActiveX("abc").WinObject("ThunderRT6PictureBoxDC")

Occasional Visitor

VB obj idntfn issue-VbWindow("xyz").ActiveX("abc").WinObject("ThunderRT6PictureBoxDC")

VB Object Identification issue:

Here is the screen shot of the application.

 See attachemnt

 

Code generated  (for the object selected above) while recording playback objects.

VbWindow("mdiMain").VbWindow("frmPresentationSchedule").ActiveX("prjPEViewer.PEGView_2").WinObject("ThunderRT6PictureBoxDC").Click 343,383

 

When I Spy:

  See attachemnt

 

Tried the following code:

ð  VbWindow("mdiMain").Activate

Wait 10

VbWindow("mdiMain").VbWindow("frmPresentationSchedule").ActiveX("prjPEViewer.PEGView_2").WinObject("ThunderRT6PictureBoxDC").Click 203,266

msgbox VbWindow("mdiMain").Object.ActiveControl.Name

 

Output - >pctTop

 

ð  strObj =VbWindow("mdiMain").VbWindow("frmPresentationSchedule").ActiveX("prjPEViewer.PEGView_2").ChildObjects.count

 

Output - > 3

 

 

 

 

ð  strObj = VbWindow("mdiMain").VbWindow("frmPresentationSchedule").ActiveX("prjPEViewer.PEGView_2").GetROProperty("name")

Output - > PEView

 

ð  >strObj = VbWindow("mdiMain").VbWindow("frmPresentationSchedule").ActiveX("prjPEViewer.PEGView_2").GetVisibleText

Output->

 

"Won 14/07/14 Tue 15/07/14 06:00:00 START OF DAY 13:28:30 ITV NEWS 18:59:49 TBA SPONSORSHIP BUMPER 06:00:00 START OF DAY 13:28:30 ITV NEWS | Wed 16/07/14 06:00:00 START OF DAY Thu 17/07/14 Fri 18/07/14 Sat 19/07/14 Sun 20/07/14 06:00:00 START OF DAY 13:28:30 ITV NEWS 13:28:30 ITV NEWS 19:00:19 TBA SPONSORSHIP BUMPER"

 

 

 

ð  strObj = VbWindow("mdiMain").VbWindow("frmPresentationSchedule").ActiveX("prjPEViewer.PEGView_2").WinObject("ThunderRT6PictureBoxDC").GetVisibleText

Output->

 

"06:00:00 START OF DAY 06:00:00 START OF DAY 06:00:00 START OF DAY 06:00:00 START OF DAY 13:28:30 ITV NEWS 13:28:30 ITV NEWS 13:28:30 ITV NEWS 13:28:30 ITV NEWS 18:59:48 TBA SPONSORSHIP BUMPER 19:00:18 TBA SPONSORSHIP BUMPER"

 

 

 

 

This Grid/Table is a custom grid, I tried registering the dll to windows. Its not working.