Dynamic Child panel problem
Printed From: One Stop Testing
Category: Testing Tools @ OneStopTesting
Forum Name: SilkTest @ OneStopTesting
Forum Discription: SilkTest is an automation tool for testing the functionality of enterprise applications in most versions of Windows, Sun Solaris 9 & 10, and Red Hat Enterprise Linux WS 2.1 & 3.0.
URL: http://forum.onestoptesting.com/forum_posts.asp?TID=1010
Printed Date: 29Dec2024 at 6:34pm
Topic: Dynamic Child panel problem
Posted By: Amlika
Subject: Dynamic Child panel problem
Date Posted: 26Apr2007 at 10:11pm
Hi All,
I
need to perform a click operation on window (Wdw_SendToAPgy ) which is
child of panel. When i recorded it it considered it as a dialogbox [ ] [-] window DialogBox FTPClientSendToAPgy_dialog [+] multitag "FTPClient ?SendToAPgy?[1]" [ ] "$MessageBox[1]" [+] StatusBar StatusBar1 [ ] tag "$8390460" [-] CustomWin TPanel1 [ ] msw tag "[TPanel]$3147590" [+] StaticText Pausing3Text [+] multitag "Pausing... 3" [ ] "$4655094" [+] CustomWin TPanel1 [ ] msw tag "[TPanel]$3868622" [+] PushButton Stop [+] multitag "Stop" [ ] "$7997144"
my func says FTPClientSendToAPgy_dialog.TPanel1.TPanel1.Stop.Click()
this line is giving error..
fOR CHECKING i added this line
Wdw_SendToAPgy.GetChildren()which returned this value {Wdw_SendToAPgy.StatusBar("#1|$2754864"), Wdw_SendToAPgy.CustomWin("[TPanel]#1|$6359148")}
After Execution it gave as error as
[ ] {Wdw_SendToAPgy.StatusBar("#1|$4589570"), Wdw_SendToAPgy.CustomWin("[TPanel]#1|$7538824")} [ ] *** Error: Window '[TPanel]$3147590' was not found
|
|