Skip to content

Conversation

@snehaM26
Copy link

No description provided.

}


public String clickDropdownUCM(String locator, String data) {
Copy link

@Kaustubharas Kaustubharas Mar 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@snehaM26 - is there any code difference between this menthod and "clickDropdowntrashByXpath" this method? I see multiple methods for dropdown with the same code.

#Locators for login
username=#mod-login-username
password=#mod-login-password
clickbutton=//*[@id="form-login"]/fieldset/div[3]/div/div/button

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@snehaM26 - avoid using absolute structure of xpath. Try to use relative xpaths. Check for other instances in file and make the necessary changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants