Coded steps in storyboard are not recorded

11 posts, 1 answers
  1. Zymantas
    Zymantas avatar
    3 posts
    Member since:
    Sep 2013

    Posted 30 Sep 2013 Link to this post

    Hello, 

       This is stupid. Why coded steps aren't recorded in storyboard? I want to export test steps as html, and see screenshots on every test action was made. But to my surprise, for some reason, apparently you can't see coded steps screenshots. Why?
        What if i want to see what was done in sequence of test actions? My coded steps has some simple randomization in entering text.

    UPDATE:

    2. [RegistrationTest_CodedStep] : Enter text 'ZENKLOPAVADINIMAS' in 'BrandNameText'


    here is what i see in exported result. it does not even enter "zenklopavadinimas" in that field.

    p.s. i am using test studio.
  2. Answer
    Daniel
    Daniel avatar
    13 posts
    Member since:
    Aug 2013

    Posted 30 Sep 2013 Link to this post

    There are numerous feedback requests for the addition of screenshots to coded steps (such as http://feedback.telerik.com/Project/117/Feedback/Details/60855-add-custom-screen-shot-to-storyboard).

    It's definitely one I would enjoy having available, as I have a lot of coded steps.

    Please like and comment on those in the feedback portal.  The more attention they receive, the more likely we will see them in future builds.
  3. Zymantas
    Zymantas avatar
    3 posts
    Member since:
    Sep 2013

    Posted 30 Sep 2013 Link to this post

    Yeah, thanks, seems a long way to...
  4. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 30 Sep 2013 Link to this post

    Hello,

    What screen shot would both of you like to see put in the storyboard for coded steps? Keep in mind when you click "Script Step" or "Customize in code":

    • There may be no browser open at all.
    • The browser might be on the wrong screen.
    Your input will help us determine the best way to implement this feature.
    Regards,
    Cody
    Telerik
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  5. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 30 Sep 2013 Link to this post

    Hello,

    I almost forgot to mention, the description that is put in the storyboard for coded steps comes directly out of the code. See the two attached screen shots for how this works. This allows you to make it anything you want.

    Regards,
    Cody
    Telerik
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  6. Daniel
    Daniel avatar
    13 posts
    Member since:
    Aug 2013

    Posted 30 Sep 2013 Link to this post

    Hi Cody,

    Just like is posted at http://feedback.telerik.com/Project/117/Feedback/Details/60855-add-custom-screen-shot-to-storyboard, my main concern is alert dialogs or any other dialog that is being handled by a custom dialog handler.  If we launch a new browser and connect in code, then take a screenshot of a section, that would also be nice to be able to add to the StoryBoard.

    Just my thoughts.
  7. Zymantas
    Zymantas avatar
    3 posts
    Member since:
    Sep 2013

    Posted 30 Sep 2013 Link to this post

    Mr. Cody screenshots isn't' helpful at all. I answer your question with a question. But what if browser is open in coded ui step(s)? It is important for reporting to have screenshot of what it is doing. Is it so hard to determine if the browser is active or not? Well basically you'r doing web testing, so is there any case where you not doing it on browser?
    Even so if that "coded(scripted) step action" isn't doing everything at all to a browser window, can't it have additional option to select if i needed a screenshot?
    Whats the purpose of that storyboard if it only can capture non scripted step? If i am testing for example registration form? I don't think i am going to use static data. i am also not going to use any data from external sources, because i have for that random input generators, and i want it to be as more dynamic it can be.
    Reporting is not only for a tester who wrote a test. It should be way more informative. If it was scheduled test somewhere on the server? How else will i know what was doing during that test? Maybe something unexpected occurred? What if a client want's to see test results? he is going to read that all codish step gibberish?

    I think you guys are very smart. I don't think i should waste any time raising questions. It is quite simple and obvious.
  8. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 01 Oct 2013 Link to this post

    Hello and thank you both for your feedback,

    I think you both are fully aware that coded steps are a very powerful feature of Test Studio. What you can do in a coded step is only limited by your programming skills. The code can easily be doing something that doesn't even interact with the application being tested (in a browser or a WPF application). When that is the case, obviously it doesn't make sense to automatically take a screen shot of the application because that wouldn't represent what the code is trying to do.

    Another complication is the code can easily be interacting with multiple screens of the application. We have a technical limit of one screen shot per test step, which means we can't add multiple screen shots of multiple pages for the one coded step.

    For all the above reasons we chose to not automatically take a screen shot... it would be wrong too often. But it does make very good sense to give you the ability to insert your own custom screen shot/image of your own choosing for your coded steps. That's what the feature request is all about. I am hopeful we'll be able to implement this feature in the near future.

    Regards,
    Cody
    Telerik
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  9. Daniel
    Daniel avatar
    13 posts
    Member since:
    Aug 2013

    Posted 01 Oct 2013 Link to this post

    Thanks Cody.  I understand the reasonings, and appreciate the response.  Thanks again for the feature request.
  10. Fairuz
    Fairuz avatar
    1 posts
    Member since:
    Mar 2015

    Posted 29 Oct 2015 Link to this post

    Hi Cody,

    Any updates on this request? 

     

    Rgds,

    Fairuz

     

     

  11. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 29 Oct 2015 Link to this post

    Hi Fairuz,

    I'm assuming you're referring to this feature request? No there has been no progress on this one. At this time we have too many other higher priority features we're working on, such as mobile testing.

    Regards,
    Cody
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top