Re: accessibility ID in the locator strategy

10 views
Skip to first unread message

Amit Bhoraniya

unread,
Aug 7, 2024, 2:36:24 AM8/7/24
to qaf-...@googlegroups.com
Hi Ajay,

I hope it's not because of a type error. In both locators, spellings are different.

locator = "accessibility id=Strat"
startup.screen.start.button = {'locator':'accessibility id=Start','desc':'start button'}

Thanks,
Amit Bhoraniya

On Thu, Jul 25, 2024 at 11:13 AM Ajay kumar <ajayf...@gmail.com> wrote:
  Hi,

   I'm facing an issue with accessibility ID in the locator strategy, could you please help here.

 when I use it directly as @findby element it is working as expected

  @FindBy(locator = "accessibility id=Strat")
  private QAFWebElement start_button;

but when I pass from the locator repository using the locator strategy it is not working.

  @FindBy(locator = "startup.screen.start.button")
  private QAFWebElement start_button;

startup.screen.start.button = {'locator':'accessibility id=Start','desc':'start button'}

Is there anything I need to correct in the locator strategy?


Thanks,
Ajay

--
You received this message because you are subscribed to the Google Groups "qaf users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qaf-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qaf-users/b67c432b-c483-46a2-8767-639be254e400n%40googlegroups.com.

Ajay kumar

unread,
Aug 7, 2024, 7:32:31 AM8/7/24
to qaf-...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages