Extracting a variable from a manually created Element

2 posts, 0 answers
  1. Adam
    Adam avatar
    2 posts
    Member since:
    Sep 2012

    Posted 04 Feb 2013 Link to this post

    Hi,

    I've manually created an element that will get populated with a new ID number each time a certain action is created (A note item added into a java script table). The created element identifies the box for the first ID that populates on a given table. I plan to extract this variable after the Item creation and then compare it to another javascript table elsewhere to ensure it has populated correctly.

    My issue is I'm not finding an option to extract from this Element.

    Must this be added as a coded step? If so can I have some guidance on how to write it in the simplest terms possible.

    THanks,

    Adam
  2. Boyan Boev
    Admin
    Boyan Boev avatar
    1072 posts

    Posted 04 Feb 2013 Link to this post

    Hello Adam,

    This is possible with a simple coded solution.

    Please check out this article in order to get detailed information how to extract an individual HTML attribute.
     
    Also please read how to Get/Set Extracted Variables in Code.

    Let me know if this helps.

    Kind regards,
    Boyan Boev
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top