Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

hobbes AEM Authoring Test

Avatar

Avatar
Level 2
kanchanm4209203
Level 2

Likes

0 likes

Total Posts

9 posts

Correct Reply

0 solutions
View profile

Avatar
Level 2
kanchanm4209203
Level 2

Likes

0 likes

Total Posts

9 posts

Correct Reply

0 solutions
View profile
kanchanm4209203
Level 2

02-07-2019

Hi All,

I need help, am new to AEM and also to Hobbes, i would like to write automated test cases for authoring AEM. Can anyone share a sample test case where in you create a page, add a component, also how do you select that dynamic element ?

Thanks,

Kanchan

Replies

Avatar

Avatar
Level 1
krishnaAEM
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
krishnaAEM
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile
krishnaAEM
Level 1

02-07-2019

Hi All,

I have the same question? please provide some inputs.

Also,Which property of element can be used in script; name,id,css,xpath,li?to click,mouseover or submit?

Thanks

Krishna

Avatar

Avatar
Boost 5
Level 3
vaibhavs7024655
Level 3

Likes

18 likes

Total Posts

28 posts

Correct Reply

6 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 5
View profile

Avatar
Boost 5
Level 3
vaibhavs7024655
Level 3

Likes

18 likes

Total Posts

28 posts

Correct Reply

6 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 5
View profile
vaibhavs7024655
Level 3

03-07-2019

kanchanm42092031​ AFAIK, [1] is the best resource for you to get started with your AEM UI Automated testing using Hobbes framework.

[1]

Testing Your UI

Avatar

Avatar
Level 2
kanchanm4209203
Level 2

Likes

0 likes

Total Posts

9 posts

Correct Reply

0 solutions
View profile

Avatar
Level 2
kanchanm4209203
Level 2

Likes

0 likes

Total Posts

9 posts

Correct Reply

0 solutions
View profile
kanchanm4209203
Level 2

10-07-2019

Thank you Vaibhav, this helped to an extent, am stuck in a situation here, i need to get an element from a list and pass in input to it. Can you help me with any code where it click on the list from an element and passes an input to it. Something like

.fillInput('li.coral-Multifield-input input',"Header 1")

but there are 10 of these fields with same name and class, i can pass input to 1, now if i choose second it replaces the name on 1st field too, i tried using .get(0), it didnt work with my syntax, can you help me with any example ?

Thank You

Avatar

Avatar
Level 1
krishnaAEM
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
krishnaAEM
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile
krishnaAEM
Level 1

10-07-2019

Hi all,

I'm very new to hobbes.js automation.I'm facing some challenges in my tests.Please provide some inputs or sample code.

1.How to enter text in text component.I tried using fillinput,typeinput no luck.

2.How to drag and drop image to Image component.Any specific methods/classes to use?

3.For one of the component dialog there are few text boxes and all are having similar properties.How to add in our code to enter values to specific text box? Any methods/classes to use? tried with  .get(0),.get(1)..nothing worked.

Thank you