18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

SahiPro is not recording Flex screen objects.

kplokeshkplokesh Members
edited November -1 in Sahi - Open Source
Hi,

SahiPro is not recording Flex application objects, but documentation says it supports.

So we need to change any settings to recognize flex objects ?

Thanks
Lokesh.

Comments

  • Hi Lokesh,

    "SahiPro is not recording Flex application objects" could you please be more specific.

    Also, let me know if you getting any error.

    Regards
    Sumitra
  • Hi Sumitra,

    When I am recording Flex UI objects nothing is recording, even if I am trying to open SahiPro controller on Flex screen by Alt+Double click, controller is not opening.

    I am not getting any error.

    Thanks,
    Lokesh.
  • Hi Lokesh,

    Check if you have compiled Flex with Sahi?

    Kindly refer README.txt by navigating to <SahiPro>\ sfl \README.txt to know how to compile Flex with Sahi.

    For more information about Flex refer:

    http://sahi.co.in/w/file_download/3/Sahi.pdf

    Regards
    Sumitra
  • Hi Sumitra,

    We have followed as per <SahiPro>\ sfl \README.txt file but it did not worked for me can you look on this ?

    We have Flex 3.0 version and we are using sfl.swc which is given with sahipro. we are using eclipse for flex development and we put the sfl.swc file in eclipse's build path.

    Thanks,
    Lokesh.
  • Hi Lokesh,

    Please download the latest version of Sahi Pro V4.0 which was released on 2011-11-29.

    To automate your flex application you need to compile your swf with the correct version of sfl.swc.
    Use sfl3.swc file to compile your flex application. You can find it in <sahi-home>/sfl/sfl3.swc

    Let me know if you face any problem.

    Regards
    Sumtira
  • Hi Sumitra,

    We are licensed user (causeway technologies India private ltd.,) recently we have took is it possible to install train version and can we use this long run ?

    Thanks,
    Lokesh.
  • Hi Lokesh,

    We will be emailing you the sfl3.swc file.

    Regards
    Sumitra
  • hi
    I am using Sahi pro for Automating a Flex application.
    i am trying to click on on login button to enter into an application ,the action is getting recorded as
    doubleClick(_f("Lifesuite").formitem("FormItem40));
    but when i try to playback it gives error.
    Error: SAHI_FLEX_ERROR:TypeError: Error #1009: Cannot access a property or method of a null object reference. No trace available Click for browser script
    Please response
Sign In or Register to comment.