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

AEM_Component Testing using Hobbes

Avatar

Avatar
Validate 1
Level 1
pavanm60712190
Level 1

Likes

0 likes

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
pavanm60712190
Level 1

Likes

0 likes

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
pavanm60712190
Level 1

03-09-2018

Hi Team,

I'm trying to create test suite and test case fore testing the components on CRXDE lite. I have wrote code snippet in a test case as per adobe help guidelines, but still I'm unable to see my test suite in operation of testing console. I don't know what might be the issue.  Please help me out here, how to reflect my test case in testing console.

1563306_pastedImage_0.png

Replies

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,345 likes

Total Posts

3,220 posts

Correct Reply

914 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,345 likes

Total Posts

3,220 posts

Correct Reply

914 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

03-09-2018

Hi,

Could you please check, if helps?

Hobbes.js Index

Testing Your UI 

Avatar

Avatar
Validate 1
Level 1
pavanm60712190
Level 1

Likes

0 likes

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
pavanm60712190
Level 1

Likes

0 likes

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
pavanm60712190
Level 1

03-09-2018

Actually I have gone through those links and made the sample test case, but it didn't works for me. Actually my question is how test suite will reflect in testing console under operations in AEM

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,345 likes

Total Posts

3,220 posts

Correct Reply

914 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,345 likes

Total Posts

3,220 posts

Correct Reply

914 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

03-09-2018

Hi,

I followed the same steps mentioned at Testing Your UI and able to get test suit.

Screen Shot 2018-09-03 at 5.13.32 PM.png

few things to check:

  • /etc/clientlibs/myTests/myFirstTest should be type of

cq:ClientLibraryFolder

  • js.txt contains

#base=.

myTestSuite.js

  • delete /var/clientlibs/etc/clientlibs folder if above are fine.

Avatar

Avatar
Validate 1
Level 1
pavanm60712190
Level 1

Likes

0 likes

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
pavanm60712190
Level 1

Likes

0 likes

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
pavanm60712190
Level 1

04-09-2018

Actually I have done the same, but I have created the folder structure under apps/myTests/myFirstTest... I have used like this. U r suggesting me to do the same under etc folder. etc/clientlibs/myTests/myFirstTest

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,345 likes

Total Posts

3,220 posts

Correct Reply

914 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,345 likes

Total Posts

3,220 posts

Correct Reply

914 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

04-09-2018

HI,

It doesn't matter where you've created the clientlibs if they belongs to the correct category(granite.testing.hobbes.tests)code will be loaded.