Hobbes Framework for Page / Component Testing | Community
Skip to main content
Level 2
October 17, 2017
Solved

Hobbes Framework for Page / Component Testing

  • October 17, 2017
  • 1 reply
  • 932 views

I am exploring Hobbes Framework to automate my test cases for Page / Components .I am stuck in finding the DOM element ID .Any help is much appreciated .

Sample Code where DOM ID from AEM Hobbes Example :-

new hobs.TestSuite("Home Page Test Suite", {path:"/etc/clientlibs/myTests/myFirstTest/myTestSuite.js"})

.addTestCase(new hobs.TestCase("Navigate to home page")

   .navigateTo("/content/geometrixx-outdoors/en.html"))

.addTestCase(new hobs.TestCase("Hover Over Topnav")

             .mouseover("li.topnav-item-1"))

.addTestCase(new hobs.TestCase("Click Topnav Link")

             .click("li.topnav-item-1 a"));

How to get "li.topnav-item-1" element Id ?

Is there any script which will automate events like Page publish / drag &drop components , dialog authoring ...

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

Not much docs on this subject - you can check out this GEMS session - it may help - AEM 6.0 Developer Mode

1 reply

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 17, 2017

Not much docs on this subject - you can check out this GEMS session - it may help - AEM 6.0 Developer Mode