Forum Discussion

nastester's avatar
nastester
Regular Contributor
3 years ago

Working with Calendar date widgets

Prior to switching my project settings to use "Use XPath and CSS selectors for web objects", I was able to interact with my apps calendar widget via the wDate [Set] operation and use a code expression to set the date:

aqDateTime.AddTime(aqDateTime.Today(), -7, 0, 0, 0)

aqDateTime.Today()

 

I seemingly can no longer do this with the new web test settings. 

Is there a workaround/different solution I could do? It was really useful before. 

 

Thanks

  • AlexKaras's avatar
    AlexKaras
    Champion Level 3

    Hi,

     

    It looks like the needed object is not found with your XPath/CSS selector. Check this in debugger.

     

    • nastester's avatar
      nastester
      Regular Contributor

      I attached the object spy. It seems like it is found.