SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Aug 2000
    Location
    Hyderabad,AP,India
    Posts
    80
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Can we perform automation on Flash ????

    Has any one got any Idea hoe to do this... please help me out..

    As far as I know there is no class defined for flash....so cant we create a class????

    has any one did that already...if so ....can they give me the code....

    Please... Thanking you in advance....

    Baseer

  2. #2
    Senior Member
    Join Date
    Jun 2000
    Location
    Waltham, MA
    Posts
    107
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Can we perform automation on Flash ????

    As far as I know, SilkTest currently only sees the Flash window as a CustomWin, so you'd need to access various objects in the flash window by using their location.
    So, to click something in the Flash window, you're code might look like:

    CustomWin FlashWindow
    tag "Flash"


    .t file
    FlashWindow.Click (4,8)
    // 4 and 8 would represent the location of a specific object in the FlashWindow.

    If your Flash window does not have objects move around too much, you might be able to define a set of objects with their particular location, so you can refrence them more directly.

  3. #3
    Member
    Join Date
    Aug 2000
    Location
    Hyderabad,AP,India
    Posts
    80
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Can we perform automation on Flash ????

    Genrally I do the same......I just get the co-ordinates using the capture Bitmap.....but while performing that on a flash.... its raises an exception saying Bitmap failed to stabilize...

    Then is there any other method to get the co-ordinates except recording and CaptureBitmap.


    Baseer

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 10:44 AM.

Copyright BetaSoft Inc.