Skip to main content
Cadet | Tier 2
August 20, 2022
Question

Record capture and window title

  • August 20, 2022
  • 4 replies
  • 116 views

I'm trying to record capture this interface but anytime the number of days reduces, my bot refuse to run again. please any help on that.Screenshot 2022-08-19 232240

    4 replies

    Ashwin A.K
    Navigator | Tier 3
    August 22, 2022

    Hi @Abdulai Alhassan​ ,

     

    I would recommend using XPaths to detect the object, since XPaths allow us to use Wildcards.

    We can simply omit the dynamic portion by replacing it with * and the bot will be able to detect the object.

     

    //node[contains(@attribute,'BrightPay')]

     

    Here is a video tutorial on XPaths.

     

    Kind Regards,

    Ashwin A.K

    Blogs at TheCodingTheory - https://www.thecodingtheory.com
    AwuduAuthor
    Cadet | Tier 2
    August 24, 2022

    @Ashwin A.K​ Thank you

    Found this useful🙏

    AwuduAuthor
    Cadet | Tier 2
    August 24, 2022

    @Ashwin A.K​ Thank you

    Found this useful🙏

     

    Ashwin A.K
    Navigator | Tier 3
    August 25, 2022

    Glad I could help!

     

    I'd appreciate it if you would mark my answer as "Best" so that others facing similar issues may benefit from it as well.

     

    Kind Regards,

    Ashwin A.K

    Blogs at TheCodingTheory - https://www.thecodingtheory.com