Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
Test Advantage Issue
posted

Dear Sir,

I have installed Test Advange and  Net Advantage 2010 Vol 2. Script is generating for only for Button ctrl activities.

Before TestAdvantage Installation:
----------------------------------------------
SwfWindow("URC Infotec - [2010-2011]").SwfWindow("FNBI 1 - BG / LC Limit").SwfObject("cbobanknameQbCtl").Click 113,6
SwfWindow("URC Infotec - [2010-2011]").SwfWindow("FNBI 1 - BG / LC Limit").SwfWindow("SwfWindow").SwfObject("SwfObject").Click 116,51
SwfWindow("URC Infotec - [2010-2011]").SwfWindow("FNBI 1 - BG / LC Limit").SwfEdit("SwfEdit").Type  micTab
SwfWindow("URC Infotec - [2010-2011]").SwfWindow("FNBI 1 - BG / LC Limit").SwfObject("cbofinyearQbCtl").Click 113,16
SwfWindow("URC Infotec - [2010-2011]").SwfWindow("FNBI 1 - BG / LC Limit").SwfWindow("SwfWindow").SwfObject("SwfObject").Click 48,177
SwfWindow("URC Infotec - [2010-2011]").SwfWindow("FNBI 1 - BG / LC Limit").SwfEdit("SwfEdit_2").Type  micTab
SwfWindow("URC Infotec - [2010-2011]").SwfWindow("FNBI 1 - BG / LC Limit").SwfObject("numbglimitQbCtl").Type "100"
SwfWindow("URC Infotec - [2010-2011]").SwfWindow("FNBI 1 - BG / LC Limit").SwfObject("numbglimitQbCtl").Type  micTab
SwfWindow("URC Infotec - [2010-2011]").SwfWindow("FNBI 1 - BG / LC Limit").SwfObject("numlglimitQbCtl").Type "100"
SwfWindow("URC Infotec - [2010-2011]").SwfWindow("FNBI 1 - BG / LC Limit").SwfObject("numlglimitQbCtl").Type  micTab
SwfWindow("URC Infotec - [2010-2011]").SwfWindow("FNBI 1 - BG / LC Limit").SwfObject("numbgcommissionQbCtl").Type "100"
SwfWindow("URC Infotec - [2010-2011]").SwfWindow("FNBI 1 - BG / LC Limit").SwfObject("numbgcommissionQbCtl").Type  micTab
SwfWindow("URC Infotec - [2010-2011]").SwfWindow("FNBI 1 - BG / LC Limit").SwfObject("numlgcommissionQbCtl").Type "100"
SwfWindow("URC Infotec - [2010-2011]").SwfWindow("FNBI 1 - BG / LC Limit").SwfObject("numlgcommissionQbCtl").Type  micTab
SwfWindow("URC Infotec - [2010-2011]").SwfWindow("FNBI 1 - BG / LC Limit").SwfEditor("SwfEditor").Type  micTab
SwfWindow("URC Infotec - [2010-2011]").SwfWindow("FNBI 1 - BG / LC Limit").SwfObject("Save").Click 12,4


After TestAdvantage Installation: (Same actions I have done)
-------------------------------------------
SwfWindow("URC Infotec - [2010-2011]").SwfWindow("FNBI 1 - BG / LC Limit").SwfButton("Save").SetFocus
SwfWindow("URC Infotec - [2010-2011]").SwfWindow("FNBI 1 - BG / LC Limit").SwfButton("Save").Click

  • 7695
    Offline posted

    Hi,

       At first glance, I would say there may be a configuration issue, which I would recommend test recording and replaying new scripts against the installed samples, to rule out any basic configuration issues. With emphasis on controls that you know you are having difficulty with in your Application Under Test(AUT).

        If that seems to work correctly, try to isolate the controls that are not working and determining what makes them different from the buttons. Start with one, lets say ("numlgcommissionQbCtl") and using the ObjectSpy determine the SwfTypeName and SwfName Path, the Typename to determine what's the typename of the control you are testing, and the SwfName Path to help identify any addition containers it may be wrapped in. Verify it against the SwfName Path of the button to determine if they are in the exact container or not.Depending on the container type, if you see additional ones wrapped around the controls that are not working, try using the ObjectSpy to determine there SwfTypeName as well.   

         Other aspects that may be worth looking into would be, is this a .NET 4.0 application, and if so, what version of QuickTest Professional are you using.

        As this may be an involved resolution, I am recommending this to our Developer Support so that they look into this in more detail with you.