Siltest FlextextArea::Input not supported on WinNT
I have an Adobe Flex application and Silktest 2009R2 installed.
I have created the Adobe Flex project with Standard Configuration and followed the following approach:
Creating a frame file with the dynamically recognized object’s definition
a.Copy the properties of the objects, which were recorded dynamically at the time of record (use this information to create a Frame file which contains objects)
b.In this case, when we have objects arranged in a hierarchy in the frame file, we get auto-complete options for, child objects, component methods and members. However, with this approach, it throws the errors at runtime “*** Error FlextextArea::Input method is not supported on windows NT”. The machines on which we tried to run the test are Windows XP and Windows 7.
Please find the code snippets from Appl_frame.inc
Window BrowserChild MainWin
tag "Admin UI*"
locator "BrowserApplicationBrowserWindowFlexApplicatio n[@caption='adminUI-flex']"
tag "Appl Login"
testcase trial() appstate none
I am facing same issue with GetText and SetText methods too.
Any pointers on this would be helpful!
Re: Siltest FlextextArea::Input not supported on WinNT
Since you are using the Open Agent, I believe you may be missing the "locator" keyword for FlexTextArea. You need to have the locator keyword to identify the location of the object just as you have done for the Window.
locator "<XPath to the object>"
Re: Siltest FlextextArea::Input not supported on W
Adding locator for every object works.
locator "FlexTextArea[@caption='Username: :username']"
Thanks a lot!