Hi ,
Currrently I am working on RFT 8.2 ,with infragistics test advantage addin 8.2 (licensed) for windows forms. I am trying to click on the "WindowDockingArea" Tabs using RFT script. While recording the object I am getting script as follows.
windowDockingArea6panel().click(atPosition(1));
windowDockingArea6panel().click(atPosition(2));
But while running the script, it is unable to find the object to click and finally it is throwing the exception as below.
"Exception occurred during playback of script [SSGA_ART_Tests.sample] [CRFCN0019E: RationalTestScriptException on line 44 of script SSGA_ART_Tests.sample - com.rational.test.ft.sys.InvokeTimeoutException: CRFCN0110E: InvokeTimeoutException raised for method [click] on object id [2,858].]."
Here I attached the screen shot of the application. The attached window is coming as a seperate window by clicking an icon in our application. I am able to do all other operation in that window (in the screen I can set the date and click on "Reload" button) except clicking the available tabs.
Please give me your suggestions. Thanks in advance.
Regards,
Chandu
Hello Chandu,
chandu_v said:But while running the script, it is unable to find the object to click and finally it is throwing the exception
Thanks for provided informtion. In my test sample, I was to reproduce your issue only in scenario when WindowDockingArea is not visible during replay the script. ONly in this case I get exception. Could you please verify that your scenario is similar. If so please include manually into your script code which activate (make visible) your DockingArea.
Please let me know if you have any questions.
Regards
Hi Georgi,
Sorry for the late reply.
I had checked the application, as you told the properties of the WindowDockingArea for visible is "visible = false" . I updated it to "visible = true" by using the RFT option "Update Recognition Properties". But still I am unable to click the tabs. Please let me know is there any other way i can manually make the visible activate for this WindowDockingArea.
Here I had attached the clear screen. After clicks on "A" symbol in the screen the "Alpha Exception Reports" window will come. While recording the script I am getting the code as below.
windowDockingArea6panel().click(atPosition(1));windowDockingArea6panel().click(atPosition(2));windowDockingArea6panel().click(atPosition(3));.... like that.
But while running the script it is not clicking the tabs. After some time I am getting the Exception as below.
But if I tried to click at the postion "0" it is clicking on tabs at "Liquidity" (see the image) like below.
windowDockingArea6panel().click(atPosition(0));
After that it is not clicking on any other TAB.
But the same type of code we used for clicking the TABS which I highlighted in the image are working with below code which are in main application.
windowDockingArea7panel().click(atPosition(1));windowDockingArea7panel().click(atPosition(2));windowDockingArea7panel().click(atPosition(3));
Please give me your suggestions.
Regards,Chandu
Hello
Have you been able to resolve your issue ? If you still have any concerns or questions I will be glad to help. If you need any additional assistance don’t hesitate to ask.
Could you please tell me when you replay your script just before execute "Click tab" action is it visible this Tab ? If so. could you please send me small sample and script that reproduce this issue. I`ll be glad to research it for you.