Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
+1
person also asked this
people also asked this
Replies
7 replies
Subscribers
10 subscribers
Views
4553 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hi, I have been tasked with writing automated tests that need to use
michaelp611
over 9 years ago
Hi,
I have been tasked with writing automated tests that need to use (browse, enter texts, click buttons etc) objects on Appian pages. I’ve been looking at the DOM for a few of the early-release pages and have having difficulty identifying ways of performing object identification.
As an example, an Appian page I’m looking at has a number of inputs (text, dates, dropdows etc….). Picking two different textboxes at random I see:-
<input type="text" class="aui-TextInput" id="gwt-uid-245" aria-required="true" aria-invalid="false" style="text-align: left;">
and
<input type="text" class="aui-TextInput" id="gwt-uid-271" aria-required="true" aria-invalid="false" style="text-align: left;">
The wrapping/parent elements do not have anything that can be used and the id attributes change between page renderings. Is anyone else using Test Automation with Appian and if so, how are they doing robust object identification? Is there a way I can get the design...
OriginalPostID-163127
OriginalPostID-163127
Discussion posts and replies are publicly visible
Parents
0
vaibhavm
A Score Level 2
over 9 years ago
The ids are not constant but there are other ways with which you can identify an element. If you're testing using selenium, you can use the fire bug and copy the xpath of that element. You can refer this as well.
www.wikihow.com/Find-XPath-Using-Firebug
. You might have to put some logical functions to fill in fields but it is possible.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
vaibhavm
A Score Level 2
over 9 years ago
The ids are not constant but there are other ways with which you can identify an element. If you're testing using selenium, you can use the fire bug and copy the xpath of that element. You can refer this as well.
www.wikihow.com/Find-XPath-Using-Firebug
. You might have to put some logical functions to fill in fields but it is possible.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data