How to select deleteFilter icon?
- This topic has 1 reply, 2 voices, and was last updated 2 years, 5 months ago by
Sasha ZAP.
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
Home › Forums › Ask Expert › How to select deleteFilter icon?
Hello Marco,
I still could not access the website you are testing, but I did the following script updates:
1. I’ve added an Area object around the whole filtering section and enabled back Line #74 – This will set again the lblFilterPromoCode object with the “btnText” value’s text:
Application(“SystemConsole”).View(“SM-PromoConfig-Filtered”).Object(“lblActiveFitters”).Area(“AreaPromoCode”).Object(“lblFilterPromoCode”).SetProperty “Text”, btnText
2. I’ve added at Line #87 the search for the lblFilterPromoCode inside the boundaries of the AreaPromoCode Area object:
Application(“SystemConsole”).View(“SM-PromoConfig-Filtered”).Object(“lblActiveFitters”).Area(“AreaPromoCode”).Object(“lblFilterPromoCode”).Exist
3. Once the lblFilterPromoCode object was created and found the deleteFilter object supposes to shift its coordinates based on the new updated lblFilterPromoCode object, and then the test will click on the found deleteFilter object.
4. I’ve uploaded the new updated test to this shared directory:
https://drive.google.com/file/d/1Nc1FXa4xDU6ixMpjflbnPGHIf6jyZfp3/view?usp=sharing
5. If the above will not work you’ll need to check different Area object solutions in order to capture the deleteFilter object.
I hope this will help.
Thanks,
ZAPTEST Team
Already have an account? Login
Check you SPAM folder if you do not see the email.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |