Issues with order execution i have defined in the json file | Selenium Forum
B
Bharath Reddy Posted on 17/04/2025

Hi. Iam using testng data driven framework. I have some issues with the order or execution I have defined the following sequence in order to execute.

["verifyLandingDashboard","switchUser","verifyLoginCredentials","navigateToIACUCPage","navigateToMeetings","navigateToCommittees","verifyCommitteeExists","selectCommittee","selectVetsForCommitteeActivity","addVetForCommittee","addCommentForVetCommittee","uploadSupportingDocForVetCommittee","navigateToCommitteeHistroyTab"]

 

If i don't define navigateToCommitteeHistroyTab in my json the flow is working as expected, if I include navigateToCommitteeHistroyTab after navigateToIACUCPage control os going to navigateToCommitteeHistroyTab instead of going to navigateToMeetings. Could someone help here.

Here is the mapping

verifyLandingDashboard -- testcases.GeneralDashboard

switchUser -- testcases.GeneralDashboard

verifyLoginCredentials -- testcases.GeneralDashboard

navigateToIACUCPage -- testcases.IACUCDashboard

navigateToMeetings -- testcases.CommitteeAndMeetings

navigateToCommittees -- testcases.CommitteeAndMeetings

verifyCommitteeExists -- testcases.CommitteeAndMeetings

selectCommittee -- testcases.CommitteeAndMeetings

selectVetsForCommitteeActivity -- testcases.VetsforCommittee

addVetForCommittee -- testcases.VetsforCommittee

addCommentForVetCommittee -- testcases.VetsforCommittee

uploadSupportingDocForVetCommittee -- testcases.VetsforCommittee

navigateToCommitteeHistroyTab -- testcases.CommitteeAndMeetings