I've got the following problem:
I want to test a Web-application and thsi application uses in some cases generated ids. So if I map the objects it works all fine but after reloading/restarting the objects get new ids and while a test run i get a "Component not found error".
Hope you understand my problem.
First thank you for your reply for some problems it helped.
Another question according to it. I have a nav bar with different entries, each in it's own div. It seems that the Objectmapper detects them corractly but if I run the test the first entry is taken all the time. the object-mapper determines the hierarchy correct So for the first entry parent-container 1, for the second 2 etc.
I posted the beginning of the Nav-Container. The same problem I get with the sub_menu, that opens after hovering or clicking the Admin-Entry.
Do you have an idea how I can get this elements?
If i try ObjectMapping with ID I have the problem, that after reloading he does'nt find the component because some Components in the hierarchy do have generated IDs. If I use type as attribute name for ObjectMapping, Jubula is not able to differentiate this Button from the "Abbrechen"-Button next to it - the same with class.
A picture of the Component after ObjectMapping you can find as an attachement:
Maybe someone has an idea how I can handle the problem?