Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PowerBuilder object not recognised.
#1
Not Solved
Hello All,

I am using QTP for a PowerBuilder application.

Scenario:
---------
For Login n Pwd fields are recognised by QTP as PbEdit which is easy to handle. But in one of the screen, QTP recognises the whole window as PbDataWindow and fields inside the window as SetCellData, while recording. When I try to play back, it says Cells are not available in OR. But in OR only PbDataWindow is captured NOT all individual cells.

So could you plz help me to overcome the hurdle.

My recoding code looks like :

Code:
SystemUtil.Run "C:\ABC\abc.exe","","","open"
PbWindow("w_ctd_frame").PbWindow("w_ct_db_connect").PbEdit("sle_db_pass").SetSecure "486a4fb7cb9437f5a2b82311"
PbWindow("w_ctd_frame").PbWindow("w_ct_db_connect").PbButton("OK").Click
Window("Form Design").WinMenu("Menu").Select "Objects;Forms..."
Window("Form Design").WinMenu("Menu").Select "Forms;Create..."
*****************************
Prob is there in the below line
*****************************
Code:
PbWindow("w_ctd_frame").PbWindow("w_ctd_form_modify").PbDataWindow("dw_form_attrib").SetCellData "form=TP","form","TP"
PbWindow("w_ctd_frame").PbWindow("w_apol_ok").PbButton("OK").Click
Window("Clintrial Design").WinMenu("ContextMenu").Select "Window;Close All"
Window("Clintrial Design").WinMenu("Menu").Select "File;Exit    Alt+F4"
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to delete prepopulate value in powerbuilder qtp-tester 1 1,907 07-04-2016, 06:43 PM
Last Post: venkatesh9032
  ContextMenu item disabled Powerbuilder Phread 1 4,201 05-24-2012, 10:15 AM
Last Post: Shridevi.Salagare
  Hotkeys Mictab, Micdwn not recognised by IE7 s_vohra 0 3,159 04-06-2009, 02:10 PM
Last Post: s_vohra

Forum Jump:


Users browsing this thread: 1 Guest(s)