This is a migrated thread and some comments may be shown as answers.

Extracting a variable from a manually created Element

1 Answer 71 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Adam
Top achievements
Rank 1
Adam asked on 04 Feb 2013, 12:49 PM
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

1 Answer, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 04 Feb 2013, 03:04 PM
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
Tags
General Discussions
Asked by
Adam
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Share this question
or