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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

hobbes AEM Authoring Test

kanchanm4209203
Level 2
Level 2

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

4 Replies
krishnaAEM
Level 1
Level 1

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

vaibhavs7024655
Level 3
Level 3

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

kanchanm4209203
Level 2
Level 2

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

krishnaAEM
Level 1
Level 1

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