Unable to update date

I am trying to type in date through a recording but the value is not being stored resulting in test showing passed incorrectly

Hi @mukul ,

Please share a screenshot of the specific step that needs to update the value?
It will give us more insights into what is causing this issue.


Thanks

Hi @mukul ,

Please try to add more locators to this element, it seems to be a locator issue.

  1. First, try to edit the element like in the image below,

image

To check your locators use the magnifying glass
(notice the element must be present on the page when checking a locator):

If another locator is more consistent make it your primary locator, push it to the top with the arrows next to the magnifying glass.

  1. Check for a unique attribute and search the button by that locator,

you can make your custom locator like this for example:
using Xpath //*[@attribute="value"]

For instance, my locator for Amazon looks like this:
using Xpath //*[@id="add-to-cart-button"]

However, you can use TestProject built-in locator generator like this:

by pressing double shift on any element you can freeze it and then extract multiple XPath

Let me know if you managed.
And if you didn’t, please let me know and I would be happy to jump on a call with you and troubleshoot it together :slight_smile:

@alex.ivanov I really appreciate your getting on a call to troubleshoot this one together. Please let me know the best way to connect, I can setup a screenshare on Google Meet. Thanks

@mukul Sure, I sent you a message in the support chat.

This topic was automatically closed after 180 days. New replies are no longer allowed.