Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Suggested Answer
Replies
6 replies
Answers
1 answer
Subscribers
12 subscribers
Views
7016 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
I am writing Automation Test Scripts for Appian Screens using Selenium and Cucum
farnazy
over 10 years ago
I am writing Automation Test Scripts for Appian Screens using Selenium and Cucumber. In the Screens, there are components like Date Field, Radio Button, Check boxes. Facing Issues to find a unique identifier for these components.Tried using Id, ClassName, XPath, but it didn’t work.Issue is that when the Appian screen is developed, the components do not have any identifier unlike JSP pages. These components when rendered on a browser, it converts to html.When html didn’t find any identifier, it creates a new identifier each time. So the identifier is not constant. ClassName is same for all the similar components. XPath is not uniquely traversing to the component. Consider a Radio Button which has Yes and No as an Option HTML Code : <div class="GG51K-MDGB"><div class="aui_FieldLayout_InputContainer"><div class="aui-RadioButtonGroup"><span class="gwt-RadioButto...
OriginalPostID-144422
OriginalPostID-144422
Discussion posts and replies are publicly visible
Parents
0
farnazy
over 10 years ago
...n GG51K-MDHLC GG51K-MDH1"><input checked="" tabindex="0" id="gwt-uid-14802" value="on" name="gwt-uid-14799" type="radio"><label for="gwt-uid-14802">Yes</label></span><span class="gwt-RadioButton GG51K-MDHLC GG51K-MDH1"><input tabindex="0" id="gwt-uid-14803" value="on" name="gwt-uid-14799" type="radio"><label for="gwt-uid-14803">No</label></span></div></div> The Yes and No Options are defined in separate span’s. The Id is randomly generated. Class is common for all the radio buttons. Please suggest me a way to solve this issue.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
farnazy
over 10 years ago
...n GG51K-MDHLC GG51K-MDH1"><input checked="" tabindex="0" id="gwt-uid-14802" value="on" name="gwt-uid-14799" type="radio"><label for="gwt-uid-14802">Yes</label></span><span class="gwt-RadioButton GG51K-MDHLC GG51K-MDH1"><input tabindex="0" id="gwt-uid-14803" value="on" name="gwt-uid-14799" type="radio"><label for="gwt-uid-14803">No</label></span></div></div> The Yes and No Options are defined in separate span’s. The Id is randomly generated. Class is common for all the radio buttons. Please suggest me a way to solve this issue.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data